[Pythonmac-SIG] Latest Py2app bug..
Christopher Barker
Chris.Barker at noaa.gov
Thu Oct 8 18:43:00 CEST 2009
Christopher Barker wrote:
> 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:
Another note -- I just cleared it out, and did:
$ easy_install py2app
and got 0.4.2
Still the same bug, even though I'm pretty sure I was running 0.4.2 before.
Is there a way to check the revision number?
-Chris
easy_install output:
Searching for py2app
Reading http://pypi.python.org/simple/py2app/
Reading http://undefined.org/python/#py2app
Best match: py2app 0.4.2
Downloading
http://pypi.python.org/packages/source/p/py2app/py2app-0.4.2.tar.gz#md5=fab793a7e97620afec146e515bbf4e80
Processing py2app-0.4.2.tar.gz
Running py2app-0.4.2/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-SazbDU/py2app-0.4.2/egg-dist-tmp-EtCr4Y
Adding py2app 0.4.2 to easy-install.pth file
Installing py2applet script to
/Library/Frameworks/Python.framework/Versions/2.5/bin
Installed
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg
Processing dependencies for py2app
Finished processing dependencies for py2app
>
> (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