错误 Error搜集备份(错误有效的解决整理总结)

关于平时使用过程中遇到的错误,有效的解决办法搜集。

序号问题错误提示解决有效参考记录时间
1pytestTypeError: required field "posonlyargs" missing from arguments卸载pytest-allure-adapter
pip3 uninstall pytest-allure-adapter
https://ask.csdn.net/questions/10690132020年6月8日
2allure安装问题

allure现在版本已经更新到allure2

网上很多安装的教程都是要安装pytest-allure-adaptor

allure2已经不用这个了,python下直接安装allure-pytest就行https://www.cnblogs.com/fengzx120/p/10880619.html2020年6月8日
3python读取yaml存在中文编码问题UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 38: illegal multibyte sequence修改yaml文件的格式为GBK2020年6月8日
4docker安装问题

Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"

系统中没有安装
VirtualBox
Windows下的安装:https://blog.csdn.net/zcooa/article/details/806157432020年6月8日
5Windows使用openssl生成自签证书问题unable to load CA private key目录创建不正确https://blog.csdn.net/songlh1234/article/details/1069987902020年6月28日
6

Docker build 报错

Could not open requirments file: [Errno 2] No such file or directory:'requirements.txt'

Add .将全部文件添加到目录或单独添加

COPY requirements.txt requirements.txt

https://www.bbsmax.com/A/ke5jwRvgdr/2020年11月30日
7Docker build 报错

Error response from daemon: Dockerfile parse error line xxx: unknown instruction: xxx

Dockerfile文件写的内容不正确,造成命令无法识别https://blog.csdn.net/keineahnung2345/article/details/860633282020年11月30日
8     
9     
10     
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值