[Pythonmac-SIG] Zope py2app, some progress

Richard Jones richard at commonground.com.au
Thu Feb 10 02:00:35 CET 2005


On 10/02/2005, at 10:35 AM, Bob Ippolito wrote:
> The current svn trunk of py2app is probably suitable for this.  It now:
> - Strips by default.  -S and --strip are still there for  
> compatibility, but they are a no-op (does anyone care if I remove this  
> compatibility?)

I get the following error during py2app invocation:

/usr/bin/strip: object:  
/Users/richard/src/cg/CGPublisher-Zope/dist/CGPublisher-Zope.app/ 
Contents/Frameworks/Python.framework/Versions/2.3/Python truncated or  
malformed object (LC_SEGMENT command 2 fileoff field plus filesize  
field extends past the end of the file)

and then this when I try to run the app:

2005-02-10 11:54:41.210 CGPublisher-Zope[5269] dyld:  
./dist/CGPublisher-Zope.app/Contents/MacOS/CGPublisher-Zope truncated  
or malformed library:  
/Users/richard/src/cg/CGPublisher-Zope/dist/CGPublisher-Zope.app/ 
Contents/Frameworks/Python.framework/Versions/2.3/Python (load command  
2 fileoff plus filesize extends past end of the library)

The file in question is:

-rwxr-xr-x  1 richard  richard  1239416 10 Feb 11:54 Python

if that's any help (probably not). Also, the output at the end of  
stripping says "stripping saved 0 bytes (7077472 / 7077472)". Full log  
of output (stdout) from py2app invocation is attached.



     Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.txt.bz2
Type: application/octet-stream
Size: 5054 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20050210/12961023/log.txt.obj


More information about the Pythonmac-SIG mailing list