app bundle won't start

106 views
Skip to first unread message

stefan ix

unread,
May 18, 2012, 12:51:09 PM5/18/12
to pyins...@googlegroups.com
When I make my app (a python terminal app, I want to be able to start from the finder) I get the following error when I try to run it:

mbxa:other noema$ open /Users/noema/Development/git/LasaurApp/other/dist_osx/lasaurapp.app
LSOpenURLsWithRole() failed with error -10810 for the file /Users/noema/Development/git/LasaurApp/other/dist_osx/lasaurapp.app.

Any ideas where the problem is?

My spec file looks like this:

### build TOC
a = Analysis(['../backend/app.py'],
             pathex=[os.path.abspath(__file__)],
             hiddenimports=[],
             hookspath=None)
 

pyz = PYZ(a.pure)
exe = EXE(pyz,
          a.scripts,
          a.binaries,
          a.zipfiles,
          a.datas + resource_files,
          name=target_location,
          debug=False,
          strip=None,
          upx=True,
          console=True )

app = BUNDLE(exe,
             name=target_location + '.app')

Thanks for any hints,

Scott Ballard

unread,
May 18, 2012, 1:17:05 PM5/18/12
to pyins...@googlegroups.com
Make sure the app runs from the build directory first. I've run into this many times and it's usually because the app isn't working from the build directory.

-Scott




--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To view this discussion on the web visit https://groups.google.com/d/msg/pyinstaller/-/sNc3ZCZUNxAJ.
To post to this group, send email to pyins...@googlegroups.com.
To unsubscribe from this group, send email to pyinstaller...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.

Reply all
Reply to author
Forward
0 new messages