Hello!

First of, pyinstaller is absolutely great! Thank you making this great tool 
happen!

I have a python app (github.com/pupil-labs/pupil) that uses multiprocessing 
to spawn a second process. Inside this process I import QTKit which (I 
think) uses parts of Apples CoreFoundations(CF). 

When I bundle using a .spec file with *console=True *I can run the app 
through Terminal ( ./path to .app/Contents/MacOS/my_app) just fine. Double 
clicking on the app makes if fail silently (I don't expect it to work)

When I bundle with console=False and I start through Terminal I get:

---
The process has forked and you cannot use this CoreFoundation functionality 
safely. You MUST exec().
Break on 
__THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__()
 
to debug.
---

This only happens in the spawned process, if I import QTKit in the main 
process, no errors occur.

Running the app through the finder (2klick on .app) runs the part thats not 
in the subprocess fine but the subprocess fails (I assume for the same 
reason as running it through terminal.)

Here are my questions:
1) What are the differences in the bootloader for console and windowed 
applications that may trigger this error?
2) How do I redirect my stdout to Console.app when I run my .app bundle? 
This would be helpfull!

your help is greatly appreciated, If you need more info please let me know!

best,

Moritz
 



-- 
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/groups/opt_out.

Reply via email to