AirtestProject / AirtestProject/Poco
脚本运行结束后报错 File "D:\Python36\lib\site-packages\hrpc\object_proxy.py", line 114, in __del__
- Lenguaje dominante
- Python
- Estrellas
- 2k
- Forks
- 341
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
****
脚本运行结束后报错 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]
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.