error: 'float' object has no attribute 'strip'
[2023-08-22 20:49:11][parse_console.py:333, tid17164][ERROR] - 'float' object has no attribute 'strip'
Traceback (most recent call last):
File "C:\JulienSlink_Personal\Ind_Prog\github\projz_renpy-devp\parse_console.py", line 330, in main
register_commands[cmd](*args[1:])
File "C:\JulienSlink_Personal\Ind_Prog\github\projz_renpy-devp\parse_console.py", line 285, in loadexcel_cmd
res = load_from_excel(excel_file, source_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\JulienSlink_Personal\Ind_Prog\github\projz_renpy-devp\store\file_store.py", line 124, in load_from_excel
encrypted_tid, old_str, new_str = encrypted_tid.strip().upper(), old_str.strip(), new_str.strip()
^^^^^^^^^^^^^
AttributeError: 'float' object has no attribute 'strip'
详情: 大文本量的rpy合并后成功保存为excel文件,使用GPT云翻后用loadexcel导入时报错,之后我又尝试了导出excel后不做改动直接导入,也是一样的报错。
附件:使用的rpy文件
scripts.zip