python-pyglet import failure breaks pydoc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pyglet |
Unknown
|
Unknown
|
|||
pyglet (Debian) |
New
|
Undecided
|
Unassigned | ||
pyglet (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-pyglet
$ pydoc -k rmtree
Traceback (most recent call last):
File "/usr/bin/pydoc", line 5, in <module>
pydoc.cli()
File "/usr/lib/
apropos(val)
File "/usr/lib/
ModuleScann
File "/usr/lib/
for importer, modname, ispkg in pkgutil.
File "/usr/lib/
for item in walk_packages(path, name+'.', onerror):
File "/usr/lib/
for item in walk_packages(path, name+'.', onerror):
File "/usr/lib/
for item in walk_packages(path, name+'.', onerror):
File "/usr/lib/
__import_
File "/var/lib/
from pyglet.
File "/var/lib/
lib = ctypes.
AttributeError: 'module' object has no attribute 'oledll'
AL lib: ALc.c:1302: exit() 1 device(s) and 1 context(s) NOT deleted
Ubuntu release: current Jaunty
Package version:
$ apt-cache policy python-pyglet
python-pyglet:
Installed: 1.1.2.dfsg-1
Candidate: 1.1.2.dfsg-1
Version table:
*** 1.1.2.dfsg-1 0
500 http://
100 /var/lib/
$ apt-cache policy python
python:
Installed: 2.5.4-0ubuntu3
Candidate: 2.5.4-0ubuntu3
Version table:
*** 2.5.4-0ubuntu3 0
500 http://
100 /var/lib/
Hi,
I just had a look at that and it seems like a valid bug report to me. Obviously importing directsound will not work on GNU/Linux.
I will try getting into touch with upstream on this issue. However, as a short-term solution I am thinking to either remove that code from the package for now or disabling it somehow.
-- Stephan
PS: This means I will try to fix this problem in Debian and then get it added to Ubuntu at some point.