AirtestProject / AirtestProject/AirtestIDE

Traceback (most recent call last): File "d:\sorftware\python\lib\site-packages\airtest\cli\runner.py", line 70, in runTest exec(compile(code.encode("utf-8"), pyfilepath, 'exec'), self.scope) File "D:\work\gameAD\LS\gameAD.py", line 19, in <module> if not cli_setup(): File "d:\sorftware\python\lib\site-packages\airtest\cli\parser.py", line 55, in cli_setup args = ap.parse_args(args) File "d:\sorftware\python\lib\argparse.py", line 1771, in parse_args self.error(msg % ' '.join(argv))

Open
#1,070 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
236
Forks
40
PR merge metrics
No merged PRs in 30d

Description

代码在IDE和pycharm上运行正常,在使用命令行执行时会报错
命令为:airtest run "D:\work\gameAD\LS\gameAD.py" --device "android://127.0.0.1:5037/127.0.0.1:62025" --log "D:\work\gameAD\log\LS\%nowtime%Log"
![图片](https://user-images.githubusercontent.com/90608463/178668560-31a589df-e2e1-447c-81bd-0ec1d9136aa8.png)

Python版本:3.8
airtestIDE版本:v1.2.14
操作系统:win10 64
设备:夜神模拟器

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.