Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app fails to build on Mac OS 10.7 (lion) #12

Open
rful011 opened this issue Aug 1, 2011 · 5 comments
Open

app fails to build on Mac OS 10.7 (lion) #12

rful011 opened this issue Aug 1, 2011 · 5 comments

Comments

@rful011
Copy link

rful011 commented Aug 1, 2011

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

@liammac
Copy link

liammac commented Jun 30, 2012

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

@liammac
Copy link

liammac commented Jun 30, 2012

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

@rful011
Copy link
Author

rful011 commented Jun 30, 2012

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:
#12 (comment)

@liammac
Copy link

liammac commented Oct 10, 2012

Failing to Build on OS X Mountain Lion

#./setup.py py2app
running py2app
Traceback (most recent call last):
File "./setup.py", line 30, in
setup(**extra_options)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 470, in run
self._run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 626, in _run
self.run_normal()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 691, in run_normal
mf = self.get_modulefinder()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/py2app/build_app.py", line 586, in get_modulefinder
debug=debug,
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/modulegraph/find_modules.py", line 258, 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 192, in find_needed_modules
path = m.packagepath[0]
TypeError: 'NoneType' object is not subscriptable

@liammac
Copy link

liammac commented Oct 10, 2012

Note that I do have wxPython installed as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants