51Testing软件测试论坛

标题: uiautomator2 总是重启失败,卸载重装也无效 [打印本页]

作者: 测试积点老人    时间: 2019-8-8 10:28
标题: uiautomator2 总是重启失败,卸载重装也无效
uiautomator2总是重启失败,卸载重装也无效,按照提示验证都正常,且按照提示更新也无效
报错信息如下:
  1. INFO:apscheduler.executors.default:Running job "prepare_test (trigger: interval[0:01:00], next run at: 2018-11-21 23:00:24 CST)" (scheduled at 2018-11-21 23:00:24.105281+08:00)
  2. /Library/Python/2.7/site-packages/uiautomator2/__init__.py:470: RuntimeWarning: uiautomator2 is not reponding, restart uiautomator2 automatically
  3.   stacklevel=1)
  4. [2018-11-21 23:00:24] uiautomator is starting ...
  5. [2018-11-21 23:00:25] uiautomator is starting ...
  6. [2018-11-21 23:00:26] uiautomator is starting ...
  7. [2018-11-21 23:00:27] uiautomator is starting ...
  8. [2018-11-21 23:00:29] uiautomator is starting ...
  9. [2018-11-21 23:00:30] uiautomator is starting ...
  10. [2018-11-21 23:00:31] uiautomator is starting ...
  11. [2018-11-21 23:00:32] uiautomator is starting ...
  12. [2018-11-21 23:00:33] uiautomator is starting ...
  13. [2018-11-21 23:00:34] uiautomator is starting ...
  14. [2018-11-21 23:00:35] uiautomator is starting ...
  15. [2018-11-21 23:00:36] uiautomator is starting ...
  16. [2018-11-21 23:00:37] uiautomator is starting ...
  17. [2018-11-21 23:00:38] uiautomator is starting ...
  18. [2018-11-21 23:00:39] uiautomator is starting ...
  19. [2018-11-21 23:00:40] uiautomator is starting ...
  20. [2018-11-21 23:00:41] uiautomator is starting ...
  21. [2018-11-21 23:00:43] uiautomator is starting ...
  22. [2018-11-21 23:00:44] uiautomator is starting ...
  23. ERROR:apscheduler.executors.default:Job "prepare_test (trigger: interval[0:01:00], next run at: 2018-11-21 23:01:24 CST)" raised an exception
  24. Traceback (most recent call last):
  25.   File "/Library/Python/2.7/site-packages/apscheduler/executors/base.py", line 125, in run_job
  26.     retval = job.func(*job.args, **job.kwargs)
  27.   File "/Users/lizhen/cmcm/android_perfmance/battery/bugreport_python/battery_scene/u2_bugreport_test.py", line 118, in prepare_test
  28.     screen_unlock()
  29.   File "/Users/lizhen/cmcm/android_perfmance/battery/bugreport_python/battery_scene/u2_bugreport_test.py", line 34, in screen_unlock
  30.     sess.screen_on()
  31.   File "/Library/Python/2.7/site-packages/uiautomator2/__init__.py", line 1573, in screen_on
  32.     self.jsonrpc.wakeUp()
  33.   File "/Library/Python/2.7/site-packages/uiautomator2/__init__.py", line 458, in __call__
  34.     params, http_timeout)
  35.   File "/Library/Python/2.7/site-packages/uiautomator2/__init__.py", line 472, in jsonrpc_retry_call
  36.     self.reset_uiautomator()
  37.   File "/Library/Python/2.7/site-packages/uiautomator2/__init__.py", line 653, in reset_uiautomator
  38.     "Uiautomator started failed. Find solutions in https://github.com/openatx/uiautomator2/wiki/Common-issues"
  39. RuntimeError: Uiautomator started failed. Find solutions in https://github.com/openatx/uiautomator2/wiki/Common-issues
复制代码



作者: 海海豚    时间: 2019-8-9 09:45
多操作几次,可能抽风了
作者: qqq911    时间: 2019-8-9 10:44
重新下个
作者: jingzizx    时间: 2019-8-9 13:16
看不出来





欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2