[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Re: problems loading
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Re: problems loading
- From: "Larry Keber" <lakkal@xxxxxxxxx>
- Date: Sun, 26 Feb 2006 13:51:15 -0600
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sun, 26 Feb 2006 14:51:18 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Rj30YHDoALkbDA6NdEgMaRED/lHUNGTcV6uZD6R6dSrHwyFehR0uhgxcfRFyoEP1QfHL9kHS5wr25stMdPbnTpZhcmz8lzMnS757NFhNbPbqJlqXA49HHQLQqzehsUFH2eqxNpI2WKtA1av3f79OnZTYsou+nAempzlqkxdg2KA=
- In-reply-to: <200602261850.k1QIo9WR031037@theraft.strakt.com>
- References: <200602261850.k1QIo9WR031037@theraft.strakt.com>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I've gone as far as doing "chmod -R +rx *" in /Library/Frameworks, and /usr/local/lib. I agree that it really, really looks like a permissions problem, but if it were, I'd think that lsof wouldn't tell me:
Mithril:/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages root# lsof | grep image
python2.4 7916 lak txt VREG 14,2 26968 511423 /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/pygame/image.so
python2.4 7916 lak txt VREG 14,2 9140 511424 /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/pygame/imageext.so
python2.4 7916 lak txt VREG 14,2 1183600 507758 /Library/Frameworks/SDL_image.framework/Versions/A/SDL_image
This is while running python as user "lak" (me), importing pygame and checking the return value of pygame.image.get_extended() (which is 0). imageext.so is the part of pygame containing load_extended, which loads non-BMP formats via SDL_image. I would think that if there were a permissions problem,
imageext.so wouldn't have been loadable.
In response Bob and Andrew, I just updated PIL to 1.1.5, and doble-checked that the image files were readable. No luck :-(.
Larry
On 2/26/06, Laura Creighton <lac@xxxxxxxxxx> wrote:
If things work as root, but not as a normal user, I would check to
see that the permissions on the files, and the directories all the way
up to the root allow access.
Just an idea, I have not seen this behaviour myself,
Laura