I tried again, using the macholib from svn trunk and specifying python-64 instead of python as the interpreter. Here's the error I get:

linking /Users/kevin/Programming/phynchronicity/dist/Phynchronicity.app/Contents/Frameworks/Python64.framework/Versions/Current -> 2.6
Traceback (most recent call last):
File "/Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.2-py2.6.egg/py2app/build_app.py", line 589, in _run
    self.run_normal()
File "/Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.2-py2.6.egg/py2app/build_app.py", line 660, in run_normal
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
File "/Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.4.2-py2.6.egg/py2app/build_app.py", line 768, in create_binaries
    mm.mm.run_file(runtime)
File "build/bdist.macosx-10.5-universal/egg/macholib/MachOGraph.py", line 66, in run_file
    m = self.createNode(MachO, pathname)
File "build/bdist.macosx-10.5-universal/egg/macholib/MachOStandalone.py", line 23, in createNode
    res = super(FilteredMachOGraph, self).createNode(cls, name)
File "build/bdist.macosx-10.5-universal/egg/altgraph/ObjectGraph.py", line 148, in createNode
    m = cls(name, *args, **kw)
File "build/bdist.macosx-10.5-universal/egg/macholib/MachO.py", line 63, in __init__
    self.load(file(filename, 'rb'))
File "build/bdist.macosx-10.5-universal/egg/macholib/MachO.py", line 73, in load
    self.load_fat(fh)
File "build/bdist.macosx-10.5-universal/egg/macholib/MachO.py", line 81, in load_fat
    self.fat = fat_header.from_fileobj(fh)
File "build/bdist.macosx-10.5-universal/egg/macholib/ptypes.py", line 44, in from_fileobj
    return cls.from_str(f.read(cls._size_), **kw)
File "build/bdist.macosx-10.5-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/kevin/Programming/phynchronicity/build/bdist.macosx-10.5-universal/egg/macholib/ptypes.py(48)from_str()
-> return cls.from_tuple(struct.unpack(endian + cls._format_, s), **kw)


Any ideas?

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to