Re: Cocoa, httplib and threads? - Solved
"Diez B. Roggisch" <[email protected]>
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/