Re: [Pyobjc-dev] Cocoa, httplib and threads? - Solved
Brought to you by:
ronaldoussoren
From: Diez B. R. <de...@we...> - 2011-07-22 07:40:36
|
On Jul 22, 2011, at 9:13 AM, Greg Ewing wrote: > I found out what was causing this. Turns out it was blocked > importing encodings.ascii, trying to acquire the import lock. > > The reason it couldn't acquire the import lock is that the > main module of my application was a stub that imported the > real main module, which in turn started the event loop > directly from the module code. > > So the whole app was running inside an import statement, > holding on to the import lock. Once I fixed that, everything > was fine. Nice catch... Diez |