[繁体中文]             |

赛壶网

头部广告

版块导航

资讯
热点信息展赛资讯
烟壶
烟壶光韵内画艺术烟壶文化烟壶知识藏友交流内画点评
名家
大师专栏内画名家艺术机构赛壶展厅
书画
绘画艺术书法集萃金石篆刻诗词文赋
文玩
古玩收藏当代艺术
生活
衣食住行摄影采风海阔天空中华传统
站务
公告信息意见建议议事厅回收站

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地址等记录保留,只要接到合法请求,即会将信息提供给有关政府机构。
返回顶部快速回复上一主题下一主题返回列表QQ交流群手机访问

  

     
您需要 登录 后才可以回复,没有帐号?立即注册 使用QQ帐号登录
高级模式QQ反馈
快讯
Quick Reply To Top Return to the list