Hello,

I'm currently trying to bundle my wxPython application with py2app so
it's easy for MacOS X users to run.

I keep running into the following error on a few different modules. 

Traceback (most recent call last):
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/py2app-0.3.5-py2.3.egg/py2app/build_app.py",
 line 548, in _run
    self.run_normal()
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/py2app-0.3.5-py2.3.egg/py2app/build_app.py",
 line 618, in run_normal
    py_files, extensions = self.finalize_modulefinder(mf)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/py2app-0.3.5-py2.3.egg/py2app/build_app.py",
 line 589, in finalize_modulefinder
    py_files, extensions = parse_mf_results(mf)
  File
"build/bdist.darwin-7.9.0-Power_Macintosh/egg/modulegraph/find_modules.py", 
line 75, in parse_mf_results
RuntimeError: Don't know how to handle
''/Users/tim/Desktop/source/libtpclient-py/client''
> /Users/tim/Desktop/source/tpclient-pywx/build/bdist.darwin-7.9.0-Power_Macintosh/egg/modulegraph/find_modules.py(75)parse_mf_results()
(Pdb) 


I can't figure out what is causing it. I can seem to fix the errors by
changing the imports from "from x.y import w" to "import w".

I'm not able to produce a simple example of what is causing it.
Googling for results doesn't produce any hits.

All the source code is open source and can be found at
http://darcs.thousandparsec.net/repos/

If you want to run the code you will need to do the following,
* darcs
* Python
* wxPython 2.6
* PIL
* Numeric or NumArray

Then

mkdir tp
cd tp
darcs get --partial http://darcs.thousandparsec.net/repos/scratchpad
darcs get --partial http://darcs.thousandparsec.net/repos/libtpproto-py
darcs get --partial http://darcs.thousandparsec.net/repos/libtpclient-py
darcs get --partial http://darcs.thousandparsec.net/repos/tpclient-pywx
cd scratchpad
sh setup.sh
cd ..
cd tpclient-pywx
./tpclient-pywx


Does anyone have any ideas on how to fix it?

Thanks for your help.

Tim Ansell

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to