|
Re: Re: urllib and ftplib hang in bundle but not when run directly: msg#00090python.apple
On 14 May 2004, at 01:29, Russell E. Owen wrote: In article <rowen-C76C8E.09571605052004@xxxxxxxxxxxxx>, My gut feeling is that it's not the import lock that is the problem: something as fundamental as the import lock being in a different state in a bundlebuilder application (as compared to a normal script run) would have show up much sooner. I did a quick test and it seems the import lock isn't held, indeed (in an application created with the stock 2.3 bundlebuilder). My next guess would be that the bundled application somehow holds a lock that is internal to re, but a quick look at re (and _sre) revealed no such lock, especially given your assertion that things go wrong at import time. Also, I can't imagine why a bundlebuilder app would hold such a lock while a normal script wouldn't. Still, I'd like to debug this, as errors such as this are really nasty. Could you try to attach gdb to the process as it is hanging, and see whether you can find out what lock (if any) you are hanging on? Also, there are now quite a few things called bundlebuilder or variations on it. Which one are you using? With what options? -- Jack Jansen, <Jack.Jansen@xxxxxx>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@xxxxxxxxxx http://mail.python.org/mailman/listinfo/pythonmac-sig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Fwd: MacPython applet problem: 00090, Ronald Oussoren |
|---|---|
| Next by Date: | Re: Broken link at python.org breaks packman: 00090, Jack Jansen |
| Previous by Thread: | Re: Re: urllib and ftplib hang in bundle but not when run directlyi: 00090, Michael Hudson |
| Next by Thread: | Re: Re: urllib and ftplib hang in bundle but not when run directly: 00090, Russell E Owen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |