473,320 Members | 1,867 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,320 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 3306
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.