Re: [Pyobjc-dev] ScreenSaver Example
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-11-04 10:39:34
|
On 4 nov 2003, at 11:33, Dinu Gherman wrote: > > The console says the following: > > 2003-11-04 11:27:00.027 System Preferences[2254] can't get > principalClass for /Users/dinu/Library/Screen Savers/SillyBalls.saver > loading python screen saver > Traceback (most recent call last): > File "/Users/dinu/Library/Screen > Savers/SillyBalls.saver/Contents/Resources/SillyBalls.py", line 6, in > ? > from AppKit import NSMakePoint, NSMakeRect, NSBezierPath, NSColor > ImportError: No module named AppKit > > Is the above a general problem with bundles that has been solved for > 10.3 or is the lower part just a bug? Did you use MacPython? You must use MacPython (or another framework install) to use Python based screensavers (and other plugin bundles). Ronald |