[Pythonmac-SIG] py2app & multiprocessing

Christopher Barker Chris.Barker at noaa.gov
Wed Aug 12 22:15:29 CEST 2009


Gabriel Rossetti wrote:
> no SSH, nothing) and I have to had reboot it. It uses a combination of 
> Twisted and wxPython and is rather large, so I don't know where this 
> comes from, it could be wx, twisted or the two together.

It's probably not wx -- it is used a fair bit on Macs.

I don't know how much Twisted is used on the Mac. It might be worth 
asking on a Twisted list. Also, have you tried just a simple Twisted app 
on its own?

And yes, I suppose the two together could be an issue.

Oh, and do you have these problems running without py2app?

> Popen could 
> not find my files when using py2app,

This should be a simple path issue -- a few judicious print statements 
should help here.

 > even though they were in the same
> directory as the main exec. I even tried putting the execs in the 
> resource dir but no luck,

hmm -- I think that is indeed where the working dir is set by py2app 
when starting op. try:

print os.getcwd()

you can look in the "Console" app to see stuff printed to stdout.

-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list