• 首页
  • 狐文
  • 狐图
  • About
狐窝
OvO
  1. 首页
  2. Linux
  3. 正文

Debian更新报错 TypeError: 'NoneType' object is not callable

2018年10月26日 103点热度 3人点赞 0条评论

Exception ignored in:.remove at 0x76125420>Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in removeTypeError: 'NoneType' object is not callableException ignored in:.remove at 0x76125420>

Traceback (most recent call last):

File "/usr/lib/python3.5/weakref.py", line 117, in remove

TypeError: 'NoneType' object is not callable

 

原因:

python3.5的bug

修复补丁

https://github.com/python/cpython/commit/9cd7e17640a49635d1c1f8c2989578a8fc2c1de6.patch

手动处理方案:

找到Py3.5的weakref.py文件
-        def remove(wr, selfref=ref(self)):
+        def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref):
-                    _remove_dead_weakref(d, wr.key)
+                    _atomic_removal(d, wr.key)
标签: 暂无
最后更新:2018年10月26日

OvO

狐狸

点赞
< 上一篇
下一篇 >
最新 热点 随机
最新 热点 随机
钛备份或小米系统备份功能备份出来的APK无法正常还原 BBR安装启用 安装docker mitmproxy 调试方法 Android SDK 版本选择 Perdition Mail代理服务器配置 HAProxy SSL代理 Openssl 中间人SSL代理 Stunnel SSL to SSL代理 NGINX反代IMAP配置 各种设备User Agent Torrent下载工具推荐 用 rar2john+hashcat 破解 RAR 文件密码 2020最好的Linux发行版 关闭新版chrome工具栏上拼图图标 Office 下载、安装、激活,有它就够了! Android 非官方的发行版 openwrt添加autoconf-archive
git 设置代理 Maven启用代理访问 系统守护进程inetd、xinetd与独立守护进程standalone ESXI无法添加裸磁盘 推荐 15 款很棒的文本编辑器 下载源码 & 编译Chromium 附加到SQL2012的数据库就不能再附加到低于SQL2012的数据库版本 git同一项目使用多个远程仓库 win7更新提示不支持的硬件 FreeNAS相关资料 Windows下的cmd替代工具? 超微主板风扇频繁切换转速 开源 NAS 操作系统不完全汇总 使用IntelliJ IDEA开发SpringMVC网站(一)开发环境 在命令行里展示的文本二维码 Torrent下载工具推荐 opnsense配置OpenVPN linux CPU压力测试脚本
标签聚合
e yum 下载 ssl 路由 blog chromium 密码 git docker chrome 安装 https 网卡 linux 镜像

COPYRIGHT © 2020 狐窝. ALL RIGHTS RESERVED.

THEME KRATOS MADE BY VTROIS