On Jan 22, 2008 11:35 PM, Alex Holkner <[EMAIL PROTECTED]> wrote:
>
> 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).

Ok...where's the test suite?  I couldn't find it on pyglet.org.

> >
> > 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).

I couldn't find an AVbin.dylib on either the G3 or the Intel iMac.

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

(After the 1.0 installer on the Intel iMac...)

$ ls -al 
/Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/site-packages/
total 8
drwxrwxr-x     3 root  admin    102 Apr 18  2007 .
drwxrwxr-x   598 root  admin  20332 Jan 22 21:21 ..
-rw-rw-r--     1 root  admin    119 Apr 18  2007 README


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

>>> for p in sys.path:
...     print p
...

/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages

=+=+=+=+=+=+=+=

(At this point I installed the 1.0.1 installer on the Intel iMac...)

Now pyglet shows up:

$ ls 
/Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/site-packages/
README                          pyglet
pyglet-1.0.1-py2.5.egg-info

But AVbin.dylib still hasn't, and sound doesn't work:

$ ./chooser.py
Couldn't load a sound!  Not a WAVE file
Couldn't load a sound!  Not a WAVE file

It appears to me that on the Intel iMac running Tiger, the 1.0
installer simply didn't install anything, while the 1.0.1 installer
successfully installed pyglet itself, but not AVbin.  The 1.0.1
installer apparently didn't install AVbin on the G3 iMac either.  What
should I try now?

Thanks for all the suggestions so far.  Sorry I haven't been the
quickest to respond to the emails...my office has been moving across
the city to a new location this last week.

~ Nathan

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