beproudstandupcom / pyglet

Automatically exported from code.google.com/p/pyglet
0 stars 0 forks source link

AttributeError while running tests on Windows XP with SVN r1050 #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It looks like pyglet\image\codecs\gdkpixbuf2.py doesn't import pyglet.lib
PYTHONPATH is set to .

C:\Documents and Settings\User\My Documents\pyglet>c:\Python25\python.exe 
tests\test.py
Traceback (most recent call last):
  File "tests\test.py", line 176, in <module>
    import tests.regression
  File "C:\Documents and Settings\User\My 
Documents\pyglet\tests\regression\__init__.py", line 11, in <module>
    from pyglet.image import get_buffer_manager
  File "C:\Documents and Settings\User\My 
Documents\pyglet\pyglet\image\__init__.py", line 1945, in <module>
    _codecs.add_default_image_codecs()
  File "C:\Documents and Settings\User\My 
Documents\pyglet\pyglet\image\codecs\__init__.py", line 174, in 
add_default_image_codecs
    import pyglet.image.codecs.gdkpixbuf2
  File "C:\Documents and Settings\User\My 
Documents\pyglet\pyglet\image\codecs\gdkpixbuf2.py", line 50, in <module>
    gdk = pyglet.lib.load_library('gdk-x11-2.0')
AttributeError: 'module' object has no attribute 'lib'

Original issue reported on code.google.com by Bonf...@gmail.com on 18 Jul 2007 at 10:51

GoogleCodeExporter commented 9 years ago
At least someone's paying attention, cheers.  Fixed (untested) in r1053.

Original comment by Alex.Hol...@gmail.com on 18 Jul 2007 at 1:33