Urllib2/threading errors under Cygwin

Jason Tishler jason at tishler.net
Tue May 4 08:29:27 EDT 2004


Jacek,

On Sat, May 01, 2004 at 04:57:52AM +0200, Jacek Trzmiel wrote:
> [snip]
> 1. First error.
> 
> $ python MtUrllib2Test.py | tee out.txt 
> 3
> 4
> 5
> 
> Leading prints has been eaten somewhere.  Uncommenting disabled code
> in ANY of the functions does make output correct, but none of the
> solutions looks good for me:

See below...

> [snip]
> 2. Second error.
> 
> If I increase number of threads:
>    noOfThreads = 20
> and run this prog (you may need to run it several times, or rise number
> of threads more to reproduce), then sometimes it does fail this way :
> 
> $ python MtUrllib2Test.py | tee out.txt 
>       4 [win] python 1744 Winmain: Cannot register window class
> C:\cygwin\bin\python2.3.exe: *** WFSO failed, Win32 error 6

The above has been reported before:

    http://www.cygwin.com/ml/cygwin/2004-01/msg01371.html

> [snip]
> Can anyone help me on those two?

I would recommend trying the latest Cygwin snapshot:

    http://cygwin.com/snapshots/

If that doesn't help, then I would post the smallest possible test case
to the Cygwin list -- you will hopefully get better traction there.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6




More information about the Python-list mailing list