(-2147417848, '被调用的对象已与其客户端断开连接。', None, None)
回答
收藏

(-2147417848, '被调用的对象已与其客户端断开连接。', None, None)

1
163123发
2023-03-18 23:25·浏览量:1855
1
163123发
发布于 2023-03-18 23:251855浏览

 (-2147417848, '被调用的对象已与其客户端断开连接。', None, None)
Traceback (most recent call last):
File "F:\影刀\shadowbot-5.9.26\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "F:\影刀\shadowbot-5.9.26\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "F:\影刀\shadowbot-5.9.26\python\lib\site-packages\xbot_interpreter.py", line 67, in <module>
main()
File "F:\影刀\shadowbot-5.9.26\python\lib\site-packages\xbot_interpreter.py", line 47, in main
mod.main(args)
File "C:\Users\Administrator\AppData\Local\ShadowBot\users\75452966137769985\apps\74034af6-e7e0-4ea6-82ac-bdf54a1ab90b\xbot_robot\process1.py", line 94, in main
xbot_visual.word.write_text_to_document(word_instance=word_instance2, content=web_element_list, text_format="{\r\n \"font\": {\r\n \"name\": \"宋体\",\r\n \"style\": \"常规\",\r\n \"size\": 11,\r\n \"color\": 0,\r\n \"strikethrough\": false,\r\n \"subscript\": false,\r\n \"superscript\": false,\r\n \"bold\": false,\r\n \"italic\": false\r\n },\r\n \"background\": {\r\n \"pattern\": -4142,\r\n \"patternColor\": 0.0,\r\n \"color\": 0,\r\n \"invertIfNegative\": false\r\n }\r\n}", newline=False, _block=("文章生成+发送", 59, "写入文本至Word中"))
File "<string>", line 87, in wrapper
File "<string>", line 82, in wrapper
File "<string>", line 164, in write_text_to_document
File "<string>", line 302, in _get_selection
File "<string>", line 114, in get_selection
File "<COMObject Open>", line 2, in Activate
pywintypes.com_error: (-2147417848, '被调用的对象已与其客户端断开连接。', None, None)

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