[Pythonmac-SIG] Error compiling with py2app

Dan Ross dan at rosspixelworks.com
Mon Nov 10 23:05:50 CET 2008



 Hi Cody-  

 Thanks for the reply. I posted the wrong error. I figured out the
missing file part.  

 Here's the error after providing the file.  

 Dan   
 On Mon, 10 Nov 2008 15:56:09 -0600, "Cody Precord"  wrote:   Hello,
  On Mon, Nov 10, 2008 at 3:45 PM, Dan Ross  wrote:
 Hi all-  

 I'm having trouble with py2app all of a sudden. It stopped working
with 2.5 so I installed 2.6 today, hoping that may work.  

 I'm attaching the text from when the error begins. Any help would be
appreciated.    
   You appear to have a file in your includes/data_files that does
not have the correct path specified.   
   Cody   
   

Links:
------
[1] mailto:dan at rosspixelworks.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20081110/e740e98d/attachment-0001.htm>
-------------- next part --------------
linking /Users/danr/Projects/pyTunesQT/dist/start.app/Contents/Frameworks/QtCore.framework/Versions/4.0 -> 4
linking /Users/danr/Projects/pyTunesQT/dist/start.app/Contents/Frameworks/QtCore.framework/Versions/Current -> 4
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.3.6-py2.6.egg/py2app/build_app.py", line 548, in _run
    self.run_normal()
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.3.6-py2.6.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.6/lib/python2.6/site-packages/py2app-0.3.6-py2.6.egg/py2app/build_app.py", line 732, in create_binaries
    platfiles = mm.run()
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOStandalone.py", line 102, in run
    mm.run_file(fn)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOGraph.py", line 68, in run_file
    self.scan_node(m)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOGraph.py", line 91, in scan_node
    m = self.load_file(filename, caller=node)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOGraph.py", line 78, in load_file
    return self.load_file(newname, caller=caller)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOGraph.py", line 80, in load_file
    m = self.createNode(MachO, name)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOStandalone.py", line 23, in createNode
    res = super(FilteredMachOGraph, self).createNode(cls, name)
  File "build/bdist.macosx-10.3-i386/egg/altgraph/ObjectGraph.py", line 148, in createNode
    m = cls(name, *args, **kw)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 61, in __init__
    self.load(file(filename, 'rb'))
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 71, in load
    self.load_fat(fh)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 82, in load_fat
    self.load_header(fh, arch.offset, arch.size)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 106, in load_header
    hdr = MachOHeader(self, fh, offset, size, magic, hdr, endian)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 146, in __init__
    self.load(fh)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 178, in load
    raise ValueError("Unknown load command: %d" % (cmd_load.cmd,))
ValueError: Unknown load command: 27
> /Users/danr/Projects/pyTunesQT/build/bdist.macosx-10.3-i386/egg/macholib/MachO.py(178)load()
(Pdb) 


More information about the Pythonmac-SIG mailing list