Unable to cast COM object of type 'System.__ComObject' to interface type 'Interop.SHDocVw.InternetExplorer'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}' failed due to the following error: 不支持此接口 (0x80004002 (E_NOINTERFACE)).
Traceback (most recent call last):
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.10.18\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.10.18\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.10.18\python\lib\site-packages\xbot_interpreter.py", line 87, in <module>
main()
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.10.18\python\lib\site-packages\xbot_interpreter.py", line 47, in main
try:
File "C:\Users\Administrator\AppData\Local\ShadowBot\users\54886262-65c1-4164-bac3-44bbf27a9af0\apps\60cf06d8-b789-4ba0-ba39-c2b03ded2514\xbot_robot\main.py", line 16, in main
raise e
File "C:\Users\Administrator\AppData\Local\ShadowBot\users\54886262-65c1-4164-bac3-44bbf27a9af0\apps\60cf06d8-b789-4ba0-ba39-c2b03ded2514\xbot_robot\main.py", line 12, in main
package.variables['首页'] = xbot_visual.web.get(web_type="ie", mode="title", value="林以", use_wildcard=False, silent_running=False, wait_load_completed=True, load_timeout="20", stop_load_if_load_timeout="handleExcept", open_page=False, url=None, _block=("main", 1, "获取已打开的网页对象"))
File "<string>", line 89, in wrapper
File "<string>", line 84, in wrapper
File "<string>", line 98, in get
File "<string>", line 77, in get
File "<string>", line 96, in get
File "<string>", line 91, in get
File "<string>", line 84, in get
File "<string>", line 357, in _invoke
File "<string>", line 115, in execute
File "<string>", line 88, in execute
xbot.errors.UIAError: Unable to cast COM object of type 'System.__ComObject' to interface type 'Interop.SHDocVw.InternetExplorer'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D30C1661-CDAF-11D0-8A3E-00C04FC9E26E}' failed due to the following error: 不支持此接口 (0x80004002 (E_NOINTERFACE)).