I was able to fix this issue by reducing my application until I found what 
wasn't working.

The issue happened when I was trying to read a file with a relative path. I 
had to use an absolute path to make it work correctly with pyinstaller. 
Here is an example in case anyone have this problem:

if getattr(sys, 'frozen', False):
    APPLICATION_PATH = os.path.dirname(sys.executable)
elif __file__:
    APPLICATION_PATH = os.path.dirname(__file__)

filename = os.path.join(APPLICATION_PATH, 'ui/mainwindow.ui')

Em domingo, 4 de janeiro de 2015 14h05min12s UTC-2, Fernando Morgenstern 
escreveu:
>
> Hi,
>
> I'm trying to use pyinstaller on a pyqt4 application in OSX Yosemite.
>
> Pyinstaller runs without problems but when I try to launch the generated 
> application, it will show the application icon bouncing in dock and after 3 
> or 4 seconds it will close without showing any errors.
>
> Adding a debug flag to pyinstaller doesn't make any difference. What can I 
> do to find out what is causing this issue?
>
> Btw, at the Console.app I see one line showing this error:
>
> 04/01/15 13:57:41,650 com.apple.xpc.launchd[1]: (workd.85800[17801]) 
> Service exited with abnormal code: 255
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to