[Pythonmac-SIG] traceback from build_app.py in py2app 0.1.8

John Gleeson jdgleeson at mac.com
Wed Feb 23 16:42:34 CET 2005


The current svn version of py2app gives the following traceback.  My  
Feb 7 copy of py2app invoked self.copy_versioned_framework(info, dst)  
instead of copy_versioned_framework(info, dst) :

<snip>
copying  
build/bdist.darwin-7.8.0-Power_Macintosh/python2.3-semi_standalone/app/ 
site-packages.zip ->  
/Users/jgleeson/Projects/Environments/LEO/Leo/dist/Leo.app/Contents/ 
Resources/Python
copying leo/src/leo.py ->  
/Users/jgleeson/Projects/Environments/LEO/Leo/dist/Leo.app/Contents/ 
Resources/Python
creating  
/Users/jgleeson/Projects/Environments/LEO/Leo/dist/Leo.app/Contents/ 
Resources/Python/lib-dynload
creating  
/Users/jgleeson/Projects/Environments/LEO/Leo/dist/Leo.app/Contents/ 
Frameworks
copying /Library/Python/2.3/PIL/_imaging.so ->  
/Users/jgleeson/Projects/Environments/LEO/Leo/dist/Leo.app/Contents/ 
Resources/Python/lib-dynload
copying /Library/Python/2.3/_tkinter.so ->  
/Users/jgleeson/Projects/Environments/LEO/Leo/dist/Leo.app/Contents/ 
Resources/Python/lib-dynload
Traceback (most recent call last):
   File "/Library/Python/2.3/py2app/py2app/build_app.py", line 434, in  
_run
     self.run_normal()
   File "/Library/Python/2.3/py2app/py2app/build_app.py", line 491, in  
run_normal
     self.create_binaries(py_files, pkgdirs, extensions)
   File "/Library/Python/2.3/py2app/py2app/build_app.py", line 583, in  
create_binaries
     platfiles = mm.run()
   File "/Library/Python/2.3/py2app/macholib/MachOStandalone.py", line  
90, in run
     mm.run_file(fn)
   File "/Library/Python/2.3/py2app/macholib/MachOGraph.py", line 61, in  
run_file
     self.scan_node(m)
   File "/Library/Python/2.3/py2app/macholib/MachOGraph.py", line 84, in  
scan_node
     m = self.load_file(filename, caller=node)
   File "/Library/Python/2.3/py2app/macholib/MachOGraph.py", line 67, in  
load_file
     m = self.findNode(name)
   File "/Library/Python/2.3/py2app/macholib/MachOGraph.py", line 48, in  
findNode
     newname = self.locate(name)
   File "/Library/Python/2.3/py2app/macholib/MachOStandalone.py", line  
22, in locate
     return self.delegate.locate(newname)
   File "/Library/Python/2.3/py2app/macholib/MachOStandalone.py", line  
57, in locate
     res = self.copy_framework(info)
   File "/Library/Python/2.3/py2app/py2app/build_app.py", line 42, in  
copy_framework
     destfn = self.appbuilder.copy_framework(info, self.dest)
   File "/Library/Python/2.3/py2app/py2app/build_app.py", line 637, in  
copy_framework
     copy_versioned_framework(info, dst)
NameError: global name 'copy_versioned_framework' is not defined
 > /Library/Python/2.3/py2app/py2app/build_app.py(637)copy_framework()
-> copy_versioned_framework(info, dst)
(Pdb) interrupted




More information about the Pythonmac-SIG mailing list