[Pythonmac-SIG] Error compiling with py2app

Dan Ross dan at rosspixelworks.com
Mon Nov 10 22:45:57 CET 2008



 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.  

 Thanks,  

 Dan  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20081110/facd434c/attachment.htm>
-------------- next part --------------

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 723, in create_binaries
    mm.mm.run_file(runtime)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOGraph.py", line 62, in run_file
    m = self.findNode(pathname)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOGraph.py", line 55, in findNode
    newname = self.locate(name)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOStandalone.py", line 30, in locate
    return self.delegate.locate(newname)
  File "build/bdist.macosx-10.3-i386/egg/macholib/MachOStandalone.py", line 69, in locate
    res = self.copy_framework(info)
  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 56, in copy_framework
    destfn = self.appbuilder.copy_framework(info, self.dest)
  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 789, in copy_framework
    self.copy_python_framework(info, dst)
  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 817, in copy_python_framework
    os.path.join(outdir, fn))
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 376, in copy_file
    dry_run=self.dry_run)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/file_util.py", line 119, in copy_file
    "can't copy '%s': doesn't exist or not a regular file" % src
DistutilsFileError: can't copy '/Library/Frameworks/Python.framework/Versions/2.6/Resources/version.plist': doesn't exist or not a regular file
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/file_util.py(119)copy_file()
-> "can't copy '%s': doesn't exist or not a regular file" % src
(Pdb) 


More information about the Pythonmac-SIG mailing list