Just to clarify... I do not get this error when using cpython. only with 
pypy. pypy is supposed to support pyglet?

On Sunday, February 28, 2016 at 11:20:12 AM UTC, Salvakiya wrote:
>
> why am I getting this error?
>
> Traceback (most recent call last):
>   File "C:/Users/Salvakiya/PycharmProjects/OpenGLTest/test.py", line 12, 
> in <module>
>     anim = pyglet.resource.image("SoldierUS.png")
>   File "D:\pypy\site-packages\pyglet\resource.py", line 529, in image
>     atlas=atlas)
>   File "D:\pypy\site-packages\pyglet\resource.py", line 460, in 
> _alloc_image
>     img = pyglet.image.load(name, file=file)
>   File "D:\pypy\site-packages\pyglet\image\__init__.py", line 193, in load
>     image = decoder.decode(file, filename)
>   File "D:\pypy\site-packages\pyglet\image\codecs\gdiplus.py", line 277, 
> in decode
>     self._delete_bitmap(bitmap)
>   File "D:\pypy\site-packages\pyglet\image\codecs\gdiplus.py", line 272, 
> in _delete_bitmap
>     self.stream.Release()
>   File "D:\pypy\site-packages\pyglet\com.py", line 125, in <lambda>
>     self.method.get_field()(self.i, self.name)(obj, *args)
>   File "D:\pypy\lib_pypy\_ctypes\function.py", line 345, in __call__
>     newargs.insert(0, thisvalue.value)
> AttributeError: 'IUnknown' object has no attribute 'value'
>
> the only way I can actually load images into my application is if I do 
> pyglet.image.load and manually set the decoder.
>
> this is very annoying =( I am on windows 10 using pypy for python 2.7 
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to