随笔分类 -  Bug Solution

排坑,Windows、Linux使用过程中的bug
摘要:python3使用request httpx下载文件,获取不到文件大小,response没有content-length header 最简单的排查问题的办法就是用浏览器去下载 如果浏览器在下载时,也不显示总大小,那么说明服务器不支持 HTTP response header中,除了content- 阅读全文
posted @ 2022-11-24 21:15 云牧青 阅读(444) 评论(0) 推荐(0)
摘要:git报错 fatal: could not read Username for 'https://github.com': No such device or address 原因是没有GitHub token,而且cicd时无法输入用户密码 正常来说我们使用actions/checkout@v3 阅读全文
posted @ 2022-10-23 22:25 云牧青 阅读(161) 评论(0) 推荐(0)
摘要:jetbrains PyCharm WebStorm com.intellij.ide.plugins.StartupAbortedException: Cannot start app 原因是IDEA需要在端口6942~6991间找到一个可用端口并绑定 但目前这个端口段是系统保留端口,无法使用,查 阅读全文
posted @ 2022-10-16 10:49 云牧青 阅读(1124) 评论(0) 推荐(0)
摘要:PyCharm WebStorm Missing essential plugin: com.intellij (platform prefix: null) Please reinstall IntelliJ IDEA from scratch. 安装好idea后运行时报错如上,重新安装和编辑di 阅读全文
posted @ 2022-05-02 12:09 云牧青 阅读(5457) 评论(0) 推荐(1)
摘要:Can't find sshd log file 本人用的centos7一直在/var/log/secure记录登录日志,但是换了Rocky Linux却找不到 查看/etc/ssh/sshd_config文件发现 # Logging #SyslogFacility AUTH SyslogFacil 阅读全文
posted @ 2021-12-22 14:05 云牧青 阅读(907) 评论(0) 推荐(0)
摘要:centos编译安装Python时,提示“Warning: File `Makefile.pre.in' has modification time 19209898 s in the future”先说结论:系统时间不对。如果遇到编译make时一直checking,那不用等了,它停不下来。实际上make没有checking步骤,它是一直在跑./configure,ctrl C停下程序,应该能找到这么一句。所以它不断重复生成Makefile。这时候可以使用 `date` 命令查看系统时间,如果不对,可以用NTP服务校准,或手动设置 阅读全文
posted @ 2021-05-16 13:30 云牧青 阅读(2042) 评论(1) 推荐(1)