1. Tarek Ziadé
  2. distribute
Issue #28 invalid

easy_install tries to open the same URL multiple times despite timing out

Sridhar Ratnakumar
created an issue

I added a print statement printing "trying to open .." in the function open_with_auth.

essentially easy_install/buildout tries to open the same URL multiple times. this is silly.

{{{ trying to open http://ipython.scipy.org Download error: timed out -- Some packages may not be found! trying to open http://ipython.scipy.org/dist Download error: timed out -- Some packages may not be found! trying to open http://ipython.scipy.org Download error: timed out -- Some packages may not be found! trying to open http://ipython.scipy.org/dist Download error: timed out -- Some packages may not be found! trying to open http://ipython.scipy.org Download error: timed out -- Some packages may not be found! trying to open http://ipython.scipy.org Download error: timed out -- Some packages may not be found! trying to open http://ipython.scipy.org Download error: timed out -- Some packages may not be found! trying to open http://ipython.scipy.org Download error: timed out -- Some packages may not be found! trying to open http://ipython.scipy.org }}}

Comments (7)

  1. Anonymous

    Perhaps this happens only during socket timeouts? Try doing a `socket.setdefaulttimeout(2)` or something?

    I remember setting the timeout in the old code I had. If the timeout is really small (1 sec, for eg.), they we may be able to repro the issue.

  2. Sridhar Ratnakumar reporter

    Well, I can't reproduce it either (after setting socket timeout). Drat! I should have given a detailed repro steps earlier when I reported this. My apologies; please feel free to resolve this issue as invalid.

  3. Log in to comment