[Pythonmac-SIG] Please help! py2app broken

Russell E. Owen rowen at u.washington.edu
Thu Sep 11 01:39:38 CEST 2008


I was able to run py2app fine until recently. I think the only thing I 
did was upgrade to svn 1.5.1. Now I see this:

Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac
kages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", line 548, in _run
    self.run_normal()
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac
kages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", line 600, in 
run_normal
    mf = self.get_modulefinder()
  File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac
kages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", line 508, in 
get_modulefinder
    debug=debug,
  File "build/bdist.macosx-10.3-i386/egg/modulegraph/find_modules.py", 
line 243, in find_modules
    find_needed_modules(mf, scripts, includes, packages)
  File "build/bdist.macosx-10.3-i386/egg/modulegraph/find_modules.py", 
line 179, in find_needed_modules
    path = m.packagepath[0]
TypeError: 'NoneType' object is unsubscriptable
> /Users/rowen/TUIRoot/BuildForMac/build/bdist.macosx-10.3-i386/egg/modulegraph/find_modules.py(179)find_needed_modules()

This is using
MacOS X 10.4.11
python 2.5.2 (the python.org distro)
setuptools 0.6c8 (installed via easy_install)
py2app 0.3.6 (installed via easy_install)

The file in which the error occurs:
   build/bdist.macosx-10.3-i386/egg/modulegraph/find_modules.py
does not seem to actually exist, so I'm not sure where to start on 
debugging.

I am desperate because I cannot distribute my application.

-- Russell



More information about the Pythonmac-SIG mailing list