[Pythonmac-SIG] How to use pythonw on Mac OS X
To whom it may concern: I'm hoping you can help me. I recently purchased a screensaver called Paper Pilots. When I tried to install it, a message popped up that said, This program needs access to the screen. Please run with 'pythonw',. Can anyone help me? I'm not sure what I need to do next. How do I run the screen saver with pythonw? Thanks a lot for any help, Sam ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] How to use pythonw on Mac OS X
Hi Samantha, You should probably direct your query to the creators of the software you purchased... they're the most likely to be able to get this working for you as soon as possible: http://www.paperpilots.com/pp_contact.html Zach On Mar 14, 2009, at 2:07 PM, Samantha Bess wrote: To whom it may concern: I'm hoping you can help me. I recently purchased a screensaver called Paper Pilots. When I tried to install it, a message popped up that said, This program needs access to the screen. Please run with 'pythonw',. Can anyone help me? I'm not sure what I need to do next. How do I run the screen saver with pythonw? Thanks a lot for any help, Sam ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
Re: [Pythonmac-SIG] urllib2.urlopen fails in a forked daemon with a CoreFoundation error
You need to do an exec after doing a fork. /usr/bin/python on OS X is a framework build, and some (most?) of the OS X frameworks just don't work after doing a fork. You have to restart with an exec. It's hard to say just what is using CF; I see you're importing some external packages (json doesn't come with 2.5.1 on OS X), so it might be one of them, instead of urllib2. But it's probably the urllib module, which uses CF to call into the SystemConfiguration system on the Mac to look up proxies and such. It would make sense that the error is triggered just when you call urlopen(). Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig