On 12-Oct-06, at 2:15 PM, Ronald Oussoren wrote: > What are you using to test? I've tested with the SillyBalls > screensaver in PyObjC's examples directory (Examples/Plugins/ > SillyBallsSaver).
I've been testing with my screensaver, Pastels, but I just tried with SillyBalls and it also failed to load. > I'm also using the SVN HEAD for altgraph, modulegraph and the other > related projects, I don't know if that helps. > If upgrading doesn't help, or the SillyBallsSaver example doesn't > work for you, I'd like to know loads of version information > (Python, PyObjC, py2app, altgraph, modulegraph, macholib) and the > exact error message you get in Console.app (close > SystemPreferences, open Console.app, use the Clear button, then > open a freshly build version of your saver or the SillyBals saver). macholib 1.1 modulegraph 0.7 altgraph 0.6.7 bdist_mpkg 0.4.2 Any others? Console output from opening SillyBalls: 'import site' failed; use -v for traceback Traceback (most recent call last): File "/Users/delza/Library/Screen Savers/SillyBalls.saver/Contents/ Resources/__boot__.py", line 7, in ? _disable_linecache() File "/Users/delza/Library/Screen Savers/SillyBalls.saver/Contents/ Resources/__boot__.py", line 2, in _disable_linecache import linecache ImportError: No module named linecache 2006-10-12 14:37:36.350 System Preferences[839] SillyBalls has encountered a fatal error, and will now terminate. 2006-10-12 14:37:36.350 System Preferences[839] An uncaught exception was raised during execution of the main script: ImportError: No module named linecache This may mean that an unexpected error has occurred, or that you do not have all of the dependencies for this bundle. 2006-10-12 14:37:36.350 System Preferences[839] ScreenSaverModules: can't get principalClass for /Users/delza/Library/Screen Savers/ SillyBalls.saver > Also make sure you stop SystemPreferences when you want to test a > new build of a screensaver, otherwise SystemPreferences doesn't > always pick up the new version (or rather almost never). I've been deleting old versions from ~/Library/Screen Savers/ (which is where I've been installing them), which seems to get my updates picked up OK. > Ronald Thanks for the help! --Dethe "The real trouble with this world of ours is not that it is an unreasonable world, nor even that it is a reasonable one. The commonest kind of trouble is that it is nearly reasonable, but not quite. Life is not an illogicality; yet it is a trap for logicians. It looks just a little more mathematical and regular than it is; its exactitude is obvious, but its inexactitude is hidden; its wildness lies in wait." --G.K. Chesterton _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig