[繁体中文]             |

赛壶网

头部广告

yum命令安装软件时出现"Exiting on user cancel"错误的解决办法

[Copy link]
分享奖励排行榜
Post time 2020-1-1 09:21:37 | Show all posts |Read mode

解决办法:修改/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


有人访问你的分享时,你将获得奖励(每次1金钱,重复访问不计)

Reply

Use magic Report

使用高级回帖 (可批量传图、插入视频等)快速回复

You have to log in before you can reply Login | 立即加入

Points Rules   Ctrl + Enter 快速发布  

发帖时请遵守我国法律,网站会将有关你发帖内容、时间以及发帖IP地址等记录保留,只要接到合法请求,即会将信息提供给有关政府机构。
Quick Reply To Top Return to the list