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

Mathew Oakes mathew.oakes at aad.gov.au
Tue Jul 27 09:35:48 CEST 2010


Can anyone help me with this?

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/
___________________________________________________________________________


More information about the Pythonmac-SIG mailing list