On Jun 8, 12:58 pm, Steven D'Aprano wrote:
> On Mon, 08 Jun 2009 12:14:18 +0100, Mark Devine wrote:
> > Hi
> > I wonder if someone could point me in the right direction. I used the
> > following code to access gmail but I got a
> > urllib2.URLError:
On Mon, 08 Jun 2009 12:14:18 +0100, Mark Devine wrote:
> Hi
> I wonder if someone could point me in the right direction. I used the
> following code to access gmail but I got a
> urllib2.URLError:
> error when I ran it. I have included the Traceback
>
> import
Hi
I wonder if someone could point me in the right direction. I used the
following code to access gmail but I got a
urllib2.URLError:
error when I ran it. I have included the Traceback
import twill, string, os
b=twill.commands.get_browser()
b.set_agent_string("Mozilla/5.0 (Windo
:\PROGRA~1\Python26\lib\urllib2.py", line 361, in _call_chain
result = func(*args)
File "C:\PROGRA~1\Python26\lib\urllib2.py", line 1138, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\PROGRA~1\Python26\lib\urllib2.py", line 1105, in do_open
ile "C:\PROGRA~1\Python26\lib\urllib2.py", line 361, in
> _call_chain
> result = func(*args)
> File "C:\PROGRA~1\Python26\lib\urllib2.py", line 1163, in
> unknown_open
> raise URLError('unknown url type: %s' % type)
> urllib2.URLError:
A
A~1\Python26\lib\urllib2.py", line 1163, in
unknown_open
raise URLError('unknown url type: %s' % type)
urllib2.URLError:
--
http://mail.python.org/mailman/listinfo/python-list
Urlopen error - (7, 'getaddrinfo failed')
It means their tracker is overworked. Nothin you can do
about it.. let it run.. it should start workin sooner or
later.
--
http://mail.python.org/mailman/listinfo/python-list
urllib2.py", line 129, in urlopen
return _opener.open(url, data)
File "C:\Python23\lib\urllib2.py", line 326, in open
'_open', req)
File "C:\Python23\lib\urllib2.py", line 306, in _call_chain
result = func(*args)
File "C:\Python23\lib\urllib2.py&q