[Pythonmac-SIG] another pyGame question

Bob Ippolito bob at redivi.com
Sun Jun 27 16:31:25 EDT 2004


On Jun 27, 2004, at 12:27 PM, thor wrote:

> I've been using PyGame quite extensively and everything has
> been fine there, (apart from not being able to use wxPython and
> PyGame together).
>
> Now, last week I installed the pyObjC library and tested it, but
> for some reason now, pyGame is not working. Also I installed
> the PyOXIDE and tested that. It worked fine for a while but not  
> anymore.
> (it won't start now).
>
> I don't know if it is related to the pyObjC or not.
>
> Here is what I get:
>
> Traceback (most recent call last):
>   File "/Volumes/quaziir/programming/python/  
> BUEXpython/_pygame/tompong/pong.py", line 510, in ?
>     main()
>   File "/Volumes/quaziir/programming/python/  
> BUEXpython/_pygame/tompong/pong.py", line 368, in main
>     pygame.init()
>   File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/site-packages/pygame/__init__.py", line 164, in init
>     import AppKit
>   File  
> "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
> python2.3/site-packages/PyObjC/AppKit/__init__.py", line 15, in ?
>     from _AppKit import *
> RuntimeError: Cannot rescan method table
> Pygame Parachute Traceback:
>
> Basically it is on
>
> pygame.init()
>
> that the program halts.
> It has something to do with AppKit, but I don't have a clue about this.
>
> Do you have any tips about what I could do?

rm -rf /Library/Python/2.3/PyObjC and install PyObjC 1.1 again, and  
make sure you're using the latest pygame as well.

-bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2357 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20040627/f479f7ba/smime.bin


More information about the Pythonmac-SIG mailing list