随笔分类 -  我遇到的异常们呀

摘要:问题描述: 执行build clean命令成功,执行gradle assemble${BUILDTYPE}Release时报错 FAILURE: Build failed with an exception. * What went wrong: Gradle build daemon disapp 阅读全文
posted @ 2020-11-04 14:29 wangju003 阅读(2962) 评论(0) 推荐(0) 编辑
摘要:找到问题所在了,我是因为参数错误,导致了这个报错。 问题描述: parameters中有一个参数:ENV,该参数是 选项参数: 如图,共有5个参数,而在测试的过程中,把Release参数拼写错了,导致jenkins无法识别 jenkins.JenkinsException 参考文档: jenkins 阅读全文
posted @ 2020-09-10 15:20 wangju003 阅读(1156) 评论(0) 推荐(0) 编辑
摘要:开了5个线程 使用requests.post访问一台服务器 错误提示: Exception in thread Thread-2: Traceback (most recent call last): File "D:\My_virtualenv\autotest\lib\site-packages 阅读全文
posted @ 2020-08-13 14:35 wangju003 阅读(937) 评论(0) 推荐(0) 编辑
摘要:jenkins master控制slave(windows)机器克隆项目时报错,但是windows 本地可以使用git克隆成功的 错误如图: 看到下面的错误提示,怀疑git路径设置有问题 解决问题的过程: 1.在slave本地可以用git克隆项目,但是通过jenkins构建job时,就会报错 2.猜 阅读全文
posted @ 2020-05-19 15:23 wangju003 阅读(1005) 评论(0) 推荐(0) 编辑
摘要:说明: 现在有float型值 5 字符型值 a 我原想它们组成一个这样的字符串:5a 但是Python 不允许直接把数字和字符拼接在一起(如果拼在一起就会报标题显示的错误) 示例: >>> 5+'a' Traceback (most recent call last): File "<stdin>" 阅读全文
posted @ 2020-05-13 14:02 wangju003 阅读(18302) 评论(0) 推荐(1) 编辑
摘要:IOS打包报错: Could not find private key file: AuthKey_NCD8233CS5.p8 原因:没有正确存放.private_keys 文件 private_keys这个文件是上传appstore时需要用到的,此文件从苹果开发者后台下载,且只能下载1次,必须要妥 阅读全文
posted @ 2020-05-11 14:24 wangju003 阅读(1088) 评论(0) 推荐(0) 编辑
摘要:警告: Warning: Python 3.6 was not found on your system… You can specify specific versions of Python with: $ pipenv --python path\to\python 原因: 服务器项目中的py 阅读全文
posted @ 2020-05-09 15:12 wangju003 阅读(1608) 评论(0) 推荐(0) 编辑
摘要:执行delete-SQL报错: Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. To disable sa 阅读全文
posted @ 2020-04-26 10:50 wangju003 阅读(357) 评论(0) 推荐(0) 编辑
摘要:如图: 使用jenkins执行自动化脚本,但是频繁遇到下面这样的问题,而中断测试: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='appts.xxxx.com', port=443): Max retries excee 阅读全文
posted @ 2020-04-24 10:11 wangju003 阅读(1086) 评论(0) 推荐(0) 编辑
摘要:1.打开配置文件 nano /etc/supervisord.conf 2.修改后如下内容: unix_http_server结点 [unix_http_server] ;file=/tmp/supervisor.sock ; (the path to the socket file) file=/ 阅读全文
posted @ 2020-04-21 15:34 wangju003 阅读(2337) 评论(0) 推荐(0) 编辑
摘要:问题: SyntaxError: Non-UTF-8 code starting with '\xba' in file E:/placement/placement/Placement Test/clTest.py on line 6, but no encoding declared; see 阅读全文
posted @ 2020-03-31 11:53 wangju003 阅读(885) 评论(0) 推荐(0) 编辑
摘要:在Ubuntu上安装软件,不小心升级了pip,导致使用时报错如下 后来发现是因为将pip更新为10.0.0后库里面的函数有所变动造成这个问题。 解决方法如下: 方法一: sudo gedit /usr/bin/pip3 将原来的 from pip import main 改为 from pip._i 阅读全文
posted @ 2020-01-20 15:09 wangju003 阅读(387) 评论(0) 推荐(0) 编辑
摘要:安装pycharm之后,通过命令sh pycharm.sh启动pycharm报错如下: 解决办法: sudo apt-get install unity-gtk3-module 如果之后还有问题,尝试下面的命令 Does sudo apt-get install unity-gtk3-module 阅读全文
posted @ 2020-01-20 14:25 wangju003 阅读(988) 评论(0) 推荐(0) 编辑
摘要:问题描述: Ubuntu 18.04 命令行执行命令报错提示:Failed to load module "canberra-gtk-module"解决方案:1、执行以下命令,相信定有奇效 sudo apt-get install libcanberra-gtk-module 2、执行过程中,按照提 阅读全文
posted @ 2020-01-20 11:52 wangju003 阅读(4450) 评论(0) 推荐(1) 编辑
摘要:报错信息如下: + git push warning: push.default 未设置,它的默认值将会在 Git 2.0 由 'matching' 修改为 'simple'。若要不再显示本信息并在其默认值改变后维持当前使用习惯, 进行如下设置: git config --global push.d 阅读全文
posted @ 2020-01-14 16:34 wangju003 阅读(6729) 评论(0) 推荐(0) 编辑
摘要:问题: 执行git push 命令之后报错: bogon:PPAutoPackageScript usrname$ git commit -m "add test.sh" [detached HEAD da19d347] add test.sh 1 file changed, 4 insertion 阅读全文
posted @ 2020-01-09 14:46 wangju003 阅读(2483) 评论(0) 推荐(0) 编辑
摘要:问题描述: 通过jenkins执行IOS打包脚本,在执行pod update 时报错 pod: command not found /Library/Tomcat8/temp/jenkins1548742361760571620.sh: line 3: pod: command not found 阅读全文
posted @ 2019-12-26 11:34 wangju003 阅读(3039) 评论(0) 推荐(0) 编辑
摘要:问题描述: 电脑A通过ssh远程另一台电脑B时报错 wangju@wangju-HP-348-G4:~$ ssh xxxx@10.1.5.94 ssh: connect to host 10.1.5.94 port 22: Connection refused 我的问题其实是这样造成的: 我要访问的 阅读全文
posted @ 2019-12-25 13:25 wangju003 阅读(6146) 评论(0) 推荐(0) 编辑
摘要:问题描述: 执行gradle tasks报错: gradle tasks > Configure project :app Exception while marshalling /usr/local/android-home/android-sdk-linux/build-tools/28.0.3 阅读全文
posted @ 2019-12-06 10:10 wangju003 阅读(1584) 评论(0) 推荐(0) 编辑
摘要:问题描述: 已经安装了android-sdk 和gradle环境,并配置了环境变量,如下所示: android环境 root@wangju-HP-348-G4:/home/wangju/Desktop/5i5j_android/AppFrameWork# adb version Android De 阅读全文
posted @ 2019-12-06 09:59 wangju003 阅读(12126) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示