
运行至第三行时出现了如题错误,变量类型是字符串
"InputDialogResult_Dynamic_b426f452_164a_11ee_a6b7_" 没有 "lower" 属性或方法
Traceback (most recent call last):
File "E:\影刀\ShadowBot\shadowbot-5.12.23\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "E:\影刀\ShadowBot\shadowbot-5.12.23\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "E:\影刀\ShadowBot\shadowbot-5.12.23\python\lib\site-packages\xbot_interpreter.py", line 87, in <module>
main()
File "E:\影刀\ShadowBot\shadowbot-5.12.23\python\lib\site-packages\xbot_interpreter.py", line 47, in main
try:
File "C:\Users\caizi\AppData\Local\ShadowBot\users\96837530817511425\apps\b6b4fb9b-ac22-43e6-8478-8082e57998bd\xbot_robot\process4.py", line 11, in main
xbot_visual.excel.create_sheet(workbook=excel_运费分摊, sheet_name=glv['所属期'], create_way="last", _block=("子流程4", 3, "添加Sheet页"))
File "<string>", line 89, in wrapper
File "<string>", line 84, in wrapper
File "<string>", line 159, in create_sheet
File "<string>", line 128, in create_sheet
File "<string>", line 115, in _check_sheetname_exists
AttributeError: 'InputDialogResult_Dynamic_b426f452_164a_11ee_a6b7_' object has no attribute 'lower'