Re: Cocoa, httplib and threads? - Solved

Ronald Oussoren <[email protected]>
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
On 22 Jul, 2011, at 9:13, 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.

Ouch. That can be a hard one to debug.

Thank you for reporting back on the cause of your problem,

Ronald
> 
> -- 
> Greg
> 
> 
> ------------------------------------------------------------------------------
> 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/
> _______________________________________________
> Pyobjc-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyobjc-dev

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/

_______________________________________________
Pyobjc-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyobjc-dev
smime.p7s (application/pkcs7-signature, 2.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.