| 解决办法:修改/usr/lib/python2.7/site-packages/urlgrabber/grabber.py文件,注释掉两行代码。如下: elif errcode in (42, 55, 56):# this is probably wrong but ultimately this is what happens
 # we have a legit http code and a pycurl 'writer failed' code
 # which almost always means something aborted it from outside
 # since we cannot know what it is -I'm banking on it being
 # a ctrl-c. XXXX - if there's a way of going back two raises to
 # figure out what aborted the pycurl process FIXME
 raise KeyboardInterrupt
 修改后: #elif errcode in (42, 55, 56):# this is probably wrong but ultimately this is what happens
 # we have a legit http code and a pycurl 'writer failed' code
 # which almost always means something aborted it from outside
 # since we cannot know what it is -I'm banking on it being
 # a ctrl-c. XXXX - if there's a way of going back two raises to
 # figure out what aborted the pycurl process FIXME
 #raise KeyboardInterrupt
 
 |