First, change OSError, o to OSError as o. And put brackets around the string next to print. And yes, message should be changed to strerror. Second, start checking the scripts in the pyglet.media directory, there is a line that has something like 'usr/lib/bin/', change it to 'C:/WINDOWS/system32/' and then paste your avbin.dll file there, i know this is not direct, but try, i'll post the name of the script, line number, exact string when i find out what it is(i forgot it, it's been a long time since i did that to mine)
Kalanosh C wrote: > Not very good at bug reports and all that but here is something I found > out, maybe you all can help reproduce it so someone can submit it. > > First when you install 1.2 alpha and have python 3.3 or 3.2 you can't play > .wav without AVbin, also the avbin.dll also has to be added to your working > directory or pythn installation folder. Also under lib.py there is a code > block: > > except OSError, o: > > if ((self.linux_not_found_error not in o.message) and > > (self.darwin_not_found_error not in o.message)): > > print "Unexpected error loading library %s: %s" % > > (name, o.message) > > > except i think in Python 3 OSError.message doesn't exsist. It's strerror > so I think it should be > > > except OSError, o: > if ((self.linux_not_found_error not in o.strerror) and > (self.darwin_not_found_error not in o.strerror)): > print "Unexpected error loading library %s: %s" % > (name, o.strerror) -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
