sommer / loxodo

Password Safe V3 compatible Password Vault
http://www.christoph-sommer.de/loxodo
GNU General Public License v2.0
76 stars 38 forks source link

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

Open rful011 opened 13 years ago

rful011 commented 13 years ago

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 commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

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

liammac commented 12 years ago

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 commented 12 years ago

Note that I do have wxPython installed as well