vpslijie / chnroutes

Automatically exported from code.google.com/p/chnroutes
0 stars 0 forks source link

OS X 10.8.2 系统默认情况下运行.py出现以下问题如何解决 #76

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Traceback (most recent call last):
  File "chnroutes.py", line 247, in <module>
    generate_mac(args.metric)
  File "chnroutes.py", line 67, in generate_mac
    results=fetch_ip_data()
  File "chnroutes.py", line 192, in fetch_ip_data
    data=urllib2.urlopen(url).read()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 394, in open
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 412, in _open
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1199, in http_open
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1174, in do_open
urllib2.URLError: <urlopen error [Errno 8] nodename nor servname provided, or 
not known>

Original issue reported on code.google.com by wpae...@gmail.com on 17 Feb 2013 at 6:33