[Pythonmac-SIG] Printing Patch
Thu, 30 Sep 1999 12:59:55 -0400
At 08:09 -0700 09/30/1999, Joseph J. Strout wrote:
>>1. At some point, I believe that it starts looking for :Mac:Tools:
>>FontSettings.pyc and since this wasn't part of my path when I
>>originally compiled all, I didn't have a .pyc.
>Wait. My patch certainly doesn't look for this... it must be when
>you ran BuildIDE.py? But this doesn't need any .pyc's; it
>automatically recompiles from the .py files. Do you still have the
>traceback it generated?
Yes, I think it occurred during BuildIDE.py and, no, I didn't save
the traceback. If I ran BuildIDE.pyc, would this cause it to want
.pyc files (I might have done that)?
>>I added the directory and ran compileall.py again, but then I ran
>>into problems because it started trying to find things in
>>:Mac:Tools:Mac:Tools:, so I had to remove :Mac:Tools: from my path
>>to make it happy.
>Hmm... FWIW, I've never run compileall.py, nor did I change the
>default path. I'm at a loss to explain the problems you saw here.
The pathing variable is set to:
basePath = string.join(string.split(sys.path,':')[:-1],':') +
So if :Mac:Tools:IDE: is already in the sys.path, it gets confused
(it wouldn't have been an issue except for the gymnastics under #1,
>>3. I figured it out on my own, but you might want to mention in the
>>instructions that the patched PythonIDE.py script still needs to be
>>dropped on BuildApplet to actually get things ready to run normally.
>Hmm, no, I never had to do this. I just quit the IDE, double-click
>BuildIDE.py, and it rebuilds the PythonIDE applet for me. Did you
>do this step? If not, it could explain both problems 1 and 3.
I did do this, but just wound up with PythonIDE.py. Again I might
have run BuildIDE.pyc if that makes any difference.
Gordon Consulting & Design
Database Design/Scripting Languages