On Jan 23, 2008 3:30 PM, Nathan <[EMAIL PROTECTED]> wrote:
> Ok, this is sooo weird.
>
> First, on my children's G3 iMac running Tiger, I installed pyglet
> 1.0.1 with the new installer.  It seems to have properly detected the
> versions of python installed this time (see Picture 3.png attached).
> Yay!
>
> Second, I tried running the little game I made for my toddler called
> "chooser", and the graphics are totally wacky!  Instead of four
> colored squares with numbers superimposed on them, I got random bits
> of the screen upside-down and backwords and messed up, with numbers
> kinda-sorta superimposed on them (see Picture 4.png attached), though
> the sidebar pretty much drew correctly.

Now would be a good time to download and run the test suite on that
computer (it's included in the documentation download).  It's quite
time-consuming, I'm afraid, but is your best bet of isolating the
problem (almost certainly a pyglet bug related to that graphics card).

>
> Third, sound failed to play with the message "Couldn't load a sound!
> Not a WAVE file" (see Picture 5.png attached).  The sound files are
> .ogg files, so the error message is sort of correct, but I installed
> AVbin with the 1.0.1 installer (I think--I mean it was checked but I
> don't know where to look to verify it really installed).

Look for AVbin.dylib (in /usr/lib, from memory).

>
> Regarding the graphics anomolies, I have no idea if this makes any
> difference at all, but I've noticed people talking about the naming
> conflict between libGL.dylib for X11 vs the library of the same name
> that belongs to OS X proper (I'm on the apple-x11 mailing list), so I
> included a screenshot of the listing of all instances of that library
> just in case that may have anything to do with it.  (see Picture 6.png
> attached).

I don't think this is relevant; pyglet looks for and uses
OpenGL.framework, not the dylib.

>
> Finally, I tried the "same" process on my wife's 20" white Intel iMac
> running Tiger, and though the installation seemed to go fine, pyglet
> isn't found afterwards.  The process was: 1) Download and install the
> MacPython installer from python.org for 2.5.1, 2) Install pyglet
> 1.0.1, 3) Try to import pyglet:
>
> $ which python
> /Library/Frameworks/Python.framework/Versions/Current/bin/python
>
> $ python
> Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
> [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyglet
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named pyglet
>
>
> What should I do from this point?

Check for the existence of and permissions on
/Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/site-packages/pyglet

and the existence of that site-packages path in sys.path.

Alex.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to