New standalone Windows release

Maquelin, Olivier olivier.maquelin at intel.com
Fri Sep 23 13:32:35 CDT 2005


> -----Original Message-----
> From: Bryan O'Sullivan
> Sent: Friday, September 23, 2005 10:24 AM
> To: Maquelin, Olivier
> Cc: mercurial at selenic.com
> Subject: RE: New standalone Windows release
[...]
>   File "C:\Python24\Lib\site-packages\mercurial\sshrepo.py", 
> line 40, in readerr
> 
>     r,w,x = select.select([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
WinSock.

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')

-- Olivier



More information about the Mercurial mailing list