Re: [Pythonmac-SIG] PyObjC ScreenSaver on 10.7

2012-12-27 Thread Ronald Oussoren
On 27 Dec, 2012, at 7:57, Ronald Oussoren wrote: > > BTW. This might explain why the Screen Saver example works for me, but not > for you: Apple is clearly moving away from GC and I'm running a newer OS > release where Apple might have migrated the Screen Saver engine back to > manual referen

Re: [Pythonmac-SIG] PyObjC ScreenSaver on 10.7

2012-12-27 Thread Ronald Oussoren
On 26 Dec, 2012, at 21:01, "Berg, Stuart" wrote: > One more note. I came across this link yesterday: > http://developer.apple.com/library/mac/#qa/qa1666/_index.html > > How do I make sure that the ScreenSaver bundle I've created with py2app uses > the correct garbage collection setting? Is t

Re: [Pythonmac-SIG] PyObjC ScreenSaver on 10.7

2012-12-26 Thread Berg, Stuart
Hi Ronald, Still trying to crack this nut…. If I open the screensaver from the command line using the System Preferences app, I get this error. It doesn't seem to happen with other screensavers (e.g. if I build the original (objective-c) SillyBalls screensaver, there are no errors. $ /Applic

Re: [Pythonmac-SIG] PyObjC ScreenSaver on 10.7

2012-12-26 Thread Berg, Stuart
One more note. I came across this link yesterday: http://developer.apple.com/library/mac/#qa/qa1666/_index.html How do I make sure that the ScreenSaver bundle I've created with py2app uses the correct garbage collection setting? Is there a way to specify GCC_ENABLE_OBJC_GC=required from setup.

Re: [Pythonmac-SIG] PyObjC ScreenSaver on 10.7

2012-12-26 Thread Berg, Stuart
Hi Ronald, > The screensaver framework should work just fine, but only if the bundle > contains 64-bit code. > > What is the output of 'file SillyBalls.saver/Contents/MacOS/SillyBalls' ? I have two versions of python, so I'll try this twice. First with the built-in version: $ which python /us

Re: [Pythonmac-SIG] PyObjC ScreenSaver on 10.7

2012-12-26 Thread Ronald Oussoren
On 26 Dec, 2012, at 5:33, "Berg, Stuart" wrote: > Greetings, > > I'm new to PyObjC, but it looks great. I can run basic examples, but the > ScreenSaver example in the docs doesn't seem to work on 10.7: > http://packages.python.org/pyobjc/examples/ScreenSaver/SillyBallsSaver/index.html > > So

[Pythonmac-SIG] PyObjC ScreenSaver on 10.7

2012-12-25 Thread Berg, Stuart
Greetings, I'm new to PyObjC, but it looks great. I can run basic examples, but the ScreenSaver example in the docs doesn't seem to work on 10.7: http://packages.python.org/pyobjc/examples/ScreenSaver/SillyBallsSaver/index.html Someone on stack overflow seems to be having the same trouble as me