qbektrix / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

simpleui 1..0.4 fails with 1.1 maintenace #448

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download and unpack simpleui ; no need to install
2. run demo.py
3.

Paste in the traceback or error message:
Traceback (most recent call last):
File "demo.py", line 15, in <module>
themes = [Theme('themes/macos'), Theme('themes/pywidget')]
File "D:\tmp\simplui-1.0.4\simplui\theme.py", line 62, in __init__
temp[k2] = NinePatch( image.get_region(*v2) )
File "D:\tmp\simplui-1.0.4\simplui\ninepatch.py", line 178, in __init__
_, _, _) = self.texture.tex_coords
AttributeError: 'NoneType' object has no attribute 'tex_coords'

Any additional info (platform/language/hardware) that may be relevant?
windows xp, python 2.6, pyglet branch 1.1 maintenance r 2514

Additional info:
Replacing pyglet.images.__init__.py with the one in pyglet 1.1.3 release 
eliminates the problem.
I will try to narrow further the problem

Original issue reported on code.google.com by ccanepacc@gmail.com on 21 Aug 2009 at 3:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed in r2515

Original comment by andreas....@gmail.com on 21 Aug 2009 at 3:25