Hi,
On 09.05.04, Les Ferguson wrote:
Hi, I have installed a light openBSD system on an old Pentium-100, with python 2.3 and mpg321 which manages to play mp3's on this tired old hardware. I don't want to install any more than I have to, but I cannot get PyTone to work without python-oss, which you list as being optional, if the mixer is used.
Indeed, python-oss should be optional, if the mixer is _not_ used.
I have cleared the device setting in the mixer section of /etc/pytonerc, and set the player type to mpg123. PyTone still tries to import the mixer and oss:
Traceback (most recent call last): File "/usr/local/share/PyTone-2.0.12/src/pytone.py", line 52, in ? import mainscreen File "/usr/local/share/PyTone-2.0.12/src/mainscreen.py", line 31, in ? import mixerwin File "/usr/local/share/PyTone-2.0.12/src/mixerwin.py", line 63, in ? import oss ImportError: No module named oss
This really seems to be a bug introduced at some point when I've rewritten the mainscreen module. A workaround is to just delete the "import mixerwin" line (line 31) in /usr/local/share/PyTone-2.0.12/src/mainscreen.py .
Otherwise, this will be fixed in the next version. However, you probably have to wait a little while until this release comes out, since I very recently moved to a different city. Unfortunately, I'm still only online in my office and not at home.
Joerg