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:
The following error is produced when the script is run through IDLE:
File "/home/dauser/Desktop/testsnack.py", line 7, in -toplevel-
tkSnack.initial izeSnack(root)
File "/usr/lib/python2.4/site-packages/tkSnack.py", line 23, in initializeSnack
Tkroot.tk.call( 'snack::setUseO ldObjAPI')
TclError: invalid command name "snack::setUseO ldObjAPI"
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.
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:
Code:
#!/usr/bin/env python
from Tkinter import *
root = Tk()
import tkSnack
tkSnack.initializeSnack(root)
mysnd = tkSnack.Sound()
mysnd.read('/home/dauser/Desktop/test.wav')
mysnd.play()
File "/home/dauser/Desktop/testsnack.py", line 7, in -toplevel-
tkSnack.initial izeSnack(root)
File "/usr/lib/python2.4/site-packages/tkSnack.py", line 23, in initializeSnack
Tkroot.tk.call( 'snack::setUseO ldObjAPI')
TclError: invalid command name "snack::setUseO ldObjAPI"
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.
Comment