Fixed in trunk already
On Apr 17, 2013 10:48 PM, "Adam Steele" <[email protected]> wrote:
> Hello,
>
> I'm running Pyglet 1.2alpha, python 3.3, windows 7 (x64)
>
> when I try to call pyglet.resource.media('filename'), for instance in the
> 'noisy.py' example, I get the exception shown below
>
> I know that the base exceptions generally don't have a message attribute
> in python 3.x, so there is some correction needs to be made to lib.py, but
> I am not adept at python or knowledgeable enough in pyglet to suggest a
> fix.
>
> Any suggestions?
>
> Traceback (most recent call last):
> File "C:\Users\ADAM\workspace\MyGame\src\gl_examples\textures\balls.py",
> line 26, in <module>
> sound = pyglet.resource.media(BALL_SOUND, streaming=False)
> File "C:\Python33\lib\site-packages\pyglet\resource.py", line 610, in
> media
> return media.load(path, streaming=streaming)
> File "C:\Python33\lib\site-packages\pyglet\__init__.py", line 338, in
> __getattr__
> __import__(import_name)
> File "C:\Python33\lib\site-packages\pyglet\media\__init__.py", line
> 1469, in <module>
> from . import avbin
> File "C:\Python33\lib\site-packages\pyglet\media\avbin.py", line 64, in
> <module>
> darwin='/usr/local/lib/libavbin.dylib')
> File "C:\Python33\lib\site-packages\pyglet\lib.py", line 118, in
> load_library
> if ((self.linux_not_found_error not in o.message) and
> AttributeError: 'OSError' object has no attribute 'message'
>
> --
> 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 http://groups.google.com/group/pyglet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
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 http://groups.google.com/group/pyglet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.