[Pythonmac-SIG] Newbie troubles

Mundial82 mundial82 at gmail.com
Fri Mar 2 15:06:20 CET 2007


Hi,

I'm a newbie in using Python in the Mac, and I am having some  
troubles with Pygame.
I am running Python 2.4.3 on a MacBook Pro, and I have installed  
pygame-1.8.0pre-py2.4. Nevertheless, at the time of running the  
examples that are bundled with Pygame, they don't run. These are two  
examples of crash reports:
- Trying to run the bundled testsprite.py:
2007-03-02 15:02:43.326 Python[690] Can't open input server /Library/ 
InputManagers/Smart Crash Reports.bundle
Traceback (most recent call last):
   File "/Developer/Python/pygame/Examples/testsprite.py", line 167,  
in ?
     main()
   File "/Developer/Python/pygame/Examples/testsprite.py", line 102,  
in main
     sprite_surface = pygame.image.load(os.path.join("data",  
"asprite.bmp"))
pygame.error: Couldn't open data/asprite.bmp

- And trying to run sound.py:
Traceback (most recent call last):
   File "/Developer/Python/pygame/Examples/sound.py", line 20, in ?
     sound = mixer.Sound(file)
pygame.error: Mix_LoadWAV_RW with NULL src

I guess there is a problem with the path, but I am not sure - any  
help is welcome (and the more detailed the explanation, the better -  
I really want to learn to set up and use python and pygame in my mac).

Thanks a bunch!

Mundial82
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20070302/224c102f/attachment.htm 


More information about the Pythonmac-SIG mailing list