
Error
在开发过程中遇到的一些错误收集
liuskyter
学习使我快乐!
展开
-
Temporary failure resolving ‘mirrors.163.com‘
Err:4 http://mirrors.163.com/debian-security buster/updates InRelease Temporary failure resolving 'mirrors.163.com'Reading package lists...W: Failed to fetch http://mirrors.163.com/debian/dists/buster/InRelease Temporary failure resolving 'mirrors.16...原创 2021-11-05 16:37:01 · 2016 阅读 · 0 评论 -
【arm 环境】【docker】【centos】 容器不能访问外网,宿主机可以访问外网
【arm 环境】【docker】【centos】 容器不能访问外网,宿主机可以访问外网问题描述:docker 构建镜像时候对镜像内需要进行资源配置时,发现不能访问外网注意: 大家在使用docker的时候最好把宿主机的防火墙关了service iptables stop,因为创建容器的时候默认会在防火墙里面添加了docker规则。cnetos systemctl stop firewalldfirewalld.service - firewalld - dynamic firewall daemon原创 2021-04-02 10:14:39 · 1865 阅读 · 0 评论 -
Error: lookup squid01.internal: no such host
Error: Failed container creation: Get https://cloud-images.ubuntu.com/releases/streams/v1/index.json: proxyconnect tcp: lookup squid01.internal: no such host原因解决办法:1. vi /etc/hosts 增加squid01 的host配置2. lxc config edit 删除代理配置原因由于配置了squid的代理,导致host配置无效,最终l原创 2020-12-28 10:29:04 · 281 阅读 · 0 评论 -
Host key verification failed.
ssh error: Host key verification failed.[root@server1 etc]# ssh root@192.168.131.7@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@原创 2020-12-24 16:08:17 · 152 阅读 · 4 评论 -
RuntimeError: Model class catalog.pub.database.models.NSPackageModel doesn‘t declare an explicit app
ERROR:RuntimeError: Model class catalog.pub.database.models.NSPackageModel doesn’t declare an explicit app_label and isn’t in an application in INSTALLED_APPS.情景: 使用pycharm 开发django,编写UT时候,报如上错误。分析: pycharm 启动需要读取setting 中的config 来支撑运行,此时需要将该UT的配置改成项目se原创 2020-10-20 15:31:04 · 191 阅读 · 0 评论 -
curl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated.
问题记录:curl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated.如果使用Https 访问http启动的项目,会出现此错误原创 2020-06-18 14:47:58 · 6412 阅读 · 2 评论 -
Django error
Error1:django.core.exceptions.ImproperlyConfigured: Requested setting LOGGING_CONFIG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call ...原创 2020-03-25 22:44:09 · 309 阅读 · 0 评论 -
Gerrit error:remote: ERROR: The following addresses are currently registered:XXX
嗨,gerrit push的时候出错了把。别着急。知道这是为啥吗。让我一一给你道来!当你上传gerrit代码时候需要登陆ssh用户名和密码,此时电脑会自动记录你第一次输入的用户名和密码。当你用其他的账号想要提交代码时候,user.name 和user.emali 都已经更新了,但是还出现错误:remote: ERROR: The following addresses are curr...原创 2018-09-07 17:39:43 · 7463 阅读 · 1 评论 -
AttributeError: 'module' object has no attribute 'X509_up_ref'
在安装python 一些第三方包时候,会出现AttributeError: 'module' object has no attribute 'X509_up_ref'错误。查阅资料后发现是pyOpenSSL版本过低或者不兼容导致的。解决办法:卸载再重装pyOpenSSLpip uninstall pyOpenSSLpip install pyOpenSSL然后再进行包...原创 2019-04-25 15:57:51 · 519 阅读 · 1 评论