[Pythonmac-SIG] py2app hang on build

Philip Stephens phil.stphns at gmail.com
Fri Jul 9 18:39:39 CEST 2010


Hello,

I hope this is the appropriate place to ask for help using py2app.  If not,
please redirect me.

I've built my app for windows using py2exe, and now trying to build a mac
app. py2app appears to work until the last line in the inline message, at
which point I went to bed and it was still chugging on it the next morning.
All of the previous 'creating...' data messages went relatively quickly, as
in less than 5 seconds.  Is this an ascii/unicode issue? Thanks for any
pointers you can offer.  By the way, the data it hangs on are shapefiles.

system: OS X 10.6.3, Intel.



*** creating application bundle: toolkit ***
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/mpl-data
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/mpl-data/example
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/mpl-data/fonts
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/mpl-data/fonts/afm
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/mpl-data/images
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/mpl-data/fonts/ttf
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/mpl-data/fonts/pdfcorefonts
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/data
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/data/toolkit_data
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/data/toolkit_data/tracts1990
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/data/toolkit_data/tracts2000
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/data/toolkit_data/1990_dissolved_unproj
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/data/toolkit_data/2000_dissolved_unproj
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/data/toolkit_data/neighborhoods1990
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/data/toolkit_data/neighborhoods2000
creating
/Users/stephens/code/eda08/code/toolkit/dist/toolkit.app/Contents/Resources/data/toolkit_data/msaTracts2000polygons_unproj
^CTraceback (most recent call last):
  File
"/Library/Frameworks/Python.framework/Versions/6.0.4/lib/python2.6/site-packages/py2app/build_app.py",
line 589, in _run
    self.run_normal()
  File
"/Library/Frameworks/Python.framework/Versions/6.0.4/lib/python2.6/site-packages/py2app/build_app.py",
line 660, in run_normal
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
  File
"/Library/Frameworks/Python.framework/Versions/6.0.4/lib/python2.6/site-packages/py2app/build_app.py",
line 755, in create_binaries
    target, arcname, pkgexts, copyexts, target.script)
  File
"/Library/Frameworks/Python.framework/Versions/6.0.4/lib/python2.6/site-packages/py2app/build_app.py",
line 1180, in build_executable
    copy_resource(src, dest, dry_run=self.dry_run)
  File
"/Library/Frameworks/Python.framework/Versions/6.0.4/lib/python2.6/site-packages/py2app/util.py",
line 96, in copy_resource
    copy_file(source, destination, dry_run=dry_run)
  File
"/Library/Frameworks/Python.framework/Versions/6.0.4/lib/python2.6/site-packages/py2app/util.py",
line 101, in copy_file
    zf, zp = path_to_zip(source)
  File
"/Library/Frameworks/Python.framework/Versions/6.0.4/lib/python2.6/site-packages/py2app/util.py",
line 127, in path_to_zip
    while not os.path.exists(path):
KeyboardInterrupt
>
/Library/Frameworks/Python.framework/Versions/6.0.4/lib/python2.6/site-packages/py2app/util.py(127)path_to_zip()
-> while not os.path.exists(path):
(Pdb)
(Pdb)



-- 
Philip Stephens
Research Analyst
GeoDa Center for Geospatial Analysis and Computation
Arizona State University
philip.stephens at asu.edu

"Please do not send me Microsoft Office/Apple iWork documents. Send
OpenDocument instead! http://fsf.org/campaigns/opendocument/"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20100709/40d5d859/attachment-0001.html>


More information about the Pythonmac-SIG mailing list