469,332 Members | 6,650 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,332 developers. It's quick & easy.

urllib2.urlopen gives error 10060

Hello, everyone,

I am quite new to python and I don't know how to solve this problem. I
hope someone can help me.

I just did a test in python shell:
>>import urllib2
urllib2.urlopen("http://python.org")
Traceback (most recent call last):
File "c:\Zope\<string>", line 1, in ?
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 358, in open
response = self._open(req, data)
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 376, in _open
'_open', req)
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 337, in _call_chain
result = func(*args)
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 1021, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Zope\2.10.5\Python\Lib\urllib2.py", line 996, in do_open
raise URLError(err)
URLError: <urlopen error (10060, 'Operation timed out')>

I am using Windows XP and the python was installed along with a zope
installation. I can get on internet with Firefox browser without any
proxy setting.

I can do the test successfully on another computer on the same home
network. I just don't know what happens to this one. Can anyone help me
to troubleshoot this? Any suggestion would be really appreciated.

Jin

Mar 26 '08 #1
0 2405

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Matthew Wilson | last post: by
2 posts views Thread by John F Dutcher | last post: by
1 post views Thread by Doug Farrell | last post: by
5 posts views Thread by Pascal | last post: by
reply views Thread by Benjamin Schollnick | last post: by
reply views Thread by Ali.Sabil | last post: by
1 post views Thread by Alessandro Fachin | last post: by
1 post views Thread by Magnus.Moraberg | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by haryvincent176 | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.