自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 收藏
  • 关注

原创 【linux 下查询 异常 前20行 后100行】

lin@

2024-06-24 13:09:49 425

原创 # adb.exe: error: more than one device/emulator

adb.exe: error: more than one device/emulator执行adb.exe -P 5037 -s 192.168.137.103:5555 forward tcp:19570 tcp:6790,提示 more than one device/emulator背景os:window10adb 版本:C:\Users\lnz>adb --versionAndroid Debug Bridge version 1.0.41Version 30.0.4-66

2020-09-09 19:28:25 1335

原创 ## Cause: java.sql.SQLException: Incorrect string value

Cause: java.sql.SQLException: Incorrect string value环境os:centos7mysql:错误日志8-07 14:03:58.728 DEBUG [c.j.modules.sys.dao.AreaDao.insert ] - ==> Parameters: 0(String), system(String), 2020-08-07 14:03:58.699(Timestamp), system(String), 2020-08

2020-09-09 19:27:38 2417

原创 Failed to install the following Android SDK packages as some licences have not been accepted.

Failed to install the following Android SDK packages as some licences have not been accepted.背景os:win执行的操作:构建job,gradlew clean assembleDebug日志FAILURE: Build failed with an exception.* What went wrong:A problem occurred configuring project '

2020-09-09 19:26:12 510

原创 ## jmeter: not found

背景os:centos7在master 上进行项目构建jenkins 是使用容器部署的master指的就是容器内的linux在centos 命令行中执行jmeter --help 是成功的执行操作:jenkins构建项目,执行命令 tail -10 /etc/profile jmeter --help日志jmeter --help/tmp/jenkins4418531488710591891.sh: 4: /tmp/jenkins4418531488710591891.sh.

2020-09-09 19:24:53 1442

原创 ‘allure‘ 不是内部或外部命令,也不是可运行的程序或批处理文件。

背景os:window10allure:2.13.1在与job相同的虚拟环境下,在cmd中执行allure --version 是成功的;执行操作:使用jenkins运行job 操作,job中的详情配置如下:执行的命令:cd iInterface_pythontutorial-env\Scripts\activate.bat && allure --version && pytest -vs test/weather_test.py --allure.

2020-09-09 19:23:48 6738 1

原创 is outside of element rect:

代码action=TouchAction(self.driver)action.press(x=731,y=1300).wait(200).move_to(x=731,y=484).release().perform()错误日志selenium.common.exceptions.InvalidArgumentException: Message: Coordinate [x=731.0, y=2083.0] is outside of element rect:...

2020-09-09 19:00:23 702 1

原创 WebDriverException: Message: Error forwarding the new session cannot find : Capabilities {appActivit

日志 except TypeError:​ pass​ if exception_class == ErrorInResponseException:​ raise exception_class(response, message)​ elif exception_class == UnexpectedAlertPresentException:​ alert_text = None​ if 'data' in val.

2020-09-09 18:43:33 704

原创 Android Monkey: “No activities found to run, monkey aborted”

用monkey测试app时,输入命令adb shell monkey -p com.example.test -v -500 错误日志1. :Monkey: seed=13 count=5002. :IncludeCategory: android.intent.category.LAUNCHER3. :IncludeCategory: android.intent.category.MONKEY1. **No** **activities found to run****,*

2020-09-09 18:35:03 2642

原创 “message“:“java.lang.IllegalArgumentException: Namespace with prefix ‘xx‘ has not been declared

运行操作运行python 脚本错误日志[HTTP] --> POST /wd/hub/session/0fc42238-dd32-4c85-b4d7-c08920ef4cc3/element[HTTP] {"using":"xpath","value":"com.xueqiu.android:id/action_close"}[debug] [W3C (0fc42238)] Calling AppiumDriver.findElement() with args: **["xpath.

2020-09-09 18:31:04 683

原创 # ModuleNotFoundError: No module named ‘xx‘

解决方案from pathlib import Path#Path(__file__).parent ,这个是获取父级目录sys.path.insert(0, str(Path(__file__).parent.parent.parent))具体要几个parent 根据实际情况调整

2020-09-08 21:59:21 201 1

原创 # 接口出现net::ERR_SSL_PROTOCOL_ERROR

日志xhr.js?b50d:178 POST https://127.0.0.1:5000/login net::ERR_SSL_PROTOCOL_ERRORdispatchXhrRequest @ xhr.js?b50d:178xhrAdapter @ xhr.js?b50d:12dispatchRequest @ dispatchRequest.js?5270:52Promise.then (async)request @ Axios.js?0a06:61Axios.<compu.

2020-09-08 21:58:57 8069 1

原创 # RuntimeError: ‘cryptography‘ package is required for sha256_password or caching_sha2_password auth

执行操作from test_platform.tools.login_api import dbdb.create_all()日志RuntimeError: 'cryptography' package is required for sha256_password or caching_sha2_password auth methods解决方案pip install cryptography

2020-09-08 21:57:51 1392

原创 # Can‘t connect to MySQL server on ‘lnz‘ ([Errno 11001] getaddrinfo failed)

执行操作from test_platform.tools.login_api import dbdb.create_all()代码from flask import Flaskfrom flask_restful import Resource, Apifrom flask_sqlalchemy import SQLAlchemyfrom flask_jwt_extended import JWTManager, create_access_token, jwt_requiredap.

2020-09-08 21:57:33 2061

原创 ## TypeError: required field “posonlyargs“ missing from arguments

环境python:3.8.0os:windows错误 exec(co, module.__dict__) File "d:\program files (x86)\appium\python\lib\site-packages\allure\pytest_plugin.py", line 9, in <module> from allure.common import AllureImpl, StepContext File "<frozen impo.

2020-09-08 21:21:22 917

原创 ## docker “exec: \“/root/entrypoint.sh\“: permission denied“: unknown ##

执行命令:docker run -d --name test testtwo运行结果:[root@localhost ~]# docker run -d --name test testtwo7bd8717c28a002e6f3b97259be59f38367e56004e0ec0a54fe214a247aa6fa22docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: sta.

2020-09-08 21:20:16 3714 1

原创 ## Public key for xxxnoarch.rpm is not installed

执行的命令:yum install -y epel-release 日志如下:warning: /var/cache/yum/x86_64/7/epel/packages/python3-other-rpm-macros-3-26.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEYPublic key for python3-other-rpm-macros-3-26.el7.noarch.rpm i.

2020-09-08 21:17:47 682

原创 ## RuntimeError: Python 3.5 or later is required ##

背景centos7执行的命令docker build -t xx .报错File "/usr/lib/python3.4/site-packages/pip-20.2b1-py3.4.egg/pip/_vendor/pkg_resources/__init__.py", line 92, in <module> raise RuntimeError("Python 3.5 or later is required")RuntimeError: Python 3..

2020-09-08 21:16:28 2629

原创 appium工作原理

appium-uiautomator2-服务器模块旨在使用谷歌的UIAutomator V2 API重新实现应用机器人引导模块。建立在谷歌的 UIAutomator v1 和谷歌的 UIAutomator v1 API 之上的 appium - android - 引导器现已被打破并正式贬值。谷歌 UI 自动器 v2 修复了 v1 中大多数问题。最重要的区别是将框架的升级过程与底层的 Android 操作系统分离。**先决条件:**此模块应支持 Android 5.0 (API 级别 20) 及以.

2020-09-08 14:53:46 214

原创 appium日志分析详解

Microsoft Windows [版本 10.0.18363.1016]© 2019 Microsoft Corporation。保留所有权利。C:\Users\lnz>appium[Appium] Welcome to Appium v1.15.1#端口开启[Appium] Appium REST http interface listener started on 0.0.0.0:4723#接收到创建会话的请求[HTTP] --> POST /wd/hub/session

2020-09-08 14:47:55 1448

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除