473,386 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

fedora tkSnack error - "snack::setUseOldObjAPI"

Hello,

I would like to use tkSnack through python to manipulate sounds on my fedora 4 system, but I am unable to get the following basic script to run:

Expand|Select|Wrap|Line Numbers
  1. #!/usr/bin/env python
  2.  
  3. from Tkinter import *
  4. root = Tk()
  5.  
  6. import tkSnack
  7. tkSnack.initializeSnack(root)
  8.  
  9. mysnd = tkSnack.Sound()
  10.  
  11. mysnd.read('/home/dauser/Desktop/test.wav')
  12.  
  13. mysnd.play()
  14.  
The following error is produced when the script is run through IDLE:

File "/home/dauser/Desktop/testsnack.py", line 7, in -toplevel-
tkSnack.initializeSnack(root)
File "/usr/lib/python2.4/site-packages/tkSnack.py", line 23, in initializeSnack
Tkroot.tk.call('snack::setUseOldObjAPI')
TclError: invalid command name "snack::setUseOldObjAPI"

The same error occurs when I try to run any of the snack demo python scripts in the 'demos' folder.

I installed snack using the snack2.2.9.tar.gz tarball.

Any help will be appreciated. Thanks.
Nov 13 '05 #1
2 3309
elgreg
3
Did you ever get this solved? I'm having the same error on Mac OS X and just trying to figure out if I screwed up the installation somewhere.
Apr 21 '07 #2
elgreg
3
FYI - I think I solved this by downloading Active TCL and installing it (I also downloaded Active Python at the same time, but I think the real solution was getting all the TCL libraries on my machine). Again, I was on a Mac Book Pro running OS X 10.4.1 or so.
Apr 21 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: clusardi2k | last post by:
Hello, What can I do about these gcc Red Hat Linux errors. They are coming from the archive file. %gcc -I/usr/fltk -O2 -Wall -Wunused -fno-exceptions -I/usr/X11R6/include -o run main.o...
2
by: B_Love | last post by:
Hey! When trying to compile the code for a ordered vector class I get the following error: undefined reference to `WinMain@16' Anyone have any idea what I might be doing wrong? I've been...
4
by: s_4 | last post by:
Witam! Mam maly problem... to chyba juz wszyscy wiedza... :-) do rzeczy: 1. zrobilem maly projekt i wywala mi takie bledy jak w tytule (tylko takie) 2. kompilujac kazdy plik z osobna nie ma...
4
by: Mark | last post by:
Hi, I'm trying to write some classes that kind of manage themselves. A linked list, that links different types of objects. Here's the code... object.h: --- class Object { int alt;
1
by: Oliver Bleckmann | last post by:
Damn, what's wrong here? CGI cgi; map<string,stringcgiParam = cgi.analyseCgiParam(); cout << cgiParam << endl; cout << cgiParam << endl; /////////////////////// #include <iostream>
0
by: Ehsan68 | last post by:
Hello my problem is "Linker Error: Undefined symbol _cga_driver_far in module maze.c " then Go to Options =>Linker =>Libraries This will display a box showing Container Class Turbo...
3
by: prakash.mirji | last post by:
Hello, I am getting below mention linker error when I tried to link my class test.C I use below command to compile test.C /usr/bin/g++ -g -fpic -fvisibility=default -D_POSIX_SOURCE...
2
by: kumarsatish | last post by:
The following C program in Turbo C is given the following error " Linker error:-Undefined Symbol _insert_point" #include<stdio.h> #include<conio.h> #define NULL 0 struct list_node
6
by: Ed Dana | last post by:
I'm trying to create a dynamic two dimensional array. My code looks like this: ====================================================================== #define DEF_FrameBuffer_H class FrameBuffer...
4
by: sanketiiit | last post by:
ERROR: Bloodshed Dev c++ undefined reference to cpu_features_init Perfect Solution to this error. If ( Installed MinGW ) then: 1. Uninstall MinGW 2. Delete manually MinGW Folder...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.