Re: urllib timeout

2010-07-30 Thread Lawrence D'Oliveiro
In message <43f464f9-3f8a-4bec-8d06-930092d5a...@g6g2000pro.googlegroups.com>, kBob wrote: > The company changed the Internet LAN connections to "Accept Automatic > settings" and "Use automatic configuration script" Look at that configuration script, figure out what it’s returning for a proxy

Re: urllib timeout

2010-07-28 Thread kBob
On Jul 28, 12:44 pm, John Nagle wrote: > On 7/27/2010 2:36 PM, kBob wrote: > > > > > > > > >   I created a script to access weather satellite imagery fron NOAA's > > ADDS. > > >   It worked fine until recently with Python 2.6. > > >   The company changed the Internet LAN connections to "Accept Aut

Re: urllib timeout

2010-07-28 Thread John Nagle
On 7/27/2010 2:36 PM, kBob wrote: I created a script to access weather satellite imagery fron NOAA's ADDS. It worked fine until recently with Python 2.6. The company changed the Internet LAN connections to "Accept Automatic settings" and "Use automatic configuration script" How do yo

Re: urllib timeout

2010-07-28 Thread Chris Rebert
On Wed, Jul 28, 2010 at 9:30 AM, kBob wrote: > On Jul 28, 9:11 am, kBob wrote: >> The connection problem has to do with the proxy settings. >> >>  In order for me to use Internet Explorer, the LAN's Automatic >> configuration must be turned on and use a script found on the >> company's proxy ser

Re: urllib timeout

2010-07-28 Thread kBob
On Jul 28, 9:11 am, kBob wrote: > On Jul 27, 4:56 pm, MRAB wrote: > > > > > > > kBob wrote: > > > On Jul 27, 4:23 pm, MRAB wrote: > > >> kBob wrote: > > > >>>  I created a script to access weather satellite imagery fron NOAA's > > >>> ADDS. > > >>>  It worked fine until recently with Python 2.6.

Re: urllib timeout

2010-07-28 Thread kBob
On Jul 27, 4:56 pm, MRAB wrote: > kBob wrote: > > On Jul 27, 4:23 pm, MRAB wrote: > >> kBob wrote: > > >>>  I created a script to access weather satellite imagery fron NOAA's > >>> ADDS. > >>>  It worked fine until recently with Python 2.6. > >>>  The company changed the Internet LAN connections

Re: urllib timeout

2010-07-27 Thread MRAB
kBob wrote: On Jul 27, 4:23 pm, MRAB wrote: kBob wrote: I created a script to access weather satellite imagery fron NOAA's ADDS. It worked fine until recently with Python 2.6. The company changed the Internet LAN connections to "Accept Automatic settings" and "Use automatic configuration s

Re: urllib timeout

2010-07-27 Thread kBob
On Jul 27, 4:23 pm, MRAB wrote: > kBob wrote: > > >  I created a script to access weather satellite imagery fron NOAA's > > ADDS. > > >  It worked fine until recently with Python 2.6. > > >  The company changed the Internet LAN connections to "Accept Automatic > > settings" and "Use automatic conf

Re: urllib timeout

2010-07-27 Thread MRAB
kBob wrote: I created a script to access weather satellite imagery fron NOAA's ADDS. It worked fine until recently with Python 2.6. The company changed the Internet LAN connections to "Accept Automatic settings" and "Use automatic configuration script" How do you get urllib.urlopen to use

urllib timeout

2010-07-27 Thread kBob
I created a script to access weather satellite imagery fron NOAA's ADDS. It worked fine until recently with Python 2.6. The company changed the Internet LAN connections to "Accept Automatic settings" and "Use automatic configuration script" How do you get urllib.urlopen to use the the "aut

urllib timeout hole - long timeout if site doesn't send headers.

2008-01-03 Thread John Nagle
ver sent, while "http://www.example.com"; yields a proper web page. Even Firefox doesn't time this out properly. Try "http://soton.ac.uk"; in Firefox, and be prepared for a long wait. There was some active work in the urllib timeout area last summer. What happened to t

Re: More urllib timeout issues.

2007-05-02 Thread John Nagle
Facundo Batista wrote: > Steve Holden wrote: > > >>1) There is work afoot to build timeout arguments into network libraries >>for 2.6, and I know Facundo Batista has been involved, you might want to >>Google or email Facundo about that. > > > Right now (in svn trunk) httplib, ftplib, telnetli

Re: More urllib timeout issues.

2007-05-02 Thread Facundo Batista
Steve Holden wrote: > 1) There is work afoot to build timeout arguments into network libraries > for 2.6, and I know Facundo Batista has been involved, you might want to > Google or email Facundo about that. Right now (in svn trunk) httplib, ftplib, telnetlib, etc, has a timeout argument. If y

Re: More urllib timeout issues.

2007-05-02 Thread Facundo Batista
John Nagle wrote: > I took a look at Facundo Batista's work in the tracker, and he > currently seems to be trying to work out a good way to test the > existing SSL module. It has to connect to something to be tested, Right now, test_socket_ssl.py has, besides the previous tests, the capabil

Re: More urllib timeout issues.

2007-04-28 Thread John Nagle
Steve Holden wrote: > John Nagle wrote: >> Then we'd have a reasonable network timeout system. >> We have about half of the above now, but it's not consistent. >> >> Comments? >> > The only comments I'll make for now are > > 1) There is work afoot to build timeout arguments into network libraries

Re: More urllib timeout issues.

2007-04-28 Thread Steve Holden
John Nagle wrote: >I thought I had all the timeout problems with urllib worked around, > but no. > >socket.setdefaulttimeout is useful, but not always effective. > I'm setting that to 15 seconds. > If the host end won't open the connection within 15 seconds, > urllib times out. But if the

More urllib timeout issues.

2007-04-27 Thread John Nagle
I thought I had all the timeout problems with urllib worked around, but no. socket.setdefaulttimeout is useful, but not always effective. I'm setting that to 15 seconds. If the host end won't open the connection within 15 seconds, urllib times out. But if the host end opens the connection,

Re: urllib timeout issues

2007-03-29 Thread supercooper
On Mar 27, 4:50 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Tue, 27 Mar 2007 17:41:44 -0300, supercooper <[EMAIL PROTECTED]> > escribió: > > > > > On Mar 27, 3:13 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > > wrote: > >> En Tue, 27 Mar 2007 16:21:55 -0300, supercooper <[EMAIL PROTECTE

Re: urllib timeout issues

2007-03-27 Thread Nick Vatamaniuc
On Mar 27, 4:41 pm, "supercooper" <[EMAIL PROTECTED]> wrote: > On Mar 27, 3:13 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: > > > > > En Tue, 27 Mar 2007 16:21:55 -0300, supercooper <[EMAIL PROTECTED]> > > escribió: > > > > I am downloading images using the script below. Sometimes it will g

Re: urllib timeout issues

2007-03-27 Thread Gabriel Genellina
En Tue, 27 Mar 2007 17:41:44 -0300, supercooper <[EMAIL PROTECTED]> escribió: > On Mar 27, 3:13 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: >> En Tue, 27 Mar 2007 16:21:55 -0300, supercooper <[EMAIL PROTECTED]> >> escribió: >> >> > I am downloading images using the script below. Sometim

Re: urllib timeout issues

2007-03-27 Thread supercooper
On Mar 27, 3:13 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Tue, 27 Mar 2007 16:21:55 -0300, supercooper <[EMAIL PROTECTED]> > escribió: > > > I am downloading images using the script below. Sometimes it will go > > for 10 mins, sometimes 2 hours before timing out with the following > >

Re: urllib timeout issues

2007-03-27 Thread Gabriel Genellina
En Tue, 27 Mar 2007 16:21:55 -0300, supercooper <[EMAIL PROTECTED]> escribió: > I am downloading images using the script below. Sometimes it will go > for 10 mins, sometimes 2 hours before timing out with the following > error: > > urllib.urlretrieve(fullurl, localfile) > IOError: [Errno soc

urllib timeout issues

2007-03-27 Thread supercooper
I am downloading images using the script below. Sometimes it will go for 10 mins, sometimes 2 hours before timing out with the following error: Traceback (most recent call last): File "ftp_20070326_Downloads_cooperc_FetchLibreMapProjectDRGs.py", line 108, i n ? urllib.urlretrieve(fullurl, lo