New standalone Windows release

Zbynek Winkler zwin at
Fri Sep 23 14:28:18 CDT 2005

Maquelin, Olivier wrote:

>>-----Original Message-----
>>From: Bryan O'Sullivan
>>Sent: Friday, September 23, 2005 10:24 AM
>>To: Maquelin, Olivier
>>Cc: mercurial at
>>Subject: RE: New standalone Windows release
>>  File "C:\Python24\Lib\site-packages\mercurial\", 
>>line 40, in readerr
>>    r,w,x =[self.pipee], [], [], 0)
>>select.error: (10093, 'Either the application has not called 
>>WSAStartup, or WSAS
>>tartup failed')
>You are right. The initial clone worked fine, but subsequent pulls fail
>in that way for me too :-(
>The following, taken from the ActivePython 2.4 documentation, seem to be
>the explanation:
>On Windows, the underlying select() function is provided by the WinSock
>library, and does not handle file descriptors that don't originate from
>And just getting WSAStartup to be called does not help either. You can
>achieve that by adding 'import socket' at the top of the file, but then
>you get the following error message:
>select.error: (10038, 'An operation was attempted on something that is
>not a socket')
I've found that uses 
PeekNamedPipe from win32pipe...


Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic

More information about the Mercurial mailing list