随笔分类 -  BUG

分享记录bug
Ubuntu16.04默认Python3.5升级Python3.6踩坑
摘要:ImportError: No module named 'secrets' Failed to fetch http://ppa.launchpad.net/ Some index files failed to download. They have been ignored, or old ones used instead E: Unable to locate package python3.6 E: Couldn't find any package by glob 'python3.6' E: Couldn't find any package by regex 'python3.6' subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1. 阅读全文
posted @ 2020-04-13 12:01 落叶虽美只活一世 阅读(4035) 评论(0) 推荐(0) 编辑
Ubuntu18.04LTS安装docker报错:Command 'lsb_release' not found
摘要:Command 'lsb_release' not found E: Malformed entry 52 in list file /etc/apt/sources.list (Component) E: The list of sources could not be read. 阅读全文
posted @ 2020-02-26 11:58 落叶虽美只活一世 阅读(4639) 评论(0) 推荐(1) 编辑
pika使用报错queue_declare() missing 1 required positional argument: 'queue'
摘要:TypeError: queue_declare() missing 1 required positional argument: 'queue' 阅读全文
posted @ 2019-12-12 09:44 落叶虽美只活一世 阅读(918) 评论(0) 推荐(0) 编辑
pip安装psycopg2失败解决
摘要:ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-umsabgcl/psycopg2/ 阅读全文
posted @ 2019-10-31 18:55 落叶虽美只活一世 阅读(3173) 评论(0) 推荐(0) 编辑
git clone下代码window与unix换行问题
摘要:项目中避免不了会写一些shell脚本,使用ln软连接到一个目录。当git clone到windows中,ln连接显示无比怪异(如../xx),打开.sh文件后(仅仅是打开了),git status会看到该.sh文件做了修改,查看差异是LF【Unix and OS X(\n)】转成CRLF【Windo 阅读全文
posted @ 2019-10-26 13:49 落叶虽美只活一世 阅读(2883) 评论(0) 推荐(0) 编辑
PostgreSQL没有认证密码就登陆了缘由
摘要:上午同事爆出这样的问题,使用正确的用户名和错误的密码连接了postgresql数据库,竟然连上了。这不是故意这样神操作,不小心密码写错了,咋一看这样怎么能行,随便输入一个密码都能登陆上。自己测试也是同样的结果。仔细核实代码的确是创建用户名带密码了: 查了postgresql配置文件才发现,认证方式的 阅读全文
posted @ 2019-10-08 14:04 落叶虽美只活一世 阅读(2513) 评论(0) 推荐(0) 编辑
记一次crontab执行和日志生成问题
摘要:一、crontab未执行 crontab里面设置定时任务如下: 问题:存放log日志的logs目录没有权限,更改logs目录为777权限 二、crontab未按当前日期生成日志文件 date显示的时间格式如下: 生成日志文件为:a_logs_2019年 09月 02日 星期一 19:37:01 CS 阅读全文
posted @ 2019-09-03 10:42 落叶虽美只活一世 阅读(2851) 评论(0) 推荐(0) 编辑
VirtualBox Ubuntu设置静态ip亲测可行
摘要:virtualbox重启后ip会自动分配,不固定。项目中需要配置ip地址,因此每次ip换了,需要重新配置和编译。 网上搜罗好几种方法进行配置,尝试下面这种简单并且可行: 步骤一:查看虚拟机网卡 ifconfig 步骤二:查看宿主机网卡 ipconfig 步骤三:配置静态ip和dns sudo vim 阅读全文
posted @ 2019-09-02 14:23 落叶虽美只活一世 阅读(2428) 评论(0) 推荐(0) 编辑
PyQt5之QtMultimedia模块音乐播放没声音已解决
摘要:PyQt5音乐播放没声音 QtMultimedia QMediaPlayer 阅读全文
posted @ 2019-07-03 11:43 落叶虽美只活一世 阅读(3903) 评论(0) 推荐(1) 编辑
python发送邮件554DT:SPM已解决
摘要:python发送邮件554DT:SPM已解决 please see http://mail.163.com/help/help_spam_16.htm?ip=36.110.94.251&hostid=smtp10 阅读全文
posted @ 2019-06-27 18:04 落叶虽美只活一世 阅读(4528) 评论(0) 推荐(0) 编辑
使用crontab定时执行python文件问题追根溯源
摘要:crontab crontab: installing new crontab centos上安装python3 阅读全文
posted @ 2019-06-25 16:48 落叶虽美只活一世 阅读(534) 评论(0) 推荐(0) 编辑
python导包一不小心就入坑(常用解决办法)
摘要:ImportError:No module named SystemError: Parent module '' not loaded, cannot perform relative import 阅读全文
posted @ 2019-06-24 16:19 落叶虽美只活一世 阅读(436) 评论(0) 推荐(0) 编辑
pyteeseract使用报错Error: one input ui-file must be specified解决
摘要:pyteeseract使用报错Error: one input ui-file must be specified解决 Tesseract-OCR 阅读全文
posted @ 2019-06-09 14:34 落叶虽美只活一世 阅读(3750) 评论(0) 推荐(0) 编辑
mysql插入数据报错一二
摘要:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near Data truncated for column 'update_time' at row 1 阅读全文
posted @ 2019-05-20 11:24 落叶虽美只活一世 阅读(874) 评论(0) 推荐(0) 编辑
Jstorm执行task报错windows CONFIG SET protected-mode no
摘要:Creating Server TCP listening socket 127.0.0.1:6379: bind: No error windows CONFIG SET protected-mode no Could not get a resource from the pool 阅读全文
posted @ 2019-05-08 19:02 落叶虽美只活一世 阅读(529) 评论(0) 推荐(0) 编辑
go报错unimplemented: 64-bit mode not compiled in与mingw 64位安装报错ERROR res已解决
摘要:# github.com/DataDog/zstd cc1.exe: sorry, unimplemented: 64-bit mode not compiled in mingw 64位报错ERROR res 阅读全文
posted @ 2019-04-24 13:29 落叶虽美只活一世 阅读(4633) 评论(0) 推荐(0) 编辑
navicat连接Oracle数据库
摘要:记录一下navicat连接Oracle数据库过程: 一、根据自己版本去Oracle官网下载instantclient 地址:https://www.oracle.com/technetwork/topics/winx64soft-089540.html 二、 navicat设置OCI环境 进入nav 阅读全文
posted @ 2019-02-14 13:06 落叶虽美只活一世 阅读(649) 评论(0) 推荐(0) 编辑
golang 报错illegal rune literal
摘要:记录一下,今天运行一端代码遇到这个报错"illegal rune literal",代码如下: illegal这个单词报错比较常见,【不合法】,golang对引号使用还是很严格的,使用双引号包裹字符串,否则报上面那个错误。 阅读全文
posted @ 2019-02-01 15:32 落叶虽美只活一世 阅读(2086) 评论(0) 推荐(0) 编辑
golang 缺少逗号报错问题
摘要:一个逗号引发的语法报错问题:syntax error: unexpected newline, expecting comma or }或者missing ',' before newline in composite literal 代码如下: 阅读全文
posted @ 2019-01-28 17:02 落叶虽美只活一世 阅读(3685) 评论(0) 推荐(0) 编辑
Go used as value问题
摘要:练习Go变参时遇到一个报错:used as value 代码如下: 从上面代码可以看出myfunc()函数是没有返回值的,直接调用就可以,不需要使用fmt包或者给返回值进行输出。 阅读全文
posted @ 2019-01-25 16:35 落叶虽美只活一世 阅读(5038) 评论(1) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
Live2D
欢迎阅读『BUG』
点击右上角即可分享
微信分享提示