手机采集公众号文章不停的报错,换了手机还是一样
回答
收藏

手机采集公众号文章不停的报错,换了手机还是一样

b
banmennongfu
2024-04-17 22:01·浏览量:316
b
banmennongfu
发布于 2024-04-17 22:01316浏览

是我操作什么不对吗?一运行就提示这个。我采集的是手机公众号文章,因为我觉得电脑端的不详细,而且推荐机制没有手机端好,所以我用手机采集公众号文章,但是捕获文章就困难重重,关键是每次运行还提示这个。社区的帖子都看了,好像都没有解决的办法

An unknown server-side error occurred while processing the command. Original error: io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: Timed out after 15539ms waiting for the root AccessibilityNodeInfo in the active window. Make sure the active window is not constantly hogging the main UI thread (e.g. the application is being idle long enough), so the accessibility manager could do its work

Traceback (most recent call last):

 File "D:\影刀\shadowbot-5.16.50\python\lib\runpy.py", line 193, in _run_module_as_main

   "__main__", mod_spec)

 File "D:\影刀\shadowbot-5.16.50\python\lib\runpy.py", line 85, in _run_code

   exec(code, run_globals)

 File "D:\影刀\shadowbot-5.16.50\python\lib\site-packages\xbot_interpreter.py", line 113, in <module>

   main()

 File "D:\影刀\shadowbot-5.16.50\python\lib\site-packages\xbot_interpreter.py", line 57, in main

   try:

 File "C:\Users\Administrator\AppData\Local\ShadowBot\users\668834540968980482\apps\78302053-d795-46c8-87dc-75b0b191eddb\xbot_robot\main.py", line 19, in main

   mobile_element_attribute3 = xbot_visual.mobile.element.get_details(session=device_session, element=package.selector("文本框_真正内心强大的人,都"), operation="text", attribute_name="", _block=("main", 11, "获取手机元素信息"))

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

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

 File "<string>", line 261, in get_details

 File "<string>", line 365, in _element

 File "<string>", line 55, in find

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

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

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

xbot.errors.UIAError: Message:An unknown server-side error occurred while processing the command. Original error: io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: Timed out after 15539ms waiting for the root AccessibilityNodeInfo in the active window. Make sure the active window is not constantly hogging the main UI thread (e.g. the application is being idle long enough), so the accessibility manager could do its work

Code:-1


尝试过的方案

光是捕获手机元素在公众号文章里面就不是很好用

而且,

这两种模式我都切换了的,还是报错,只是报错的原因不一样

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