hi,

I keep getting load errors on macholib with wx2.8...
have installed the svn version of macholib
(got it with wget as I cannot do svn through the proxies here)

so the build progressed quite a bit further and then stopped (see below)

help appreciated

thanks,
mat




copying /opt/wx/2.8/lib/libwx_macud-2.8.0.dylib -> /Users/mathew_oak/ Documents/ThumbMaker/dist/Image Resizer.app/Contents/Frameworks
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", line 548, in _run
    self.run_normal()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", line 619, in run_normal
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", line 732, in create_binaries
    platfiles = mm.run()
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOStandalone.py", line 102, in run
    mm.run_file(fn)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOGraph.py", line 68, in run_file
    self.scan_node(m)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOGraph.py", line 91, in scan_node
    m = self.load_file(filename, caller=node)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOGraph.py", line 78, in load_file
    return self.load_file(newname, caller=caller)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOGraph.py", line 80, in load_file
    m = self.createNode(MachO, name)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachOStandalone.py", line 23, in createNode
    res = super(FilteredMachOGraph, self).createNode(cls, name)
File "build/bdist.macosx-10.3-fat/egg/altgraph/ObjectGraph.py", line 148, in createNode
    m = cls(name, *args, **kw)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 61, in __init__
    self.load(file(filename, 'rb'))
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 76, in load
    self.load_header(fh, 0, size)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 106, in load_header
    hdr = MachOHeader(self, fh, offset, size, magic, hdr, endian)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 146, in __init__
    self.load(fh)
File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 178, in load
    raise ValueError("Unknown load command: %d" % (cmd_load.cmd,))
ValueError: Unknown load command: 30
> /Users/mathew_oak/Documents/ThumbMaker/build/bdist.macosx-10.3-fat/ egg/macholib/MachO.py(178)load()
(Pdb)


Begin forwarded message:

From: Thijs Triemstra | Collab <[EMAIL PROTECTED]>
Date: 26 November 2007 3:53:50 PM
To: pythonmac-sig@python.org
Subject: Re: [Pythonmac-SIG] Unknown load command while building app bundle[Sec=Unclassified]

Hi,

you need the svn version of macholib. More info in:
http://mail.python.org/pipermail/pythonmac-sig/2007-June/019060.html

Thijs

On Nov 26, 2007, at 4:44 AM, Mathew Oakes wrote:

alias build works

when copying stuff into app bundle get this error, cant find any
similar references, help appreciated!

Using 10.5

copying /Library/Frameworks/Python.framework/Versions/2.5/Resources/
version.plist -> /Users/mathew_oak/Documents/ThumbMaker/dist/
working001.app/Contents/Frameworks/Python.framework/Versions/2.5/
Resources
Traceback (most recent call last):
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py",
line 548, in _run
   self.run_normal()
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py",
line 619, in run_normal
   self.create_binaries(py_files, pkgdirs, extensions, loader_files)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/py2app-0.3.6-py2.5.egg/py2app/build_app.py",
line 732, in create_binaries
   platfiles = mm.run()
 File "build/bdist.macosx-10.3-fat/egg/macholib/MachOStandalone.py",
line 102, in run
   mm.run_file(fn)
 File "build/bdist.macosx-10.3-fat/egg/macholib/MachOGraph.py", line
66, in run_file
   m = self.createNode(MachO, pathname)
 File "build/bdist.macosx-10.3-fat/egg/macholib/MachOStandalone.py",
line 23, in createNode
   res = super(FilteredMachOGraph, self).createNode(cls, name)
 File "build/bdist.macosx-10.3-fat/egg/altgraph/ObjectGraph.py", line
148, in createNode
   m = cls(name, *args, **kw)
 File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 61,
in __init__
   self.load(file(filename, 'rb'))
 File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 71,
in load
   self.load_fat(fh)
 File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 82,
in load_fat
   self.load_header(fh, arch.offset, arch.size)
 File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 106,
in load_header
   hdr = MachOHeader(self, fh, offset, size, magic, hdr, endian)
 File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 146,
in __init__
   self.load(fh)
 File "build/bdist.macosx-10.3-fat/egg/macholib/MachO.py", line 178,
in load
   raise ValueError("Unknown load command: %d" % (cmd_load.cmd,))
ValueError: Unknown load command: 27
/Users/mathew_oak/Documents/ThumbMaker/build/bdist.macosx-10.3-fat/
egg/macholib/MachO.py(178)load()
(Pdb)
(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@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to