麻烦看看 操作 网页的拖拽滑块 的时候显示 “未将对象引用设置到对象的实例。”这个问题,请问怎么解决 谢谢
2022-01-16 23:08:50,408 [19] [INFO] : XbotEngine(13076) exited
2022-01-16 23:08:50,418 [19] [INFO] : XbotEngine(5708) started
2022-01-16 23:08:51,063 [40] [INFO] : End HandlePauseAsync
2022-01-16 23:11:06,254 [32] [INFO] : Begin HandlePauseAsync
2022-01-16 23:11:06,262 [1] [INFO] : XbotEngine(5708) running
2022-01-16 23:11:44,427 [19] [INFO] : XbotEngine(5708) exited
2022-01-16 23:11:44,436 [19] [INFO] : XbotEngine(3924) started
2022-01-16 23:11:44,895 [37] [INFO] : End HandlePauseAsync
2022-01-16 23:11:54,496 [37] [INFO] : Begin HandlePauseAsync
2022-01-16 23:11:54,499 [1] [INFO] : XbotEngine(3924) running
2022-01-16 23:14:07,914 [19] [INFO] : XbotEngine(3924) exited
2022-01-16 23:14:07,931 [19] [INFO] : XbotEngine(2816) started
2022-01-16 23:14:07,979 [1] [WARN] : 终止ID为6556进程失败
System.ArgumentException: ID 为 6556 的进程当前未运行。
在 System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
在 System.Diagnostics.Process.GetProcessById(Int32 processId)
在 ShadowBot.Common.Utilities.ProcessHelper.KillProcessAndChildren(Int32 pid) 位置 C:\Work\xbot\src\client\ShadowBot.Common\Utilities\ProcessHelper.cs:行号 318
2022-01-16 23:14:08,047 [20] [INFO] : End HandlePauseAsync
2022-01-16 23:15:18,782 [33] [INFO] : Begin HandlePauseAsync
2022-01-16 23:15:18,784 [1] [INFO] : XbotEngine(2816) running
2022-01-16 23:15:34,677 [36] [WARN] : Traceback (most recent call last):
File "C:\Program Files (x86)\ShadowBot\shadowbot-4.9.14\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files (x86)\ShadowBot\shadowbot-4.9.14\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files (x86)\ShadowBot\shadowbot-4.9.14\python\lib\site-packages\xbot_interpreter.py", line 67, in <module>
main()
File "C:\Program Files (x86)\ShadowBot\shadowbot-4.9.14\python\lib\site-packages\xbot_interpreter.py", line 47, in main
mod.main(args)
File "C:\Users\Administrator\AppData\Local\ShadowBot\users\fa433c88-558f-4636-8342-a16beb3459a2\apps\c35ebb2d-8e19-4eb0-ba9d-95853ad4e49b\xbot_robot\main.py", line 26, in main
], _block=("main", 15, "调用流程"))
File "<string>", line 110, in wrapper
File "<string>", line 105, in wrapper
File "<string>", line 82, in run
File "C:\Users\Administrator\AppData\Local\ShadowBot\users\fa433c88-558f-4636-8342-a16beb3459a2\apps\c35ebb2d-8e19-4eb0-ba9d-95853ad4e49b\xbot_robot\process2.py", line 23, in main
xbot_visual.web.element.drag_to(browser=web_page, element=package.selector("行内元素_"), drag_way="default", target_element=None, left="1347", top="452", delay_after="1", anchor_type="center", sudoku_part="MiddleCenter", offset_x="0", offset_y="0", release_anchor_type="center", release_sudoku_part="MiddleCenter", release_offset_x="0", release_offset_y="0", timeout="20", _block=("验证码", 6, "拖拽元素(web)"))
File "<string>", line 110, in wrapper
File "<string>", line 105, in wrapper
File "<string>", line 89, in drag_to
File "<string>", line 580, in get_anchor_position
File "<string>", line 832, in _invoke
File "<string>", line 112, in execute
File "<string>", line 89, in execute
xbot.errors.UIAError: Code:-1,Message:未将对象引用设置到对象的实例。
2022-01-16 23:15:34,680 [19] [INFO] : XbotEngine(2816) exited
2022-01-16 23:15:34,690 [19] [INFO] : XbotEngine(11424) started
2022-01-16 23:15:34,939 [32] [INFO] : End