hari jayaram wrote:
1) The app is 73 M big , so it looks quite beefy
(http://gridzilla.s3.amazonaws.com/demo-gzilla.dmg)

yup, then it is bundling up everything (or trying to anyway!)

2) As Chris mentioned , the app seems to be looking for _core_.so for
the wxpython in the wrong place. I am seeing that in the following
location under my app
Contents/Resources/lib/python2.6/lib-dynload/wx

so it's there where it should be.

now we are getting a bit out of my depth. py2app should be using macholib to re-write the headers of various libs so that they will link to copies in teh bundle, rather than the system one -- somethign seems to be going wrong with tha process.

Are you using the latest py2app ans macholib:

$ easy_install py2app==dev

Look at the py2app output for errors, warnings.

4) I have uploaded the app as a dmg at this URL
(http://gridzilla.s3.amazonaws.com/demo-gzilla.dmg)
I would be very happy if anyone can help me troubleshoot it.

I've tried it out, and get the same error.

I think I found a problem, but I can't tell you why:

GridZilla.app/Contents/MacOS/python

is a symlink to:

/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python

In my bundles, built with 2.5, it is a genuine file.

That may explain why your bundle is looking for stuff in /Library/....

But I don't know why this happened.

Py2app does do that kind of linking for an "Alias" bundle, or when you are using the system python, but it doesn't sound like you are doing that.

I don't know if this helps, but it's a start...

I want to go to 2.6 soon, but I'm not going to get a chance to mess with it for a bit.

-Chris




--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to