用的debian系统 你的脚本和枫叶的脚本都出现这个问题 ,,,求解决
代码: 全选
请求杂七杂八的玩意ing
Traceback (most recent call last):
File "xuanfeng.py", line 294, in <module>
s = XF()
File "xuanfeng.py", line 63, in __init__
self.main()
File "xuanfeng.py", line 117, in main
self.__gethttp()
File "xuanfeng.py", line 189, in __gethttp
str = self.__request(urlv,'POST',data)
File "xuanfeng.py", line 75, in __request
fp = self.__http['opener'].open(self.__http['req'])
File "/usr/lib/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 1170, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.6/urllib2.py", line 1145, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 110] Connection timed out>