Problem with Piddle Plotting on Mac (OS9.1). Help.
Lou Pecora
pecora at anvil.nrl.navy.mil
Tue May 8 16:16:37 EDT 2001
I have installed Python 2.1 and its own self tests are fine (running
MacOS 9.1 on a G4). I am now testing the drawing routines in the
package Piddle by running piddletest.py . This worked under Python
1.52, but I now get the error message:
Traceback (most recent call last):
File "Drive:Applications :Python 2.1 :*piddle:piddletest.py", line
395, in ?
mainLoop()
File "Drive:Applications :Python 2.1 :*piddle:piddletest.py", line
372, in mainLoop
docstr = __import__(backends[backend]).__doc__
File "Drive:Applications :Python 2.1 :*piddle:piddleQD.py", line
45, in ?
import W
File "drive:applications :python 2.1 :mac:tools:ide:W.py", line 5,
in ?
from Wbase import *
File "drive:applications :python 2.1 :mac:tools:ide:Wbase.py", line
706, in ?
_cursors = {
Mac OS Error: (-192, 'Resource not found')
The offending code is in Wbase.py :
_cursors = {
"watch" : Qd.GetCursor(QuickDraw.watchCursor).data,
"arrow" : Qd.qd.arrow,
"iBeam" : Qd.GetCursor(QuickDraw.iBeamCursor).data,
"cross" : Qd.GetCursor(QuickDraw.crossCursor).data,
"plus" : Qd.GetCursor(QuickDraw.plusCursor).data,
"hand" : Qd.GetCursor(468).data,
"fist" : Qd.GetCursor(469).data,
"hmover" : Qd.GetCursor(470).data,
"vmover" : Qd.GetCursor(471).data,
"zoomin" : Qd.GetCursor(472).data,
"zoomout" : Qd.GetCursor(473).data,
"zoom" : Qd.GetCursor(474).data,
}
I'm guessing one of the Qd. calls is the problem, but I have no idea
which one. Does anyone know what the trouble is? Is there a fix?
Thanks for any help.
More information about the Python-list
mailing list