[Pythonmac-SIG] Upgraded to 2.4 and can't make it work

Kent Quirk kquirk at solidworks.com
Thu May 26 06:48:05 CEST 2005


Sadly, that was one of the first things we tried. We've done a full
clean build several times and checked the .xcode project files to make
sure there were no references to the old python anywhere. 

And as I said, the extension as stored in the .app loads properly
everywhere but from the executable within the app. 

Any other ideas?

	Kent

-----Original Message-----
From: Bob Ippolito [mailto:bob at redivi.com] 
Sent: Wednesday, May 25, 2005 11:42 PM
To: Kent Quirk
Cc: pythonmac-sig at python.org
Subject: Re: [Pythonmac-SIG] Upgraded to 2.4 and can't make it work


On May 25, 2005, at 8:18 PM, Kent Quirk wrote:

> Just because this is really trouble for me, and I'm hoping to get  
> some ideas, I'm going to update with some of the other things we've  
> tried today:
>
> a) I updated py2app from svn and rebuilt it on this machine using
>     python2.4 setup.py bdist-mpkg --open
> Just to make sure it was compatible with the python2.4 I have here.
>
> b) We replaced our app's primary .py file with one that does  
> nothing but import our first extension. It broke (thereby  
> confirming that we're not setting up things funny in our .py file).
>
> c) I added some import statements for standard python modules:
>
> import os
> import sys
> import time
> print "hello"
> import util                  # one of our extensions
>
> It got through the first 4 lines and crashed on the last one.

Trash your extension and rebuild it against the new python.

-bob



More information about the Pythonmac-SIG mailing list