I'm having a problem with the macho_standalone component of py2app (I'm trying to use it, as the documentation says I can, to create a standalone app bundle of a non-Python application). Here is the output:
Kevin-Walzers-Computer:~ kevin$ macho_standalone ~/Desktop/AquaEthereal.app Traceback (most recent call last): File "/usr/local/bin/macho_standalone", line 20, in ? main() File "/usr/local/bin/macho_standalone", line 17, in main standaloneApp(fn) File "/usr/local/bin/macho_standalone", line 10, in standaloneApp files = MachOStandalone(path).run() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/MachOStandalone.py", line 92, in run mm.run_file(fn) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/MachOGraph.py", line 59, in run_file m = self.createNode(MachO, pathname) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/MachOStandalone.py", line 17, in createNode res = super(FilteredMachOGraph, self).createNode(cls, name) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/altgraph/ObjectGraph.py", line 134, in createNode m = cls(name, *args, **kw) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/MachO.py", line 60, in __init__ self.load(file(filename, 'rb')) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/MachO.py", line 89, in load header = self.load_fat(fat, fh) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/MachO.py", line 71, in load_fat archs = [fat_arch.from_fileobj(fh) for i in xrange(fat.nfat_arch)] File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/ptypes.py", line 43, in from_fileobj return cls.from_str(f.read(cls._size_)) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/ptypes.py", line 46, in from_str return cls.from_tuple(struct.unpack(cls._endian_ + cls._format_, s)) struct.error: unpack str size does not match format Kevin-Walzers-Computer:~ kevin$ What happens is that a few libraries get copied over to /Frameworks in my app bundle, then the process stops (there are lot of libraries to copy). I'm not trying to create a universal binary, so I'm not sure what the error is. Is there a flag I can set so that it doesn't try to create a universal binary, i.e. macho_standalone Foo.app -arch ppc? -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig