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
Original issue reported on code.google.com by
ccanepacc@gmail.com
on 21 Aug 2009 at 3:08