AirtestProject / AirtestProject/Airtest
[未开代理] ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接。
- 主要語言
- Python
- 星號
- 9.6k
- 分支
- 1.5k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
# 复现步骤
- 点击运行按钮
- 当运行到 touch 语句时,会失败
- Log 查看窗显示报错信息
# 报错信息
```
[11:37:39][DEBUG] match result: {'result': (205, 1063), 'rectangle': ((155.2, 1044.76), (155.2, 1081.76), (255.2, 1081.76), (255.2, 1044.76)), 'confidence': 0.9999935626983643, 'time': 0.006583690643310547}
[11:37:39][ERROR] Traceback (most recent call last):
File "airtest\cli\runner.py", line 70, in runTest
File "C:\Users\15622\AppData\Local\Temp\AirtestIDE\Scripts\untitled.air\untitled.py", line 32, in
...
File "airtest\core\android\android.py", line 515, in touch
File "airtest\core\android\touch_methods\touch_proxy.py", line 128, in touch
File "airtest\utils\snippet.py", line 125, in ready_func
File "airtest\core\android\touch_methods\base_touch.py", line 212, in touch
File "airtest\utils\snippet.py", line 125, in ready_func
File "airtest\core\android\touch_methods\base_touch.py", line 188, in perform
File "airtest\core\android\touch_methods\base_touch.py", line 98, in safe_send
File "airtest\core\android\touch_methods\base_touch.py", line 95, in safe_send
File "airtest\utils\safesocket.py", line 35, in send
ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接。
```
# 环境信息
- OS: Win10
- 设备: Vivo Y66i
- Airtest: 1.2.13
# 代码
```
poco("领取 ").click()
sleep(5)
touch([226,1062]) # 确认领取,在这里报错
sleep(10)
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。