OSX app crashes with argparse

69 views
Skip to first unread message

Scott Ballard

unread,
Jun 11, 2012, 11:35:13 AM6/11/12
to pyins...@googlegroups.com
Hey guys,

There is a problem with the current development version. On OSX 10.7.4 x64, if an application is made which uses Python's argparse module and it's bundled into a OSX .app it will crash when opening it. The application does run from the dist directory.

example error: 
LSOpenURLsWithRole() failed with error -10810 for the file /Users/scott/Dropbox/workspace/BOA/transcode_shoot_media/transcode_shoot_media.app.

Is this a known problem? I didn't see anything when I Googled it. Would it help you guys trouble shoot it if I posted a simple example of the problem?

Cheers,
-Scott Ballard

Scott Ballard

unread,
Jun 11, 2012, 11:58:54 AM6/11/12
to pyins...@googlegroups.com
Nevermind, you can close this ticket.

The OSX open command needs the "-a" flag when opening an .app file but when opening the application but from the dist directory you have to use "open <application>" without -a.

Sorry for the false alarm.
-Scott
Reply all
Reply to author
Forward
0 new messages