- 博客(12)
- 问答 (2)
- 收藏
- 关注
原创 【无标题】pymysql 报错 pymysql.err.ProgrammingError: (1064, “You have an error in your SQL syntax
调试代码,执行完成以后报错pymysql.err.ProgrammingError: (1064, “You have an error in your SQL syntax解决:原因是insert into 后面应该有个空格,这样再执行就执行通过了
2022-05-21 09:11:54
2216
原创 2021-09-20
Jenkins 访问localhost:8080提示localhost拒绝连接请求在windows系统上搭建jenkins持续集成有两种方法:1、war文件,可以用tomcat或者java命令直接运行2、msi安装,作为系统服务后台运行前提:安装并配置java环境war文件下载地址:http://mirrors.jenkins-ci.org/war/latest/jenkins.war下载放到Tomcat\webapps目录下,启动tomcat即可或者用命令 java -jar jenkins.warm
2021-09-20 13:54:49
108
原创 2021-09-14
执行用例报错selenium.common.exceptions.SessionNotCreatedExceptionappium+python+unittest执行用例报错selenium.common.exceptions.SessionNotCreatedException: Message: A new session could not be created. (Original error: Requested a new session but one was in progress)批量
2021-09-14 13:28:47
74
原创 2021-09-14
执行用例报错ResourceWarning:Enable tracemalloc to get the object allocation traceback原因是某个文件没有关闭导致的我原来是这样写的修改后执行用例再就没有报错
2021-09-14 13:19:32
105
原创 2021-09-13
解决.conf文件创建成功后,无法读写的问题在pycharm里面创建一个文件,命名为.conf的文件,创建成功后页面上方提示.conf files are supported by IntelliJ Ultimate…IDEA无法打开conf文件File——Settings——Editor——File Types新增.conf , 然后File name patterns 设置为 *.conf ,保存就可以了...
2021-09-13 13:00:20
1242
1
原创 2021-09-12
读取yaml的时候报警告,解决YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe.解决问题:data=yaml.load(file,Loader=yaml.FullLoader)
2021-09-12 13:09:45
95
原创 2021-09-10
adb 连接之 error: protocol fault (couldn‘t read status): Connection reset by peer大多数情况是5037端口被占用。5037为adb默认端口。解决办法:任务管理器, 看到adb的进程, 关闭掉, 然后重新启动 adb start-server 。...
2021-09-10 11:18:08
431
原创 2021-09-06
逍遥模拟器网络无法连接,app访问网络权限受限基本 第二个方法可以解决 ,我是用第三个方法好的,可以访问网络了!!!!第一种 WiFi关闭导致1.点击设置2.打开WLAN 设置3.点击右边 打开按钮 如图下 重启模拟器即可 如果无效继续往下看第二种 WiFi是打开的但是还是无法连接网络(该方法基本可以解决)1.2.3.4.5.需要全部设置自动获取6.在打开 Win+R 打开运行窗口(输入cmd)7.一次填写命令1、netsh winsock reset回车【提示重
2021-09-06 10:41:40
2809
原创 2021-09-03
adb连接逍遥模拟器,无法连接的原因原因是逍遥模拟器的adb版本和android-sdk里面的adb版本不一样操作:1.把Android-sdk下的platform-tools的adb复制一下,替换逍遥模拟器的安装目录下的,\MEmu文件夹内的adb文件2.需要把逍遥模拟器里面adb的路径添加到环境变量中,重启逍遥模拟器即可...
2021-09-03 14:02:59
124
原创 2021-09-02
**adb连接模拟器连接不上,设备信息为空,appium启动模拟器报错**Encountered internal error running command: Error: Error executing adbExec. Original error: ‘Command ‘D:\android-sdk\platform-tools\adb.exe -P 5037 -s 127.0.0.1:62001 shell pm list packages com.tiens.chinads’ exited
2021-09-02 16:54:34
332
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人