[Pythonmac-SIG] py2app or macholib error[Sec=Unclassified]

Ronald Oussoren ronaldoussoren at mac.com
Tue Jul 27 13:02:03 CEST 2010


On 27 Jul, 2010, at 9:35, Mathew Oakes wrote:

> Can anyone help me with this?

I'm pushing out a new release of py2app and related modules later today (CET). That should fix this problem.

Ronald

> 
> snow leopard system python, easy_install for extra stuff.
> 
>> creating /Users/mathew_oak/Documents/My Applications/ShotChopper/dist/TkClipper.app/Contents/Resources/lib/python2.6/lib-dynload/aem
>> Traceback (most recent call last):
>>  File "/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py", line 589, in _run
>>    self.run_normal()
>>  File "/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py", line 660, in run_normal
>>    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
>>  File "/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py", line 777, in create_binaries
>>    platfiles = mm.run()
>>  File "build/bdist.macosx-10.6-universal/egg/macholib/MachOStandalone.py", line 101, in run
>>    for fn in platfiles:
>>  File "build/bdist.macosx-10.6-universal/egg/macholib/util.py", line 227, in iter_platform_files
>>    if is_platform_file(fn):
>>  File "build/bdist.macosx-10.6-universal/egg/macholib/util.py", line 206, in is_platform_file
>>    header = mach_o.fat_header.from_fileobj(fileobj, _endian_='>')
>>  File "build/bdist.macosx-10.6-universal/egg/macholib/ptypes.py", line 44, in from_fileobj
>>    return cls.from_str(f.read(cls._size_), **kw)
>>  File "build/bdist.macosx-10.6-universal/egg/macholib/ptypes.py", line 48, in from_str
>>    return cls.from_tuple(struct.unpack(endian + cls._format_, s), **kw)
>> error: unpack requires a string argument of length 8
>>> /Users/mathew_oak/Documents/My Applications/ShotChopper/build/bdist.macosx-10.6-universal/egg/macholib/ptypes.py(48)from_str()
>> (Pdb) interrupted
> 
> 
> 
> ___________________________________________________________________________
> 
>    Australian Antarctic Division - Commonwealth of Australia
> IMPORTANT: This transmission is intended for the addressee only. If you are not the
> intended recipient, you are notified that use or dissemination of this communication is
> strictly prohibited by Commonwealth law. If you have received this transmission in error,
> please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
> DELETE the message.
>        Visit our web site at http://www.antarctica.gov.au/
> ___________________________________________________________________________
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3567 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20100727/9873aa87/attachment.bin>


More information about the Pythonmac-SIG mailing list