请问这是什么问题,场景是手机usb连接电脑执行任务
回答
收藏

请问这是什么问题,场景是手机usb连接电脑执行任务

l
lonelyshushu
2023-12-05 13:57·浏览量:202
l
lonelyshushu
发布于 2023-12-05 13:57202浏览

An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: 'GET /wd/hub/session/d9125d16-4fef-425b-8bb2-ed4880ca1cf5/element/c3518064-8478-4870-adc4-f9a2199f72c0/text' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details

Traceback (most recent call last):

 File "<string>", line 133, in iter_all_elements

 File "<string>", line 98, in get_text

 File "<string>", line 129, in _invoke

 File "<string>", line 88, in execute

xbot.errors.UIAError: Message:An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: 'GET /wd/hub/session/d9125d16-4fef-425b-8bb2-ed4880ca1cf5/element/c3518064-8478-4870-adc4-f9a2199f72c0/text' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details

Code:-1


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

 File "C:\Program Files (x86)\ShadowBot\shadowbot-5.13.33\python\lib\runpy.py", line 193, in _run_module_as_main

   "__main__", mod_spec)

 File "C:\Program Files (x86)\ShadowBot\shadowbot-5.13.33\python\lib\runpy.py", line 85, in _run_code

   exec(code, run_globals)

 File "C:\Program Files (x86)\ShadowBot\shadowbot-5.13.33\python\lib\site-packages\xbot_interpreter.py", line 94, in <module>

   main()

 File "C:\Program Files (x86)\ShadowBot\shadowbot-5.13.33\python\lib\site-packages\xbot_interpreter.py", line 53, in main

   try:

 File "C:\Users\User\AppData\Local\ShadowBot\users\589942672725917698\apps\bebd9940-805f-4990-b40b-034783ea5a1e\xbot_robot\main.py", line 62, in main

   ], _block=("main", 44, "调用流程"))

 File "<string>", line 89, in wrapper

 File "<string>", line 84, in wrapper

 File "<string>", line 82, in run

 File "C:\Users\User\AppData\Local\ShadowBot\users\589942672725917698\apps\bebd9940-805f-4990-b40b-034783ea5a1e\xbot_robot\process17.py", line 30, in main

   ], _block=("帖子类型判断", 3, "调用流程"))

 File "<string>", line 89, in wrapper

 File "<string>", line 84, in wrapper

 File "<string>", line 82, in run

 File "C:\Users\User\AppData\Local\ShadowBot\users\589942672725917698\apps\bebd9940-805f-4990-b40b-034783ea5a1e\xbot_robot\process18.py", line 35, in main

   ], _block=("获取评论数", 6, "调用流程"))

 File "<string>", line 89, in wrapper

 File "<string>", line 84, in wrapper

 File "<string>", line 82, in run

 File "C:\Users\User\AppData\Local\ShadowBot\users\589942672725917698\apps\bebd9940-805f-4990-b40b-034783ea5a1e\xbot_robot\process15.py", line 72, in main

   for mobile_element5 in xbot_visual.mobile.element.iter_all_elements(session=手机, select_type="xbot_selector", selector=package.selector("全部评论-相似元素组"), str_selector=None, output_with_index=False, operation="element", attribute_name=None, loop_start_index="0", loop_end_index="-1", _block=("关注大于8", 40, "循环相似元素(手机)")):

 File "<string>", line 136, in iter_all_elements

 File "<string>", line 96, in find_elements

 File "<string>", line 40, in find_all

 File "<string>", line 590, in _invoke

 File "<string>", line 88, in execute

xbot.errors.UIAError: Message:请检查移动设备是否已连接

Code:-1


收藏
全部回答1
最新
发布回答
回答