loxodo
loxodo copied to clipboard
app fails to build on Mac OS 10.7 (lion)
Subject says it all. I'm assuming this is something specific to Lion.
The cli will do in the meantime :)
Russell.
bluebottle:gpg rful011$ cd ~/Downloads/sommer-loxodo-ff67342 bluebottle:sommer-loxodo-ff67342 rful011$ ./setup.py py2app running py2app creating /Users/rful011/Downloads/sommer-loxodo-ff67342/build creating /Users/rful011/Downloads/sommer-loxodo-ff67342/build/bdist.macosx-10.7-intel creating /Users/rful011/Downloads/sommer-loxodo-ff67342/build/bdist.macosx-10.7-intel/python2.7-standalone creating /Users/rful011/Downloads/sommer-loxodo-ff67342/build/bdist.macosx-10.7-intel/python2.7-standalone/app creating /Users/rful011/Downloads/sommer-loxodo-ff67342/build/bdist.macosx-10.7-intel/python2.7-standalone/app/collect creating /Users/rful011/Downloads/sommer-loxodo-ff67342/build/bdist.macosx-10.7-intel/python2.7-standalone/app/temp creating /Users/rful011/Downloads/sommer-loxodo-ff67342/dist creating build/bdist.macosx-10.7-intel/python2.7-standalone/app/lib-dynload creating build/bdist.macosx-10.7-intel/python2.7-standalone/app/Frameworks Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 604, in _run self.run_normal() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 668, in run_normal mf = self.get_modulefinder() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 564, in get_modulefinder debug=debug, File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/modulegraph/find_modules.py", line 255, in find_modules find_needed_modules(mf, scripts, includes, packages) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/modulegraph/find_modules.py", line 190, in find_needed_modules path = m.packagepath[0] TypeError: 'NoneType' object is not subscriptable
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/modulegraph/find_modules.py(190)find_needed_modules() -> path = m.packagepath0 ^D b
I'm seeing issues building the app bundle on Lion as well
running py2app Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 604, in _run self.run_normal() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 668, in run_normal mf = self.get_modulefinder() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 564, in get_modulefinder debug=debug, File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/modulegraph/find_modules.py", line 255, in find_modules find_needed_modules(mf, scripts, includes, packages) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/modulegraph/find_modules.py", line 190, in find_needed_modules path = m.packagepath[0] TypeError: 'NoneType' object is not subscriptable
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/modulegraph/find_modules.py(190)find_needed_modules() -> path = m.packagepath0
Rful011. Looks like you need to install the actual wxPython package not just the python bindings you can do that here http://www.wxpython.org/download.php
thanks! It took me a while to work out that this was about :) I played with this about a year ago!
I'll have another try.
Russell
On 1/07/2012, at 7:31 AM, liammac wrote:
Rful011. Looks like you need to install the actual wxPython package not just the python bindings you can do that here http://www.wxpython.org/download.php
Reply to this email directly or view it on GitHub: https://github.com/sommer/loxodo/issues/12#issuecomment-6687823
Failing to Build on OS X Mountain Lion
#./setup.py py2app
running py2app
Traceback (most recent call last):
File "./setup.py", line 30, in
Note that I do have wxPython installed as well