繁體中文

問題修復

解決報表偶爾罷工的錯誤,徹底擺脫壓縮檔讀取問題

以前看分析報表時,有時候會突然跳出 ZipImportError 這種錯誤說讀不到檔案,現在這問題已經被徹底解決了。這是因為系統在跑報表時,會去讀取三個散落在外面的小檔案,而這些檔案被包在 python313.zip 這種壓縮檔裡,跟之前修好的介面閃退問題是同一個原因。現在工程師把這三個檔案都搬進了報表專用的資料夾裡,讓整個報表產出流程都不用再去拆壓縮檔了。就像是一間工廠的組裝線,原本員工要跑去外面的倉庫,手忙腳亂地拆紙箱拿少數幾個零件,偶爾還會拆壞箱子;現在把所有需要的零件通通搬進組裝線旁邊的零件櫃裡,隨手就能拿到,再也不會出錯卡線了。

English

BUGFIX

Fixed occasional report failures by moving all modules out of zipped loads

If you occasionally encountered a ZipImportError that crashed your analysis report, this issue is now completely resolved. The problem happened because the reporting system needed three stray files that were still awkwardly trapped inside the python313.zip archive—the exact same root cause behind an earlier UI crash. The engineers have now moved all three of these files safely inside the dedicated report folder, meaning the entire report pipeline no longer needs to unzip anything to run. It's like a factory assembly line where workers previously had to run to an outside warehouse and frantically tear open cardboard boxes just to grab three specific screws, occasionally ripping the box and stalling the line; now, those screws have been moved to the parts bin right next to the conveyor belt, perfectly within reach.

原始 CHANGELOG

Original changelog解決報表偶爾罷工的錯誤,徹底擺脫壓縮檔讀取問題
**Analysis report occasionally failed with `ZipImportError: bad local file header`**: `analyzer/reporter.py` imported three single-file modules (`persona_loader.py`, `subscription.py`, `ai_updates_loader.py`) that lived outside the package directories py2app already unzips, so they still loaded through `python313.zip` — the same failure mode the earlier adapters/analyzer/ui packaging fix was meant to close. Moved all three under `analyzer/` so the entire report pipeline is now free of zipimport.