[visionegg] [VisionEgg]: macosx module in pygame not available
- From: Mark Tovey <getmark@xxxxxxxxxxxx>
- To: "visionegg@xxxxxxxxxxxxx" <visionegg@xxxxxxxxxxxxx>
- Date: Sat, 15 Nov 2003 16:27:49 -0500
Hi Andrew,
I thought I had this problem beat, but for some reason it came back again.
I've mysteriously lost the ability to turn off the menu bar with two
screens, because I no longer seem to be able to access the macosx module in
pygame.
The error I get is the following:
File "controlprotocol2.py", line 65, in ?
pygame.macosx.app.mainMenu().setMenuBarVisible_(False)
AttributeError: 'module' object has no attribute 'macosx'
warning: use func(*args, **kwargs) instead of apply(func, args, kwargs)
I've spent several hours of head-scratching on this one, and I'm stumped.
The thing I can think of is that I recently updated to MacOS 10.2.8 (I'm
still running 0.93 of VisionEgg for code compatibility).
I reconfirmed in the package manager that I've got the latest version of
pygame (pygame-1.5.6-binary) installed. I've also reconfirmed that I'm
using the SDL framework you sent me.
My
/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-package
s/pygame
looks like the following:
__init__.py image.so pygame_icon.tiff
__init__.pyc imageext.so rect.so
__init__.py~ joystick.so rwobject.so
base.so key.so sndarray.so
cdrom.so locals.py sprite.py
constants.so locals.pyc sprite.pyc
cursors.py mixer.so surface.so
cursors.pyc mixer_music.so surfarray.so
display.so mouse.so surflock.so
draw.so movie.so time.so
event.so pygame.ico transform.so
font.so pygame_icon.bmp version.py
freesansbold.ttf pygame_icon.icns version.pyc
Should there be a macosx module in this directory that I've somehow
eliminated, or do you have any other ideas of what I might do to reinstate
this library?
Thanks for any thoughts you might have!
Mark
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
- Follow-Ups:
- [visionegg] Re: [VisionEgg]: macosx module in pygame not available
- From: Andrew Straw
Other related posts:
- » [visionegg] [VisionEgg]: macosx module in pygame not available
- » [visionegg] Re: [VisionEgg]: macosx module in pygame not available
- [visionegg] Re: [VisionEgg]: macosx module in pygame not available
- From: Andrew Straw