[Pythonmac-SIG] Latest Py2app bug..

Christopher Barker Chris.Barker at noaa.gov
Thu Oct 8 18:35:44 CEST 2009


Hi folks,

hari jayaram wrote:
> Just tried a "hello world " app to troubleshoot py2app as Chris Barker
> suggested.

I was trying to help this guy out, and updated by py2app to the dev version:

easy_install py2app==dev

Now it's broken for me, on OS-X 10.4, Python.org 2.5:

(tested in a very simple "hello world" app, and also one that was 
building fine yesterday, before I did the py2app upgrade.

I suspect this is some simple difference between python or OS-X version 
differences.

-Chris


creating 
/Users/cbarker/Junk/dist/printo100.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.4.2-py2.5.egg/py2app/build_app.py", 
line 589, in _run
     self.run_normal()
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", 
line 660, 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.4.2-py2.5.egg/py2app/build_app.py", 
line 768, in create_binaries
     mm.mm.run_file(runtime)
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/macholib-1.2.1-py2.5.egg/macholib/MachOGraph.py", 
line 62, in run_file
     m = self.findNode(pathname)
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/macholib-1.2.1-py2.5.egg/macholib/MachOGraph.py", 
line 55, in findNode
     newname = self.locate(name)
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/macholib-1.2.1-py2.5.egg/macholib/MachOStandalone.py", 
line 30, in locate
     return self.delegate.locate(newname)
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/macholib-1.2.1-py2.5.egg/macholib/MachOStandalone.py", 
line 69, in locate
     res = self.copy_framework(info)
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", 
line 60, in copy_framework
     destfn = self.appbuilder.copy_framework(info, self.dest)
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", 
line 891, in copy_framework
     self.copy_python_framework(info, dst)
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", 
line 911, in copy_python_framework
     pydir = 'python%d.%d'%(info['version'])
TypeError: int argument required
 > 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py(911)copy_python_framework()
-> pydir = 'python%d.%d'%(info['version'])





-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list