[Edu-sig] Snack question
billwinn at u.washington.edu
billwinn at u.washington.edu
Thu Jul 22 02:47:25 CEST 2004
I'm a novice Python programmer who wants to use Snatch. I have everything installed correctly as far as I can tell. But when I try to play something I get an error that says I failed to set the number of channels. Here's what I get:
>>> from Tkinter import *
>>> root = Tk()
>>> import tkSnack
>>> tkSnack.initializeSnack(root)
>>> snd=tkSnack.Sound()
>>> snd.read('/usr/games/chromium/data/wav/music_game.wav')
>>> snd.play()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/site-packages/tkSnack.py", line 277, in play
self.tk.call((self.name, 'play') + self._options(kw))
TclError: Failed setting number of channels.
Any help will be most welcome.
Thanks,
Bil
***************************************************************
* William Winn, *
* 412 Miller, College of Education, Box 353600, *
* University of Washington, Seattle, WA, 98195, USA. *
* 206 685-1185, FAX 206 543-8439, billwinn at u.washington.edu *
***************************************************************
More information about the Edu-sig
mailing list