Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > urllib2.urlopen gives error 10060

Reply
Thread Tools

urllib2.urlopen gives error 10060

 
 
Jinshi
Guest
Posts: n/a
 
      03-26-2008
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to deal with socket.error: (10060, 'Operation timed out') JuHui Python 3 03-18-2006 12:53 PM
10060, 'Operation timed out' Sumit Acharya Python 11 01-19-2006 09:17 AM
10060, Operation timed out Error Ajay Abhyankar Python 0 10-05-2005 01:11 PM
Resolving 10060, 'Operation timed out' willitfw Python 4 04-22-2005 02:19 PM
Async error 10060 Derek F. Computer Support 1 11-27-2004 01:09 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57