Hi,
I have an application which I created with python 2.5 and py2app on
OSX 10.4.11. All is well. Trying to build it with python 2.6.4 and
py2app 0.4.3 ends in pdb. python setup.py -A works.
Analyzing the code snippet which causes the exception, one can see it
calls a unix tool called 'ibtool' which is not present on my system.
Seeing that the same tool is used for .xib files my guess is it
belongs to Xcode 3.x.
What can I do about it (without going to OSX 10.5 and Xcode 3)
-karsten
In py2app/converters/nibfile.py:
p = subprocess.Popen(['ibtool', '--compile', destination, source])
python setup.py py2app:
...
creating /Users/karstenwo/python/pyobjc/bildimporter-git/build/
bildimporter.app/Contents/Resources/English.lproj
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 589, in _run
self.run_normal()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.4.3-py2.6.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.6/lib/
python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 755, in create_binaries
target, arcname, pkgexts, copyexts, target.script)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/build_app.py",
line 1180, in build_executable
copy_resource(src, dest, dry_run=self.dry_run)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/util.py", line
84, in copy_resource
converter(source, destination, dry_run=dry_run)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/converters/
nibfile.py", line 27, in convert_nib
p = subprocess.Popen(['ibtool', '--compile', destination, source])
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/subprocess.py", line 621, in __init__
errread, errwrite)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/subprocess.py", line 1126, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
subprocess.py(1126)_execute_child()
-> raise child_exception
(Pdb)
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig