![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug
前热火球员LeBron James
A programmer who can't play basketball is not a good cook
展开
-
python实现scoket支持IPV6报错:[Errno 32] Broken pipe
一、问题描述:公司业务代码要求支持PV6场景,代码做了修改,但是放到环境出现了问题。异常信息:[Errno 32] Broken pipe[ERROR] 2021-03-09 13:02:27,373 /opt/mcu/nms_starter/starter/threads/msg_threads.py 115: [graphite_statistic_thread] [Errno 32] Broken pipe异常抛出点:二、找问题:首先根据报错信息:[Errno 32] Broken p原创 2021-03-10 10:23:15 · 497 阅读 · 0 评论 -
You are using pip version 9.0.3, however version 20.3.1 is available. You should consider upgrading
1.先升级:pip3 install --index-url https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip如果在遇到像这种超时的错误:Traceback (most recent call last): File "/usr/local/python3/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher原创 2020-12-20 23:35:19 · 2324 阅读 · 1 评论 -
Cannot resolve keyword XXX into field
最近项目部署测试,查日志无意中发现了一个问题,异常描述:‘Cannot resolve keyword ‘release_attribute_in’ into field’经过定位找到报错代码:release_attribute_in=[2,4]这是个语法bug,书写不规范,django范围查询条件是在字段key值后面加"__",双下划线,也即是:release_attribute__in=[2,4]...原创 2020-05-25 11:05:44 · 4217 阅读 · 0 评论