AirtestProject / AirtestProject/Poco

脚本运行结束后报错 File "D:\Python36\lib\site-packages\hrpc\object_proxy.py", line 114, in __del__

Aperta
#270 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
2k
Fork
341
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

****
脚本运行结束后报错 File "D:\Python36\lib\site-packages\hrpc\object_proxy.py", line 114, in __del__

```
[03:23:56][DEBUG] D:\Python36\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s CEZT4H85TWFQLZTG forward --remove tcp:19439
[03:23:56][DEBUG] D:\Python36\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s CEZT4H85TWFQLZTG forward --remove tcp:14460
[03:23:56][DEBUG] D:\Python36\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s CEZT4H85TWFQLZTG forward --remove tcp:18578
[03:23:56][DEBUG] D:\Python36\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -s CEZT4H85TWFQLZTG forward --remove tcp:13184
[03:23:56][DEBUG] orientationWatcher has ended
Exception ignored in: '>
Traceback (most recent call last):
File "D:\Python36\lib\site-packages\hrpc\object_proxy.py", line 114, in __del__
File "D:\Python36\lib\site-packages\hrpc\client.py", line 63, in evaluate
hrpc.exceptions.TransportDisconnected: HTTPConnectionPool(host='127.0.0.1', port=14460): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。',))
File "D:\Python36\lib\site-packages\hrpc\transport\http.py", line 26, in send

Exception ignored in: '>
Traceback (most recent call last):
File "D:\Python36\lib\site-packages\hrpc\object_proxy.py", line 114, in __del__
File "D:\Python36\lib\site-packages\hrpc\client.py", line 63, in evaluate
[Finished]
File "D:\Python36\lib\site-packages\hrpc\transport\http.py", line 26, in send
hrpc.exceptions.TransportDisconnected: HTTPConnectionPool(host='127.0.0.1', port=14460): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。',))

============================================================
```

**复现步骤**
1.anroid 9.0手机.
2.打开usbdebug,去stayawake中这个选项中,将它对应的开关打开。

**预期效果**
脚本执行正常。

**相关截图**

**python 版本:** `python3.6`

**poco 版本:** `1.0.76`
> poco版本通过`pip freeze`可以命令可以查到

**设备:**
- 型号: [e.g. google pixel 2]
- 系统: [e.g. Android 9.0]
- 系统: [e.g. WIin10]

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.