@
zhfish Traceback (most recent call last):
File "
netspeed.py", line 120, in <module>
my_netspeed = NetSpeed()
File "
netspeed.py", line 21, in __init__
self.initSelf()
File "
netspeed.py", line 30, in initSelf
self.logger.addHandler(logging.handlers.SysLogHandler("/dev/log"))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/
handlers.py", line 760, in __init__
self._connect_unixsocket(address)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/
handlers.py", line 788, in _connect_unixsocket
self.socket.connect(address)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 2] No such file or directory
urllib2 始终报错。。。何解?