考试获取excel数据报错
回答
收藏

考试获取excel数据报错
70刀币

贺
贺海民10012261
2025-11-23 13:12·浏览量:391
贺
贺海民10012261
发布于 2025-11-23 13:12391浏览

2025-11-23 13:09:56.957 python3.10[75440:26738010] Can't find app with identifier com.microsoft.Excel


2025-11-23 13:09:56.966 python3.10[75440:26738010] warning: failed to get scripting definition from /Applications/wpsoffice.app; it may not be scriptable.


2025-11-23 13:09:56.967 python3.10[75440:26738010] Can't find app with identifier com.microsoft.Excel


2025-11-23 13:09:56.967 python3.10[75440:26738010] Can't find app with identifier com.microsoft.Excel


Traceback (most recent call last):

 File "/Applications/影刀.app/Contents/Resources/app/node_modules/xbot-engine/lib/python310/lib/python3.10/site-packages/xbot_interpreter.py", line 65, in main

   mod.main(args)

 File "/Users/pai/Library/Application Support/Shadowbot/users/877124509690593280/apps/7cd27b45-b45a-485b-b514-d9e5b40d1457/xbot_robot/main.py", line 10, in main

   excel数据 = xbot_visual.excel.launch(launch_way="open", driver_way="auto_check", open_filename="/Users/pai/Downloads/2b5f510d2e47a8c788901605227fdfb2.xlsx", save_filename=None, isvisible=True, ignoreformula=False, password=None, write_password=None, update_links=False, _block=("main", 1, "打开/新建Excel"))

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

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

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

 File "<string>", line 80, in open

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

AttributeError: 'SBScriptableApplication' object has no attribute 'openWorkbookWorkbookFileName_updateLinks_readOnly_format_password_writeReservedPassword_ignoreReadOnlyRecommended_origin_delimiter_editable_notify_converter_addToMru_'


尝试过的方案

电话

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