python-openal gives initialization error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyopenal (Debian) |
Fix Released
|
Unknown
|
|||
pyopenal (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-openal
In python-openal 0.1.6-4build1 pyopenal.init() doesn't raise any exception, but the subsequent pyopenal.Listener() gives the following traceback on Ubuntu Intrepid 8.10:
Traceback (most recent call last):
File "demo.py", line 6, in <module>
l = pyopenal.
RuntimeError: no device opened
The problem is best demonstrated on the demo.py application shipped in the package but other applications are affected as well. It doesn't look like an audio device blockage problem as aplay works well in the same settings. It is also likely not openal problem as ''mplayer -ao openal'' works as expected.
The same code (client side) used to work on Ubuntu Hardy. I don't know however if the python-openal package itself didn't change since then.
Changed in pyopenal: | |
status: | Unknown → New |
Changed in pyopenal (Debian): | |
status: | New → Fix Released |
Use "pyopenal. init(None) " instead of "pyopenal.init()".
That fixes the problem for me.