diff --git "a/output7/\343\200\220\346\262\263\346\264\233\346\226\207\350\256\200\346\263\250\351\237\263-\351\233\205\344\277\227\351\200\232\343\200\221\343\200\212\345\262\263\351\231\275\346\250\223\350\250\230\343\200\213.xlsx" "b/output7/\343\200\220\346\262\263\346\264\233\346\226\207\350\256\200\346\263\250\351\237\263-\351\233\205\344\277\227\351\200\232\343\200\221\343\200\212\345\262\263\351\231\275\346\250\223\350\250\230\343\200\213.xlsx" index 6fab4ef..0ecc202 100644 Binary files "a/output7/\343\200\220\346\262\263\346\264\233\346\226\207\350\256\200\346\263\250\351\237\263-\351\233\205\344\277\227\351\200\232\343\200\221\343\200\212\345\262\263\351\231\275\346\250\223\350\250\230\343\200\213.xlsx" and "b/output7/\343\200\220\346\262\263\346\264\233\346\226\207\350\256\200\346\263\250\351\237\263-\351\233\205\344\277\227\351\200\232\343\200\221\343\200\212\345\262\263\351\231\275\346\250\223\350\250\230\343\200\213.xlsx" differ diff --git a/process_log.txt b/process_log.txt index 9062fa1..bf7912b 100644 --- a/process_log.txt +++ b/process_log.txt @@ -2740,3 +2740,40 @@ Traceback (most recent call last): ) Exception: All elements of a 2d list or tuple must be of the same length 2025-01-15 23:29:08,197 - INFO - a702_查找及填入漢字標音.py 程式已執行完畢! +2025-01-15 23:29:46,657 - INFO - 作業開始 +2025-01-15 23:29:46,659 - INFO - 專案根目錄為: C:\work\Piau-Im +2025-01-15 23:36:18,081 - ERROR - 作業過程發生未知的異常錯誤: All elements of a 2d list or tuple must be of the same length +Traceback (most recent call last): + File "a702_查找及填入漢字標音.py", line 457, in main + result_code = process(wb) + File "a702_查找及填入漢字標音.py", line 386, in process + ca_han_ji_thak_im( + ~~~~~~~~~~~~~~~~~^ + wb=wb, + ^^^^^^ + ...<6 lines>... + function_name=function_name # "han_ji_ca_piau_im", + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ) + ^ + File "a702_查找及填入漢字標音.py", line 303, in ca_han_ji_thak_im + maintain_han_ji_koo(sheet=khuat_ji_piau_sheet, + ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ + han_ji=han_ji, + ^^^^^^^^^^^^^^ + tai_gi='', + ^^^^^^^^^^ + show_msg=False) + ^^^^^^^^^^^^^^^ + File "c:\work\Piau-Im\mod_excel_access.py", line 143, in maintain_han_ji_koo + sheet.range("A2").value = records # 寫入更新後的資料 + ^^^^^^^^^^^^^^^^^^^^^^^ + File "c:\work\Piau-Im\.venv\Lib\site-packages\xlwings\main.py", line 2482, in value + conversion.write(data, self, self._options) + ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "c:\work\Piau-Im\.venv\Lib\site-packages\xlwings\conversion\__init__.py", line 94, in write + raise Exception( + "All elements of a 2d list or tuple must be of the same length" + ) +Exception: All elements of a 2d list or tuple must be of the same length +2025-01-15 23:36:18,136 - INFO - a702_查找及填入漢字標音.py 程式已執行完畢!