diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fd566f..33b0a0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,29 @@ QPyPack 项目的所有重要变更都将记录在此文件中。 -- +## [2.9.0] - 2026-09-13 + +### 新增 +- 尝试对主流 AI 框架的自动化数据包与依赖收集支持 +- 新增 Paddle/PaddleOCR 安全诊断预警:检测到相关库时主动提示入口脚本需配置 `multiprocessing.freeze_support()`,防止冻结后子进程无限派生耗尽内存 +- 新增云同步目录(OneDrive/Dropbox/百度网盘等)检测与沙箱重定向机制,自动重定向构建沙箱至系统临时目录以防止构建文件死锁 +- 新增 Nuitka 编译器下载/解压异常自愈机制:检测到杀软拦截或缓存损坏时自动清理损坏目录并输出白名单排查指引 + +### 修复 +- 修复 `is_cloud_sync_path` 关键字列表中误入空字符串导致全路径全局误判为云同步目录的致命问题 +- 修复废弃兼容包隔离规则(Backport Shield)计算后未应用到依赖清单写入的问题,确保过滤规则真实生效 +- 修复 Nuitka 排除模块参数缺少格式化字符串前缀导致传参失效并产生非法模块名的问题 +- 修复内存不足降级重试逻辑中无差别添加 `--low-memory` 参数导致 PyInstaller 引擎崩溃报错的问题 +- 修复多文件项目下深度模块依赖未进入全局集合,导致高级依赖收集规则无法覆盖子模块的问题 +- 修复 PyInstaller 打包时重复添加 `--add-data` 捆绑图标导致与内部资源重名冲突及重试机制失效的问题 + +### 优化 +- 统一在引擎调度前汇总主入口、子模块扫描、声明依赖与隐式导入的全量依赖集合,消除双引擎内部的冗余重复计算 +- 补充完善 Paddle 告警等新增提示信息的本地化翻译词条 +- 暂时禁用 Nuitka 默认启用的 `anti-bloat` 插件选项以提高复杂项目编译兼容性 + +-- + ## [2.8.6] - 2026-09-11 ### 修复 diff --git a/CHANGELOG_EN.md b/CHANGELOG_EN.md index f3a9fbf..7a9d363 100644 --- a/CHANGELOG_EN.md +++ b/CHANGELOG_EN.md @@ -6,6 +6,29 @@ All notable changes to the **QPyPack** project will be documented in this file. --- +## [2.9.0] - 2026-09-13 + +### Added +- **AI Framework Packaging Hooks**: Added automated dependency and data-file collection for major AI / Deep Learning frameworks (`paddle`, `paddleocr`, `torch`, `tensorflow`, `mediapipe`) across both PyInstaller and Nuitka engines. +- **Paddle Safety Diagnostic Alert**: Proactively prompts users to configure `multiprocessing.freeze_support()` in their entry script upon detecting Paddle/PaddleOCR, preventing infinite process spawning (fork bombs) and memory exhaustion. +- **Cloud Sync Sandbox Redirection**: Added automatic cloud sync directory detection (OneDrive, Dropbox, Google Drive, Baidu Netdisk, etc.) and redirects the build sandbox to the system temp directory to prevent file locks. +- **Nuitka Cache Self-Healing**: Automatically purges corrupted compiler download caches when extraction is blocked by antivirus or file locks, providing clear whitelist guidance. + +### Fixed +- **Cloud Sync False Positive**: Fixed a critical bug where an accidental empty string in `cloud_keywords` caused every project path to be falsely identified as a cloud sync directory. +- **Backport Shield Rule Application**: Fixed an issue where computed `active_exclusions` were bypassed when writing the atomic requirements file, ensuring obsolete backport packages are reliably excluded. +- **Nuitka Exclude Parameter Formatting**: Fixed a missing f-string prefix in Nuitka's `--nofollow-import-to` argument that resulted in passing literal string `{excl.strip()}`. +- **OOM Retry Engine Check**: Restricted the `--low-memory` flag exclusively to Nuitka during OOM retries to prevent PyInstaller from crashing on unrecognized arguments. +- **Multi-File Dependency Resolution**: Fixed submodule imports not being propagated to the global import set, ensuring `--collect-all` and data collection rules cover the entire project. +- **Redundant Icon Bundling**: Removed duplicate `--add-data` icon inclusion in PyInstaller that caused resource naming collisions and broke icon strip fallback logic. + +### Changed +- Hoisted unified dependency aggregation before engine dispatch, eliminating duplicate import calculations across PyInstaller and Nuitka branches. +- Added localization dictionary entries for the newly introduced Paddle warning message. +- Temporarily disabled Nuitka's default `--enable-plugin=anti-bloat` flag to improve compilation compatibility on complex projects. + +--- + ## [2.8.6] - 2026-09-11 ### Fixed diff --git a/pyproject.toml b/pyproject.toml index b4f787f..7b1b55c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "qpypack" -version = "2.8.6" +version = "2.9.0" description = "A cross-platform GUI packaging and compilation suite based on PyInstaller and Nuitka." readme = "README_EN.md" authors = [ diff --git a/qpypack/locales/ar_SA.json b/qpypack/locales/ar_SA.json index f867b41..b853d5c 100644 --- a/qpypack/locales/ar_SA.json +++ b/qpypack/locales/ar_SA.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "استخدام البيئة الافتراضية", "Version:": "الإصدار:", "View Python": "عرض بايثون", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] تم اكتشاف Paddle! استدعِ 'multiprocessing.freeze_support()' تحت 'if __name__ == \"__main__\":' في برنامج الدخول الخاص بك، وإلا فإن التطبيق المحزم سينشئ عمليات لا نهائية ويستنزف الذاكرة.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] ملف/مجلد موارد إضافي غير موجود: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] تم إحباط البناء: مساحة القرص غير كافية (NoSpaceLeft / Errno 28). يرجى تنظيف مساحة القرص (يوصى بمساحة خالية لا تقل عن 5 جيجابايت) والمحاولة مرة أخرى.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] اكتمل البناء، لكن فشل تثبيت التبعيات التالية:\n\n - {pkgs}\n\nملاحظة: قد يظهر خطأ ModuleNotFoundError عند تشغيل التطبيق.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] ملف الأيقونة المحدد غير موجود: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] تعذر تنظيف البيئة الافتراضية غير الصالحة:\n المسار: {path}\n الخطأ: {error}\n\nيرجى حذف الدليل يدويًا أو إلغاء تحديد 'الاحتفاظ بالبيئة الافتراضية المحلية' وإعادة المحاولة.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] فشل البناء: إصدار مترجم C++ غير متوافق.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] تم حظر استخراج المترجم بواسطة النظام/مكافح الفيروسات. جارٍ تنظيف ذاكرة التخزين المؤقت التالفة تلقائيًا...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] متطلب مترجم Python 3.13+.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] تمت مقاطعة البناء بشكل استثنائي!\n\nاستكشاف الأخطاء الشائعة:\n1. عدم تطابق البيئة (الأكثر شيوعاً): إصدار بايثون المحدد غير متوافق مع الكود المصدري. يرجى الانتقال إلى [إعدادات البناء] للتبديل إلى إصدار بايثون الذي تستخدمه عادةً لهذا الكود.\n2. التبعيات المفقودة: انقر على 'الوضع التفصيلي' أعلاه للتحقق من ModuleNotFoundError.\n3. حظر برنامج مكافحة الفيروسات: تأكد من أن برنامج الأمان لا يحظر عملية البناء.\n\n(ملاحظة: عادةً ما يكون هذا بسبب اختلافات البيئة/الكود وليس محرك التغليف نفسه. يرجى التحقق من السجل التفصيلي للأسباب الدقيقة.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] تمت مقاطعة التجميع مع استثناءات، يرجى النقر على 'الوضع التفصيلي' أعلاه نافذة السجل لاستكشاف الأخطاء وإصلاحها.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] اكتمل التجميع، يتم أرشفة الملفات المبنية...", "[INFO] Creating virtual environment ({name})...": "[INFO] إنشاء بيئة افتراضية ({name})...", "[INFO] Creating virtual environment...": "[INFO] إنشاء بيئة افتراضية...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] تم اكتشاف دليل المزامنة السحابية. جارٍ إعادة توجيه صندوق بناء إلى دليل Temp بالنظام لمنع قفل الملف.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] تنزيل متصفحات Playwright عبر المرآة: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] تقييم الذاكرة الفعلية للنظام (المتاحة: {ram:.1f} جيجابايت). تم ضبط التزامن التكيفي: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] تم العثور على بيئة MSVC + Windows SDK متوافقة، باستخدام المترجم الأصلي.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] استخدام مترجم MinGW64.", "[INFO] Validating output files and generating final product...": "[INFO] التحقق من ملفات الإخراج وإنشاء المنتج النهائي...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] اكتمل التجميع، مسار الإخراج: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] تم مسح ذاكرة التخزين المؤقت التالفة. يرجى إضافة ذاكرة التخزين المؤقت لـ Nuitka إلى القائمة البيضاء لمكافح الفيروسات، أو التبديل إلى محرك PyInstaller وإعادة المحاولة.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] تم تطبيق التوقيع الرقمي بنجاح!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] يحتوي الكود المصدري على أخطاء نحوية، تم إحباط التجميع:\n - الملف: {file}\n - النوع: {type}\n - السطر: السطر {line}\n - التفاصيل: {desc}\n\nنصيحة: يرجى التأكد من أن الكود المصدري يعمل محليًا قبل التعبئة.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] فشل تحليل بناء جملة الكود المصدري، تم إحباط البناء:\n - الملف: {file}\n - التفاصيل: {desc}\n\nنصيحة: هذا عادة ليس خطأ من أداة التعبئة.\nيرجى التأكد من أن [إصدار بايثون للبناء] الذي حددته يطابق الإصدار الذي استخدمته لـ [كتابة/اختبار الكود].\nاستخدام بناء جملة أحدث (مثل عامل الفظ :=، اتحادات الأنواع |، match-case) في بيئة بايثون أقدم سيؤدي إلى هذا الخطأ.\nنوصي بالانتقال إلى [إعدادات البناء] -> [المحرك] للتبديل إلى إصدار بايثون الصحيح.", diff --git a/qpypack/locales/de_DE.json b/qpypack/locales/de_DE.json index dcf2a28..12cd83c 100644 --- a/qpypack/locales/de_DE.json +++ b/qpypack/locales/de_DE.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "Virtuelle Umgebung verwenden", "Version:": "Version:", "View Python": "Python anzeigen", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] Paddle erkannt! Rufen Sie 'multiprocessing.freeze_support()' unter 'if __name__ == \"__main__\":' in Ihrem Einstiegsskript auf, sonst erzeugt die gepackte App unendlich viele Prozesse und erschöpft den Speicher.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] Zusätzliche Ressourcendatei/-verzeichnis nicht gefunden: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] Build abgebrochen: Nicht genügend Speicherplatz (NoSpaceLeft / Errno 28). Bitte geben Sie Speicherplatz frei (mindestens 5 GB freier Speicherplatz empfohlen) und versuchen Sie es erneut.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] Build abgeschlossen, aber die folgenden Abhängigkeiten konnten nicht installiert werden:\n\n - {pkgs}\n\nHinweis: Die Anwendung könnte zur Laufzeit ModuleNotFoundError auslösen.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] Die angegebene Symboldatei existiert nicht: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] Bereinigung der ungültigen virtuellen Umgebung fehlgeschlagen:\n Pfad: {path}\n Fehler: {error}\n\nBitte löschen Sie das Verzeichnis manuell oder deaktivieren Sie 'Lokale Venv behalten' und versuchen Sie es erneut.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] Build fehlgeschlagen: C++-Compiler-Version ist inkompatibel.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] Compiler-Extraktion durch System/Antivirus blockiert. Beschädigter Cache wird automatisch bereinigt...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Python 3.13+ Compiler-Anforderung.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] Build außergewöhnlich unterbrochen!\n\nHäufige Fehlerbehebung:\n1. Umgebungsinkompatibilität (häufigste Ursache): Die ausgewählte Python-Version ist mit Ihrem Quellcode nicht kompatibel. Bitte wechseln Sie in den [Build-Einstellungen] zu der Python-Version, die Sie normalerweise für diesen Code verwenden.\n2. Fehlende Abhängigkeiten: Klicken Sie oben auf 'Detaillierter Modus', um nach ModuleNotFoundError zu suchen.\n3. Antiviren-Blockierung: Stellen Sie sicher, dass Ihre Sicherheitssoftware den Build-Prozess nicht blockiert.\n\n(Hinweis: Dies wird normalerweise durch Umgebungs-/Code-Diskrepanzen verursacht, nicht durch die Verpackungs-Engine selbst. Bitte überprüfen Sie das detaillierte Protokoll für genaue Gründe.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] Kompilierung mit Ausnahmen unterbrochen, bitte klicken Sie oben im Protokollfenster auf 'Detaillierter Modus' zur Fehlerbehebung.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] Kompilierung abgeschlossen, archiviere erstellte Dateien...", "[INFO] Creating virtual environment ({name})...": "[INFO] Erstelle virtuelle Umgebung ({name})...", "[INFO] Creating virtual environment...": "[INFO] Erstelle virtuelle Umgebung...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] Cloud-Synchronisierungsverzeichnis erkannt. Build-Sandbox wird in das System-Temp-Verzeichnis umgeleitet, um Dateisperren zu verhindern.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] Lade Playwright-Browser über Spiegel herunter: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Bewerte physischen Systemspeicher (Verfügbar: {ram:.1f} GB). Adaptive Parallelität angepasst: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] Kompatibles MSVC + Windows SDK gefunden, verwende nativen Compiler.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] Verwendung des MinGW64-Compilers.", "[INFO] Validating output files and generating final product...": "[INFO] Ausgabedateien werden validiert und das Endprodukt wird generiert...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] Kompilierung abgeschlossen, Ausgabepfad: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] Beschädigter Cache gelöscht. Bitte fügen Sie den Nuitka-Cache zur Antivirus-Whitelist hinzu oder wechseln Sie zur PyInstaller-Engine und versuchen Sie es erneut.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] Digitale Signatur erfolgreich angewendet!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] Der Quellcode enthält Syntaxfehler, Kompilierung abgebrochen:\n - Datei: {file}\n - Typ: {type}\n - Zeile: Zeile {line}\n - Detail: {desc}\n\nTipp: Bitte stellen Sie sicher, dass der Quellcode lokal ausgeführt werden kann, bevor Sie ihn verpacken.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] Parsen des Quellcodes fehlgeschlagen, Build abgebrochen:\n - Datei: {file}\n - Detail: {desc}\n\nTipp: Dies ist normalerweise kein Fehler des Paketierungstools.\nBitte stellen Sie sicher, dass die ausgewählte [Build-Python-Version] mit der Version übereinstimmt, die Sie zum [Schreiben/Testen des Codes] verwendet haben.\nDie Verwendung neuerer Syntax (z.B. Walross-Operator :=, Typ-Unionen |, match-case) in einer älteren Python-Umgebung löst diesen Fehler aus.\nWir empfehlen, in den [Baueinstellungen] -> [Engine] zur korrekten Python-Version zu wechseln.", diff --git a/qpypack/locales/es_ES.json b/qpypack/locales/es_ES.json index f691950..8d6aa39 100644 --- a/qpypack/locales/es_ES.json +++ b/qpypack/locales/es_ES.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "Usar entorno virtual", "Version:": "Versión:", "View Python": "Ver Python", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] ¡Paddle detectado! Llama a 'multiprocessing.freeze_support()' bajo 'if __name__ == \"__main__\":' en tu script de entrada, o la aplicación empaquetada generará procesos infinitos y agotará la memoria.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] Archivo/directorio de recurso adicional no encontrado: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] Compilación abortada: Espacio en disco insuficiente (NoSpaceLeft / Errno 28). Por favor, libere espacio en la unidad (se recomienda al menos 5 GB de espacio libre) e intente de nuevo.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] Compilación completada, pero las siguientes dependencias no se pudieron instalar:\n\n - {pkgs}\n\nNota: La aplicación podría generar ModuleNotFoundError en tiempo de ejecución.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] El archivo de icono especificado no existe: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] No se pudo limpiar el entorno virtual inválido:\n Ruta: {path}\n Error: {error}\n\nElimine manualmente el directorio o desmarque 'Mantener venv local' y reintente.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] Falló la compilación: la versión del compilador C++ es incompatible.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] Extracción del compilador bloqueada por el sistema/antivirus. Limpiando automáticamente la caché corrupta...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Requisito del compilador para Python 3.13+.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] ¡La compilación se interrumpió excepcionalmente!\n\nSolución de problemas común:\n1. Desajuste de entorno (más común): La versión de Python seleccionada es incompatible con su código fuente. Vaya a [Configuración de compilación] para cambiar a la versión de Python que usa normalmente para este código.\n2. Dependencias faltantes: Haga clic en 'Modo detallado' arriba para verificar ModuleNotFoundError.\n3. Bloqueo de antivirus: Asegúrese de que su software de seguridad no esté bloqueando el proceso de compilación.\n\n(Nota: Esto suele deberse a discrepancias entre el entorno y el código, no al motor de empaquetado en sí. Consulte el registro detallado para conocer las razones exactas.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] La compilación se interrumpió con excepciones, haga clic en 'Modo detallado' arriba de la ventana de registro para solucionar problemas.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] Compilación completada, archivando archivos compilados...", "[INFO] Creating virtual environment ({name})...": "[INFO] Creando entorno virtual ({name})...", "[INFO] Creating virtual environment...": "[INFO] Creando entorno virtual...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] Directorio de sincronización en la nube detectado. Redirigiendo el entorno de compilación al directorio Temp del sistema para evitar el bloqueo de archivos.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] Descargando navegadores de Playwright vía espejo: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Evaluando memoria física del sistema (Disponible: {ram:.1f} GB). Concurrencia adaptativa ajustada: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] Se encontró un entorno compatible con MSVC + Windows SDK, usando compilador nativo.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] Usando el compilador MinGW64.", "[INFO] Validating output files and generating final product...": "[INFO] Validando archivos de salida y generando el producto final...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] Compilación completada, ruta de salida: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] Caché corrupta eliminada. Agregue la caché de Nuitka a la lista blanca del antivirus, o cambie al motor PyInstaller y vuelva a intentarlo.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] ¡Firma digital aplicada correctamente!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] El código fuente contiene errores de sintaxis, compilación abortada:\n - Archivo: {file}\n - Tipo: {type}\n - Línea: Línea {line}\n - Detalle: {desc}\n\nConsejo: Asegúrese de que el código fuente se ejecute localmente antes de empaquetar.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] Falló el análisis de sintaxis del código fuente, compilación abortada:\n - Archivo: {file}\n - Detalle: {desc}\n\nConsejo: Esto generalmente NO es un fallo de la herramienta de empaquetado.\nAsegúrese de que la [Versión de Python de compilación] seleccionada coincida con la versión que usó para [Escribir/Probar el código].\nUsar sintaxis más nueva (por ejemplo, operador morsa :=, uniones de tipos |, match-case) en un entorno Python más antiguo provocará este error.\nRecomendamos ir a [Configuración de compilación] -> [Motor] para cambiar a la versión correcta de Python.", diff --git a/qpypack/locales/fr_FR.json b/qpypack/locales/fr_FR.json index 5d6873d..51bb05c 100644 --- a/qpypack/locales/fr_FR.json +++ b/qpypack/locales/fr_FR.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "Utiliser l'environnement virtuel", "Version:": "Version :", "View Python": "Voir Python", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] Paddle détecté ! Appelez 'multiprocessing.freeze_support()' sous 'if __name__ == \"__main__\":' dans votre script d'entrée, sinon l'application empaquetée générera des processus infinis et épuisera la mémoire.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] Fichier/répertoire de ressource supplémentaire introuvable : {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] Construction abandonnée : espace disque insuffisant (NoSpaceLeft / Errno 28). Veuillez libérer de l'espace disque (au moins 5 Go d'espace libre recommandé) et réessayer.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] Construction terminée, mais les dépendances suivantes n'ont pas pu être installées :\n\n - {pkgs}\n\nRemarque : L'application pourrait lever une ModuleNotFoundError au moment de l'exécution.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] Le fichier d'icône spécifié n'existe pas : {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] Impossible de nettoyer l'environnement virtuel invalide :\n Chemin : {path}\n Erreur : {error}\n\nVeuillez supprimer manuellement le répertoire ou décocher 'Garder le venv local' et réessayer.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] Échec du build : version du compilateur C++ incompatible.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] Extraction du compilateur bloquée par le système/antivirus. Nettoyage automatique du cache corrompu...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Exigence du compilateur Python 3.13+.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] Construction interrompue de manière exceptionnelle !\n\nDépannage courant :\n1. Incompatibilité d'environnement (la plus courante) : La version Python sélectionnée est incompatible avec votre code source. Veuillez aller dans [Paramètres de construction] pour passer à la version Python que vous utilisez normalement pour ce code.\n2. Dépendances manquantes : Cliquez sur 'Mode détaillé' ci-dessus pour vérifier les ModuleNotFoundError.\n3. Blocage antivirus : Assurez-vous que votre logiciel de sécurité ne bloque pas le processus de construction.\n\n(Remarque : Cela est généralement causé par des écarts entre l'environnement/le code plutôt que par le moteur d'empaquetage lui-même. Veuillez consulter le journal détaillé pour connaître les raisons exactes.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] Compilation interrompue avec des exceptions, veuillez cliquer sur 'Mode détaillé' au-dessus de la fenêtre de journal pour le dépannage.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] Compilation terminée, archivage des fichiers construits...", "[INFO] Creating virtual environment ({name})...": "[INFO] Création de l'environnement virtuel ({name})...", "[INFO] Creating virtual environment...": "[INFO] Création de l'environnement virtuel...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] Répertoire de synchronisation cloud détecté. Redirection du bac à sable de compilation vers le répertoire Temp du système pour éviter le verrouillage de fichiers.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] Téléchargement des navigateurs Playwright via miroir : {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Évaluation de la mémoire physique du système (Disponible : {ram:.1f} Go). Concurrence adaptative ajustée : {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] Environnement MSVC + SDK Windows compatible trouvé, utilisation du compilateur natif.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] Utilisation du compilateur MinGW64.", "[INFO] Validating output files and generating final product...": "[INFO] Validation des fichiers de sortie et génération du produit final...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] Compilation terminée, chemin de sortie : {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] Cache corrompu effacé. Veuillez ajouter le cache Nuitka à la liste blanche de l'antivirus, ou passer au moteur PyInstaller et réessayer.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] Signature numérique appliquée avec succès !", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] Le code source contient des erreurs de syntaxe, compilation interrompue :\n - Fichier : {file}\n - Type : {type}\n - Ligne : Ligne {line}\n - Détail : {desc}\n\nAstuce : Veuillez vous assurer que le code source s'exécute localement avant l'empaquetage.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] L'analyse syntaxique du code source a échoué, build interrompu :\n - Fichier : {file}\n - Détail : {desc}\n\nAstuce : Ce n'est généralement pas une faute de l'outil d'empaquetage.\nAssurez-vous que la [Version Python de build] sélectionnée correspond à celle utilisée pour [Écrire/Tester le code].\nL'utilisation d'une syntaxe plus récente (par exemple, opérateur morse :=, unions de types |, match-case) dans un environnement Python plus ancien déclenchera cette erreur.\nNous recommandons d'aller dans [Paramètres de build] -> [Moteur] pour passer à la version Python correcte.", diff --git a/qpypack/locales/it_IT.json b/qpypack/locales/it_IT.json index 2f37eae..dec7395 100644 --- a/qpypack/locales/it_IT.json +++ b/qpypack/locales/it_IT.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "Usa ambiente virtuale", "Version:": "Versione:", "View Python": "Visualizza Python", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] Rilevato Paddle! Chiama 'multiprocessing.freeze_support()' sotto 'if __name__ == \"__main__\":' nel tuo script di avvio, altrimenti l'app pacchettizzata genererà processi infiniti ed esaurirà la memoria.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] File/directory risorsa aggiuntiva non trovato: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] Build interrotta: spazio su disco insufficiente (NoSpaceLeft / Errno 28). Liberare spazio sul disco (almeno 5 GB di spazio libero consigliati) e riprovare.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] Build completata, ma le seguenti dipendenze non sono state installate:\n\n - {pkgs}\n\nNota: l'applicazione potrebbe generare ModuleNotFoundError in fase di esecuzione.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] Il file icona specificato non esiste: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] Impossibile pulire l'ambiente virtuale non valido:\n Percorso: {path}\n Errore: {error}\n\nElimina manualmente la directory o deseleziona 'Mantieni venv locale' e riprova.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] Build fallita: versione del compilatore C++ incompatibile.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] Estrazione del compilatore bloccata dal sistema/antivirus. Pulizia automatica della cache danneggiata in corso...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Requisito compilatore Python 3.13+.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] Build interrotta in modo anomalo!\n\nRisoluzione dei problemi comune:\n1. Discrepanza dell'ambiente (più comune): la versione di Python selezionata è incompatibile con il codice sorgente. Andare su [Impostazioni di build] per passare alla versione di Python normalmente utilizzata per questo codice.\n2. Dipendenze mancanti: fare clic su 'Modalità dettagliata' sopra per verificare ModuleNotFoundError.\n3. Blocco antivirus: assicurarsi che il software di sicurezza non blocchi il processo di build.\n\n(Nota: di solito è causato da discrepanze ambiente/codice piuttosto che dal motore di packaging stesso. Controllare il log dettagliato per i motivi esatti.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] Compilazione interrotta con eccezioni, fare clic su 'Modalità dettagliata' sopra la finestra del log per la risoluzione dei problemi.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] Compilazione completata, archiviazione dei file compilati...", "[INFO] Creating virtual environment ({name})...": "[INFO] Creazione ambiente virtuale ({name})...", "[INFO] Creating virtual environment...": "[INFO] Creazione ambiente virtuale...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] Rilevata directory di sincronizzazione cloud. Reindirizzamento della sandbox di build alla directory Temp di sistema per prevenire il blocco dei file.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] Download dei browser Playwright tramite mirror: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Valutazione della memoria fisica di sistema (Disponibile: {ram:.1f} GB). Concorrenza adattiva regolata: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] Trovato ambiente MSVC + Windows SDK compatibile, uso del compilatore nativo.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] Utilizzo del compilatore MinGW64.", "[INFO] Validating output files and generating final product...": "[INFO] Validazione dei file di output e generazione del prodotto finale...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] Compilazione completata, percorso di output: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] Cache danneggiata cancellata. Aggiungi la cache di Nuitka alla whitelist dell'antivirus, oppure passa al motore PyInstaller e riprova.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] Firma digitale applicata con successo!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] Il codice sorgente contiene errori di sintassi, compilazione interrotta:\n - File: {file}\n - Tipo: {type}\n - Riga: Riga {line}\n - Dettaglio: {desc}\n\nSuggerimento: assicurarsi che il codice sorgente venga eseguito localmente prima dell'impacchettamento.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] Analisi della sintassi del codice sorgente fallita, build interrotta:\n - File: {file}\n - Dettaglio: {desc}\n\nSuggerimento: Di solito NON è un difetto dello strumento di packaging.\nAssicurati che la [Versione Python di build] selezionata corrisponda alla versione usata per [Scrivere/Testare il codice].\nL'uso di sintassi più recente (es. operatore tricheco :=, unioni di tipi |, match-case) in un ambiente Python più vecchio attiverà questo errore.\nTi consigliamo di andare in [Impostazioni di build] -> [Motore] per passare alla versione Python corretta.", diff --git a/qpypack/locales/ja_JP.json b/qpypack/locales/ja_JP.json index c7e87cd..2ea0dc7 100644 --- a/qpypack/locales/ja_JP.json +++ b/qpypack/locales/ja_JP.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "仮想環境を使用", "Version:": "バージョン:", "View Python": "Pythonを表示", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] Paddleを検出しました!エントリスクリプトの 'if __name__ == \"__main__\":' の下で 'multiprocessing.freeze_support()' を呼び出してください。そうしないと、パッケージ化されたアプリが無限にプロセスを生成し、メモリを枯渇させます。", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] 追加リソースのファイル/ディレクトリが見つかりません: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] ビルドが中止されました: ディスク容量が不足しています (NoSpaceLeft / Errno 28)。ドライブの空き容量を確保して (推奨: 少なくとも5GB) 再試行してください。", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] ビルドは完了しましたが、以下の依存関係のインストールに失敗しました:\n\n - {pkgs}\n\n注: アプリケーションは実行時にModuleNotFoundErrorを発生させる可能性があります。", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] 指定されたアイコンファイルが存在しません: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] 無効な仮想環境をクリーンアップできませんでした:\n パス: {path}\n エラー: {error}\n\nディレクトリを手動で削除するか、「ローカルvenvを保持」のチェックを外して再試行してください。", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] ビルドに失敗しました: C++コンパイラのバージョンが互換性がありません。", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] コンパイラの抽出がシステム/アンチウイルスによってブロックされました。破損したキャッシュを自動的にクリーンアップしています...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Python 3.13+のコンパイラ要件。", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] ビルドが例外により中断されました!\n\n一般的なトラブルシューティング:\n1. 環境の不一致 (最も一般的): 選択したPythonバージョンがソースコードと互換性がありません。[ビルド設定] に移動して、このコードで通常使用するPythonバージョンに切り替えてください。\n2. 依存関係の欠落: 上記の「詳細モード」をクリックして、ModuleNotFoundErrorを確認してください。\n3. ウイルス対策によるブロック: セキュリティソフトウェアがビルドプロセスをブロックしていないことを確認してください。\n\n(注: これは通常、パッケージングエンジン自体ではなく、環境/コードの不一致が原因です。正確な理由については詳細ログを確認してください。)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] コンパイルが例外により中断されました。ログウィンドウの上にある「詳細モード」をクリックしてトラブルシューティングしてください。", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] コンパイルが完了しました。ビルド済みファイルをアーカイブ中...", "[INFO] Creating virtual environment ({name})...": "[INFO] 仮想環境 ({name}) を作成中...", "[INFO] Creating virtual environment...": "[INFO] 仮想環境を作成中...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] クラウド同期ディレクトリを検出しました。ファイルロックを防ぐため、ビルドサンドボックスをシステムのTempディレクトリにリダイレクトします。", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] ミラーからPlaywrightブラウザをダウンロード中: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] システムの物理メモリを評価中 (利用可能: {ram:.1f} GB)。適応的並行性を調整しました: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] 互換性のあるMSVC + Windows SDK環境が見つかりました。ネイティブコンパイラを使用します。", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] MinGW64コンパイラを使用しています。", "[INFO] Validating output files and generating final product...": "[INFO] 出力ファイルを検証し、最終成果物を生成しています...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] コンパイルが完了しました。出力パス: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] 破損したキャッシュをクリアしました。Nuitkaキャッシュをアンチウイルスのホワイトリストに追加するか、PyInstallerエンジンに切り替えて再試行してください。", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] デジタル署名が正常に適用されました!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] ソースコードに構文エラーが含まれているため、コンパイルを中止しました:\n - ファイル: {file}\n - 種類: {type}\n - 行: {line}行目\n - 詳細: {desc}\n\nヒント: パッケージ化する前に、ソースコードがローカルで実行できることを確認してください。", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] ソースコードの構文解析に失敗しました。ビルドを中止します:\n - ファイル: {file}\n - 詳細: {desc}\n\nヒント: これは通常、パッケージングツールの欠陥ではありません。\n選択した[ビルドPythonバージョン]が、コードの[記述/テスト]に使用したバージョンと一致していることを確認してください。\n新しい構文(例: セイウチ演算子 :=、型ユニオン |、match-case)を古いPython環境で使用すると、このエラーが発生します。\n[ビルド設定] -> [エンジン]で正しいPythonバージョンに切り替えることをお勧めします。", diff --git a/qpypack/locales/ko_KR.json b/qpypack/locales/ko_KR.json index f820ff0..c74cccc 100644 --- a/qpypack/locales/ko_KR.json +++ b/qpypack/locales/ko_KR.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "가상 환경 사용", "Version:": "버전:", "View Python": "Python 보기", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] Paddle이 감지되었습니다! 진입 스크립트의 'if __name__ == \"__main__\":' 아래에서 'multiprocessing.freeze_support()'를 호출하세요. 그렇지 않으면 패키징된 앱이 무한 프로세스를 생성하여 메모리를 고갈시킵니다.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] 추가 리소스 파일/디렉터리를 찾을 수 없음: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] 빌드 중단: 디스크 공간 부족(NoSpaceLeft / Errno 28). 드라이브 공간을 정리하고(최소 5GB 여유 공간 권장) 다시 시도하세요.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] 빌드가 완료되었지만 다음 종속성을 설치하지 못했습니다:\n\n - {pkgs}\n\n참고: 런타임 시 ModuleNotFoundError가 발생할 수 있습니다.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] 지정된 아이콘 파일이 존재하지 않음: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] 잘못된 가상 환경을 정리할 수 없습니다:\n 경로: {path}\n 오류: {error}\n\n디렉터리를 수동으로 삭제하거나 '로컬 Venv 유지'를 선택 해제하고 다시 시도하세요.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] 빌드 실패: C++ 컴파일러 버전이 호환되지 않습니다.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] 시스템/백신으로 인해 컴파일러 추출이 차단되었습니다. 손상된 캐시를 자동으로 정리하는 중...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Python 3.13+ 컴파일러 요구 사항.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] 빌드가 예외적으로 중단되었습니다!\n\n일반적인 문제 해결:\n1. 환경 불일치(가장 일반적): 선택한 Python 버전이 소스 코드와 호환되지 않습니다. [빌드 설정]으로 이동하여 이 코드에 일반적으로 사용하는 Python 버전으로 전환하세요.\n2. 누락된 종속성: 위의 '상세 모드'를 클릭하여 ModuleNotFoundError를 확인하세요.\n3. 바이러스 백신 차단: 보안 소프트웨어가 빌드 프로세스를 차단하지 않는지 확인하세요.\n\n(참고: 이는 일반적으로 패키징 엔진 자체보다는 환경/코드 불일치로 인해 발생합니다. 정확한 이유는 상세 로그를 확인하세요.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] 컴파일이 예외로 중단되었습니다. 문제 해결을 위해 로그 창 위의 '상세 모드'를 클릭하세요.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] 컴파일이 완료되어 빌드된 파일을 보관하는 중...", "[INFO] Creating virtual environment ({name})...": "[INFO] 가상 환경({name})을(를) 만드는 중...", "[INFO] Creating virtual environment...": "[INFO] 가상 환경을 만드는 중...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] 클라우드 동기화 디렉터리가 감지되었습니다. 파일 잠금을 방지하기 위해 빌드 샌드박스를 시스템 임시 디렉터리로 리디렉션합니다.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] 미러를 통해 Playwright 브라우저를 다운로드하는 중: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] 시스템 물리 메모리를 평가하는 중 (사용 가능: {ram:.1f} GB). 적응형 동시성 조정: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] 호환되는 MSVC + Windows SDK 환경을 찾았습니다. 네이티브 컴파일러를 사용합니다.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] MinGW64 컴파일러를 사용하는 중.", "[INFO] Validating output files and generating final product...": "[INFO] 출력 파일 검증 및 최종 제품 생성 중...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] 컴파일 완료, 출력 경로: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] 손상된 캐시가 정리되었습니다. Nuitka 캐시를 백신 허용 목록에 추가하거나 PyInstaller 엔진으로 전환한 후 다시 시도하세요.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] 디지털 서명이 성공적으로 적용되었습니다!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] 소스 코드에 구문 오류가 있어 컴파일이 중단되었습니다:\n - 파일: {file}\n - 유형: {type}\n - 줄: {line}번째 줄\n - 세부 정보: {desc}\n\n팁: 패키징 전에 소스 코드가 로컬에서 실행되는지 확인하세요.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] 소스 코드 구문 분석에 실패하여 빌드가 중단되었습니다:\n - 파일: {file}\n - 세부 정보: {desc}\n\n팁: 이는 일반적으로 패키징 도구의 문제가 아닙니다.\n선택한 [빌드 Python 버전]이 코드를 [작성/테스트]할 때 사용한 버전과 일치하는지 확인하세요.\n이전 Python 환경에서 최신 구문(예: 바다코끼리 연산자 :=, 타입 유니온 |, match-case)을 사용하면 이 오류가 발생합니다.\n[빌드 설정] -> [엔진]으로 이동하여 올바른 Python 버전으로 전환하는 것이 좋습니다.", diff --git a/qpypack/locales/nl_NL.json b/qpypack/locales/nl_NL.json index f794584..7add1b4 100644 --- a/qpypack/locales/nl_NL.json +++ b/qpypack/locales/nl_NL.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "Virtuele omgeving gebruiken", "Version:": "Versie:", "View Python": "Python bekijken", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] Paddle gedetecteerd! Roep 'multiprocessing.freeze_support()' aan onder 'if __name__ == \"__main__\":' in je entry-script, anders zal de verpakte app oneindige processen starten en het geheugen uitputten.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] Extra bronbestand/-map niet gevonden: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] Build afgebroken: Onvoldoende schijfruimte (NoSpaceLeft / Errno 28). Maak schijfruimte vrij (minimaal 5 GB vrije ruimte aanbevolen) en probeer opnieuw.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] Build voltooid, maar de volgende afhankelijkheden konden niet worden geïnstalleerd:\n\n - {pkgs}\n\nLet op: De applicatie kan tijdens runtime ModuleNotFoundError veroorzaken.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] Het opgegeven pictogrambestand bestaat niet: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] Kan ongeldige virtuele omgeving niet opschonen:\n Pad: {path}\n Fout: {error}\n\nVerwijder de map handmatig of schakel 'Lokale venv behouden' uit en probeer opnieuw.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] Bouwen mislukt: C++-compilerversie is incompatibel.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] Compiler-extractie geblokkeerd door systeem/antivirus. Beschadigde cache wordt automatisch opgeschoond...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Python 3.13+ Compilervereiste.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] Build onderbroken met uitzonderingen!\n\nVeelvoorkomende probleemoplossing:\n1. Omgevingsmismatch (meest voorkomend): De geselecteerde Python-versie is incompatibel met uw broncode. Ga naar [Buildinstellingen] om over te schakelen naar de Python-versie die u normaal voor deze code gebruikt.\n2. Ontbrekende afhankelijkheden: Klik op 'Gedetailleerde modus' hierboven om te controleren op ModuleNotFoundError.\n3. Antivirusblokkering: Zorg ervoor dat uw beveiligingssoftware het buildproces niet blokkeert.\n\n(Let op: Dit wordt meestal veroorzaakt door omgevings-/codeverschillen in plaats van de verpakkingsengine zelf. Raadpleeg het gedetailleerde logboek voor exacte redenen.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] Compilatie onderbroken met uitzonderingen, klik op 'Gedetailleerde modus' boven het logvenster voor probleemoplossing.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] Compilatie voltooid, gebouwde bestanden archiveren...", "[INFO] Creating virtual environment ({name})...": "[INFO] Virtuele omgeving maken ({name})...", "[INFO] Creating virtual environment...": "[INFO] Virtuele omgeving maken...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] Cloud-synchronisatiemap gedetecteerd. Build-sandbox wordt omgeleid naar de systeem-Temp-map om bestandsvergrendeling te voorkomen.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] Playwright-browsers downloaden via spiegel: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Systeemfysiek geheugen evalueren (Beschikbaar: {ram:.1f} GB). Adaptieve gelijktijdigheid aangepast: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] Compatibele MSVC + Windows SDK-omgeving gevonden, gebruik native compiler.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] MinGW64-compiler gebruiken.", "[INFO] Validating output files and generating final product...": "[INFO] Uitvoerbestanden valideren en eindproduct genereren...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] Compilatie voltooid, uitvoerpad: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] Beschadigde cache gewist. Voeg de Nuitka-cache toe aan de antivirus-whitelist, of schakel over naar de PyInstaller-engine en probeer het opnieuw.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] Digitale handtekening succesvol toegepast!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] Broncode bevat syntaxfouten, compilatie afgebroken:\n - Bestand: {file}\n - Type: {type}\n - Regel: Regel {line}\n - Detail: {desc}\n\nTip: Zorg ervoor dat de broncode lokaal werkt voordat u deze verpakt.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] Broncode-syntaxparsing mislukt, bouwen afgebroken:\n - Bestand: {file}\n - Detail: {desc}\n\nTip: Dit is meestal GEEN fout van het verpakkingsprogramma.\nZorg ervoor dat de [Bouw Python-versie] die u selecteert overeenkomt met de versie die u gebruikte om de code te [schrijven/testen].\nHet gebruik van nieuwere syntax (bijv. walrus-operator :=, type-unies |, match-case) in een oudere Python-omgeving zal deze fout veroorzaken.\nWe raden aan om naar [Bouwinstellingen] -> [Engine] te gaan om over te schakelen naar de juiste Python-versie.", diff --git a/qpypack/locales/pl_PL.json b/qpypack/locales/pl_PL.json index 17913d9..fd02f30 100644 --- a/qpypack/locales/pl_PL.json +++ b/qpypack/locales/pl_PL.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "Użyj środowiska wirtualnego", "Version:": "Wersja:", "View Python": "Zobacz Pythona", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] Wykryto Paddle! Wywołaj 'multiprocessing.freeze_support()' w 'if __name__ == \"__main__\":' w swoim skrypcie startowym, w przeciwnym razie spakowana aplikacja będzie tworzyć nieskończone procesy i wyczerpie pamięć.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] Nie znaleziono dodatkowego pliku/katalogu zasobów: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] Kompilacja przerwana: Brak miejsca na dysku (NoSpaceLeft / Errno 28). Zwolnij miejsce na dysku (zalecane co najmniej 5 GB wolnego miejsca) i spróbuj ponownie.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] Kompilacja zakończona, ale następujące zależności nie zostały zainstalowane:\n\n - {pkgs}\n\nUwaga: Aplikacja może zgłaszać ModuleNotFoundError podczas działania.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] Podany plik ikony nie istnieje: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] Nie można usunąć nieprawidłowego środowiska wirtualnego:\n Ścieżka: {path}\n Błąd: {error}\n\nProszę ręcznie usunąć katalog lub odznaczyć 'Zachowaj lokalne venv' i spróbować ponownie.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] Budowanie nie powiodło się: wersja kompilatora C++ jest niekompatybilna.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] Ekstrakcja kompilatora zablokowana przez system/antywirus. Automatyczne czyszczenie uszkodzonego cache...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Wymagania kompilatora dla Pythona 3.13+.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] Kompilacja przerwana z wyjątkiem!\n\nTypowe rozwiązywanie problemów:\n1. Niezgodność środowiska (najczęstsza): Wybrana wersja Pythona jest niezgodna z kodem źródłowym. Przejdź do [Ustawienia kompilacji], aby przełączyć się na wersję Pythona, której zwykle używasz dla tego kodu.\n2. Brakujące zależności: Kliknij 'Tryb szczegółowy' powyżej, aby sprawdzić ModuleNotFoundError.\n3. Blokada antywirusowa: Upewnij się, że oprogramowanie zabezpieczające nie blokuje procesu kompilacji.\n\n(Uwaga: Zwykle jest to spowodowane rozbieżnościami środowiska/kodu, a nie samym silnikiem pakowania. Sprawdź szczegółowy dziennik, aby poznać dokładne przyczyny.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] Kompilacja przerwana z wyjątkami, kliknij 'Tryb szczegółowy' powyżej okna dziennika, aby rozwiązać problem.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] Kompilacja zakończona, archiwizowanie zbudowanych plików...", "[INFO] Creating virtual environment ({name})...": "[INFO] Tworzenie środowiska wirtualnego ({name})...", "[INFO] Creating virtual environment...": "[INFO] Tworzenie środowiska wirtualnego...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] Wykryto katalog synchronizacji w chmurze. Przekierowywanie piaskownicy kompilacji do katalogu tymczasowego systemu, aby zapobiec blokadzie plików.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] Pobieranie przeglądarek Playwright przez mirror: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Ocena fizycznej pamięci systemu (Dostępne: {ram:.1f} GB). Dostosowano współbieżność adaptacyjnie: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] Wykryto kompatybilne środowisko MSVC + Windows SDK, używam natywnego kompilatora.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] Używanie kompilatora MinGW64.", "[INFO] Validating output files and generating final product...": "[INFO] Weryfikacja plików wyjściowych i generowanie finalnego produktu...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] Kompilacja zakończona, ścieżka wyjściowa: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] Uszkodzony cache wyczyszczony. Dodaj cache Nuitka do listy dozwolonych w programie antywirusowym lub przełącz się na silnik PyInstaller i spróbuj ponownie.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] Podpis cyfrowy zastosowany pomyślnie!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] Kod źródłowy zawiera błędy składni, kompilacja przerwana:\n - Plik: {file}\n - Typ: {type}\n - Linia: Linia {line}\n - Szczegóły: {desc}\n\nWskazówka: Upewnij się, że kod źródłowy działa lokalnie przed pakowaniem.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] Analiza składni kodu źródłowego nie powiodła się, budowanie przerwane:\n - Plik: {file}\n - Szczegóły: {desc}\n\nWskazówka: To zwykle NIE jest wina narzędzia do pakowania.\nUpewnij się, że wybrana [Wersja Pythona do budowania] odpowiada wersji, której używasz do [Pisania/Testowania kodu].\nUżycie nowszej składni (np. operator morsa :=, unie typów |, match-case) w starszym środowisku Pythona spowoduje ten błąd.\nZalecamy przejście do [Ustawienia budowania] -> [Silnik], aby przełączyć na właściwą wersję Pythona.", diff --git a/qpypack/locales/pt_BR.json b/qpypack/locales/pt_BR.json index fd9082a..369b845 100644 --- a/qpypack/locales/pt_BR.json +++ b/qpypack/locales/pt_BR.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "Usar Ambiente Virtual", "Version:": "Versão:", "View Python": "Ver Python", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] Paddle detectado! Chame 'multiprocessing.freeze_support()' sob 'if __name__ == \"__main__\":' no seu script de entrada, ou o aplicativo empacotado irá gerar processos infinitos e esgotar a memória.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] Arquivo/diretório de recurso adicional não encontrado: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] Compilação abortada: Espaço em disco insuficiente (NoSpaceLeft / Errno 28). Por favor, limpe o espaço da unidade (pelo menos 5 GB de espaço livre recomendado) e tente novamente.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] Compilação concluída, mas as seguintes dependências falharam ao instalar:\n\n - {pkgs}\n\nNota: O aplicativo pode gerar ModuleNotFoundError em tempo de execução.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] O arquivo de ícone especificado não existe: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] Não foi possível limpar o ambiente virtual inválido:\n Caminho: {path}\n Erro: {error}\n\nExclua manualmente o diretório ou desmarque 'Manter Venv Local' e tente novamente.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] Falha no build: versão do compilador C++ incompatível.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] Extração do compilador bloqueada pelo sistema/antivírus. Limpando automaticamente o cache corrompido...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Requisito de Compilador para Python 3.13+.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] Compilação interrompida excepcionalmente!\n\nSolução de problemas comum:\n1. Incompatibilidade de Ambiente (Mais Comum): A versão do Python selecionada é incompatível com seu código-fonte. Vá para [Configurações de Compilação] para alternar para a versão do Python que você normalmente usa para este código.\n2. Dependências Ausentes: Clique em 'Modo Detalhado' acima para verificar ModuleNotFoundError.\n3. Bloqueio de Antivírus: Certifique-se de que seu software de segurança não está bloqueando o processo de compilação.\n\n(Nota: Isso geralmente é causado por discrepâncias de ambiente/código, não pelo mecanismo de empacotamento em si. Verifique o log detalhado para razões exatas.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] Compilação interrompida com exceções, clique em 'Modo Detalhado' acima da janela de log para solução de problemas.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] Compilação concluída, arquivando arquivos compilados...", "[INFO] Creating virtual environment ({name})...": "[INFO] Criando ambiente virtual ({name})...", "[INFO] Creating virtual environment...": "[INFO] Criando ambiente virtual...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] Diretório de sincronização em nuvem detectado. Redirecionando o sandbox de compilação para o diretório Temp do sistema para evitar bloqueio de arquivo.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] Baixando navegadores Playwright via espelho: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Avaliando memória física do sistema (Disponível: {ram:.1f} GB). Concorrência adaptativa ajustada: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] Ambiente MSVC + Windows SDK compatível encontrado, usando compilador nativo.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] Usando o compilador MinGW64.", "[INFO] Validating output files and generating final product...": "[INFO] Validando arquivos de saída e gerando o produto final...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] Compilação concluída, caminho de saída: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] Cache corrompido limpo. Adicione o cache do Nuitka à lista de permissões do antivírus, ou mude para o motor PyInstaller e tente novamente.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] Assinatura digital aplicada com sucesso!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] O código-fonte contém erros de sintaxe, compilação abortada:\n - Arquivo: {file}\n - Tipo: {type}\n - Linha: Linha {line}\n - Detalhe: {desc}\n\nDica: Certifique-se de que o código-fonte seja executado localmente antes de empacotar.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] Falha na análise de sintaxe do código-fonte, build abortado:\n - Arquivo: {file}\n - Detalhe: {desc}\n\nDica: Isso geralmente NÃO é um defeito da ferramenta de empacotamento.\nCertifique-se de que a [Versão do Python de Build] selecionada corresponde à versão usada para [Escrever/Testar o Código].\nUsar sintaxe mais nova (ex.: operador walrus :=, uniões de tipos |, match-case) em um ambiente Python mais antigo acionará este erro.\nRecomendamos ir para [Configurações de Build] -> [Mecanismo] para mudar para a versão correta do Python.", diff --git a/qpypack/locales/ru_RU.json b/qpypack/locales/ru_RU.json index 257a0e0..d9e0e8c 100644 --- a/qpypack/locales/ru_RU.json +++ b/qpypack/locales/ru_RU.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "Использовать виртуальную среду", "Version:": "Версия:", "View Python": "Просмотреть Python", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] Обнаружен Paddle! Вызовите 'multiprocessing.freeze_support()' внутри 'if __name__ == \"__main__\":' в вашем входном скрипте, иначе упакованное приложение будет бесконечно порождать процессы и исчерпает память.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] Дополнительный файл/каталог ресурсов не найден: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] Сборка прервана: недостаточно места на диске (NoSpaceLeft / Errno 28). Пожалуйста, очистите место на диске (рекомендуется не менее 5 ГБ свободного места) и повторите попытку.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] Сборка завершена, но не удалось установить следующие зависимости:\n\n - {pkgs}\n\nПримечание: Приложение может вызвать ModuleNotFoundError во время выполнения.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] Указанный файл значка не существует: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] Не удалось очистить недействительную виртуальную среду:\n Путь: {path}\n Ошибка: {error}\n\nПожалуйста, удалите каталог вручную или снимите флажок «Сохранить локальную среду» и повторите попытку.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] Сборка не удалась: версия компилятора C++ несовместима.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] Извлечение компилятора заблокировано системой/антивирусом. Автоматическая очистка повреждённого кэша...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Требование к компилятору для Python 3.13+.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] Сборка прервана с исключением!\n\nОбщие рекомендации по устранению неполадок:\n1. Несоответствие среды (наиболее распространенное): выбранная версия Python несовместима с вашим исходным кодом. Перейдите в [Настройки сборки], чтобы переключиться на версию Python, которую вы обычно используете для этого кода.\n2. Отсутствующие зависимости: нажмите «Подробный режим» выше, чтобы проверить ModuleNotFoundError.\n3. Блокировка антивирусом: убедитесь, что ваше антивирусное ПО не блокирует процесс сборки.\n\n(Примечание: Обычно это вызвано несоответствием среды/кода, а не самого механизма упаковки. Пожалуйста, проверьте подробный журнал для точных причин.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] Компиляция прервана с исключениями, нажмите «Подробный режим» над окном журнала для устранения неполадок.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] Компиляция завершена, архивирование собранных файлов...", "[INFO] Creating virtual environment ({name})...": "[INFO] Создание виртуального окружения ({name})...", "[INFO] Creating virtual environment...": "[INFO] Создание виртуального окружения...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] Обнаружен каталог облачной синхронизации. Перенаправление песочницы сборки в системный каталог Temp для предотвращения блокировки файлов.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] Загрузка браузеров Playwright через зеркало: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Оценка физической памяти системы (Доступно: {ram:.1f} ГБ). Адаптивная параллельность скорректирована: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] Обнаружена совместимая среда MSVC + Windows SDK, используется собственный компилятор.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] Использование компилятора MinGW64.", "[INFO] Validating output files and generating final product...": "[INFO] Проверка выходных файлов и создание конечного продукта...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] Компиляция завершена, путь вывода: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] Повреждённый кэш очищен. Добавьте кэш Nuitka в белый список антивируса или переключитесь на движок PyInstaller и повторите попытку.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] Цифровая подпись успешно применена!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] Исходный код содержит синтаксические ошибки, компиляция прервана:\n - Файл: {file}\n - Тип: {type}\n - Строка: строка {line}\n - Подробности: {desc}\n\nСовет. Убедитесь, что исходный код запускается локально перед упаковкой.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] Не удалось выполнить синтаксический анализ исходного кода, сборка прервана:\n - Файл: {file}\n - Подробности: {desc}\n\nСовет: Обычно это не вина инструмента упаковки.\nУбедитесь, что выбранная [Версия Python для сборки] соответствует версии, которую вы использовали для [Написания/Тестирования кода].\nИспользование нового синтаксиса (например, оператора моржа :=, объединения типов |, match-case) в более старой среде Python вызовет эту ошибку.\nРекомендуем перейти в [Настройки сборки] -> [Движок], чтобы переключиться на правильную версию Python.", diff --git a/qpypack/locales/th_TH.json b/qpypack/locales/th_TH.json index 5dcb7fa..0ca36cc 100644 --- a/qpypack/locales/th_TH.json +++ b/qpypack/locales/th_TH.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "ใช้สภาพแวดล้อมเสมือน", "Version:": "เวอร์ชัน:", "View Python": "ดู Python", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] ตรวจพบ Paddle! เรียก 'multiprocessing.freeze_support()' ภายใต้ 'if __name__ == \"__main__\":' ในสคริปต์เริ่มต้นของคุณ มิฉะนั้นแอปที่แพ็กเกจแล้วจะสร้างโปรเซสไม่สิ้นสุดและหน่วยความจำจะหมด", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] ไม่พบไฟล์/ไดเรกทอรีทรัพยากรเพิ่มเติม: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] การสร้างถูกยกเลิก: พื้นที่ดิสก์ไม่เพียงพอ (NoSpaceLeft / Errno 28) กรุณาทำความสะอาดพื้นที่ดิสก์ (แนะนำให้มีพื้นที่ว่างอย่างน้อย 5 GB) แล้วลองอีกครั้ง", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] การสร้างเสร็จสมบูรณ์ แต่การติดตั้ง dependencies ต่อไปนี้ล้มเหลว:\n\n - {pkgs}\n\nหมายเหตุ: แอปพลิเคชันอาจเกิด ModuleNotFoundError เมื่อรันไทม์", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] ไม่พบไฟล์ไอคอนที่ระบุ: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] ไม่สามารถล้างสภาพแวดล้อมเสมือนที่ไม่ถูกต้องได้:\n พาธ: {path}\n ข้อผิดพลาด: {error}\n\nโปรดลบไดเรกทอรีด้วยตนเองหรือยกเลิกการเลือก 'Keep Local Venv' แล้วลองอีกครั้ง", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] การ build ล้มเหลว: เวอร์ชันคอมไพเลอร์ C++ เข้ากันไม่ได้", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] การแยกคอมไพเลอร์ถูกบล็อกโดยระบบ/โปรแกรมป้องกันไวรัส กำลังล้างแคชที่เสียหายโดยอัตโนมัติ...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] ข้อกำหนดคอมไพเลอร์สำหรับ Python 3.13+", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] การสร้างถูกขัดจังหวะด้วยข้อยกเว้น!\n\nการแก้ไขปัญหาทั่วไป:\n1. สภาพแวดล้อมไม่ตรงกัน (พบบ่อยที่สุด): เวอร์ชัน Python ที่เลือกเข้ากันไม่ได้กับซอร์สโค้ดของคุณ กรุณาไปที่ [การตั้งค่าการสร้าง] เพื่อเปลี่ยนเป็นเวอร์ชัน Python ที่คุณใช้ปกติสำหรับโค้ดนี้\n2. Dependencies หายไป: คลิก 'โหมดรายละเอียด' ด้านบนเพื่อตรวจสอบ ModuleNotFoundError\n3. โปรแกรมป้องกันไวรัสบล็อก: ตรวจสอบให้แน่ใจว่าซอฟต์แวร์ความปลอดภัยของคุณไม่ได้บล็อกกระบวนการสร้าง\n\n(หมายเหตุ: โดยปกติเกิดจากความไม่สอดคล้องของสภาพแวดล้อม/โค้ด ไม่ใช่ตัวเครื่องมือแพ็กเกจ กรุณาตรวจสอบบันทึกโดยละเอียดสำหรับสาเหตุที่แท้จริง)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] การคอมไพล์ถูกขัดจังหวะด้วยข้อยกเว้น กรุณาคลิก 'โหมดรายละเอียด' ด้านบนหน้าต่างบันทึกเพื่อแก้ไขปัญหา", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] การคอมไพล์เสร็จสิ้น กำลังเก็บถาวรไฟล์ที่สร้าง...", "[INFO] Creating virtual environment ({name})...": "[INFO] กำลังสร้างสภาพแวดล้อมเสมือน ({name})...", "[INFO] Creating virtual environment...": "[INFO] กำลังสร้างสภาพแวดล้อมเสมือน...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] ตรวจพบไดเรกทอรีซิงค์คลาวด์ กำลังเปลี่ยนเส้นทางแซนด์บ็อกซ์การสร้างไปยังไดเรกทอรี Temp ของระบบเพื่อป้องกันการล็อกไฟล์", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] กำลังดาวน์โหลดเบราว์เซอร์ Playwright ผ่านมิเรอร์: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] กำลังประเมินหน่วยความจำกายภาพของระบบ (ว่าง: {ram:.1f} GB) ปรับความพร้อมกันแบบปรับตัว: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] พบสภาพแวดล้อม MSVC + Windows SDK ที่เข้ากันได้ ใช้คอมไพเลอร์ดั้งเดิม", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] ใช้คอมไพเลอร์ MinGW64", "[INFO] Validating output files and generating final product...": "[INFO] กำลังตรวจสอบไฟล์เอาต์พุตและสร้างผลิตภัณฑ์สุดท้าย...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] การคอมไพล์เสร็จสมบูรณ์ พาธเอาต์พุต: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] ล้างแคชที่เสียหายแล้ว โปรดเพิ่มแคช Nuitka ไปยังรายการที่อนุญาตของโปรแกรมป้องกันไวรัส หรือเปลี่ยนไปใช้เอนจิน PyInstaller แล้วลองอีกครั้ง", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] ใช้ลายเซ็นดิจิทัลสำเร็จ!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] ซอร์สโค้ดมีข้อผิดพลาดทางไวยากรณ์ การคอมไพล์ถูกยกเลิก:\n - ไฟล์: {file}\n - ประเภท: {type}\n - บรรทัด: บรรทัดที่ {line}\n - รายละเอียด: {desc}\n\nเคล็ดลับ: โปรดตรวจสอบให้แน่ใจว่าซอร์สโค้ดทำงานได้ในเครื่องก่อนแพ็กเกจ", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.", diff --git a/qpypack/locales/tr_TR.json b/qpypack/locales/tr_TR.json index e20ae6a..608970d 100644 --- a/qpypack/locales/tr_TR.json +++ b/qpypack/locales/tr_TR.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "Sanal Ortam Kullan", "Version:": "Sürüm:", "View Python": "Python'u Görüntüle", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] Paddle algılandı! Giriş betiğinizde 'if __name__ == \"__main__\":' altında 'multiprocessing.freeze_support()' çağırın, aksi takdirde paketlenmiş uygulama sonsuz süreçler oluşturur ve belleği tüketir.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] Ek kaynak dosyası/dizini bulunamadı: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] Derleme iptal edildi: Yetersiz disk alanı (NoSpaceLeft / Errno 28). Lütfen disk alanını temizleyin (en az 5 GB boş alan önerilir) ve tekrar deneyin.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] Derleme tamamlandı, ancak aşağıdaki bağımlılıklar kurulamadı:\n\n - {pkgs}\n\nNot: Uygulama çalışma zamanında ModuleNotFoundError hatası verebilir.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] Belirtilen simge dosyası mevcut değil: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] Geçersiz sanal ortam temizlenemedi:\n Yol: {path}\n Hata: {error}\n\nLütfen dizini manuel olarak silin veya 'Yerel Venv'i Koru' seçeneğini işaretleyip tekrar deneyin.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] Derleme başarısız: C++ derleyici sürümü uyumsuz.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] Derleyici çıkarımı sistem/antivirüs tarafından engellendi. Bozuk önbellek otomatik olarak temizleniyor...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Python 3.13+ Derleyici Gereksinimi.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] Derleme beklenmedik bir şekilde kesildi!\n\nYaygın Sorun Giderme:\n1. Ortam Uyumsuzluğu (En Yaygın): Seçilen Python sürümü kaynak kodunuzla uyumsuz. Lütfen [Derleme Ayarları] bölümüne gidip bu kod için normalde kullandığınız Python sürümüne geçin.\n2. Eksik Bağımlılıklar: ModuleNotFoundError kontrolü için yukarıdaki 'Ayrıntılı Mod' düğmesine tıklayın.\n3. Antivirüs Engellemesi: Güvenlik yazılımınızın derleme sürecini engellemediğinden emin olun.\n\n(Not: Bu genellikle paketleme motorundan ziyade ortam/kod farklılıklarından kaynaklanır. Kesin nedenler için ayrıntılı günlüğü kontrol edin.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] Derleme özel durumlarla kesildi, sorun giderme için lütfen günlük penceresinin üzerindeki 'Ayrıntılı Mod' düğmesine tıklayın.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] Derleme tamamlandı, derlenen dosyalar arşivleniyor...", "[INFO] Creating virtual environment ({name})...": "[INFO] Sanal ortam oluşturuluyor ({name})...", "[INFO] Creating virtual environment...": "[INFO] Sanal ortam oluşturuluyor...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] Bulut senkronizasyon dizini algılandı. Dosya kilidini önlemek için derleme sanal alanı sistem Temp dizinine yönlendiriliyor.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] Playwright tarayıcıları aynadan indiriliyor: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Sistem fiziksel belleği değerlendiriliyor (Kullanılabilir: {ram:.1f} GB). Uyarlanabilir eşzamanlılık ayarlandı: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] Uyumlu MSVC + Windows SDK ortamı bulundu, yerel derleyici kullanılıyor.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] MinGW64 derleyicisi kullanılıyor.", "[INFO] Validating output files and generating final product...": "[INFO] Çıktı dosyaları doğrulanıyor ve son ürün oluşturuluyor...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] Derleme tamamlandı, çıktı yolu: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] Bozuk önbellek temizlendi. Lütfen Nuitka önbelleğini antivirüs beyaz listesine ekleyin veya PyInstaller motoruna geçip yeniden deneyin.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] Dijital imza başarıyla uygulandı!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] Kaynak kod sözdizimi hataları içeriyor, derleme iptal edildi:\n - Dosya: {file}\n - Tür: {type}\n - Satır: {line}. satır\n - Ayrıntı: {desc}\n\nİpucu: Paketlemeden önce kaynak kodun yerel olarak çalıştığından emin olun.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] Kaynak kod sözdizimi ayrıştırması başarısız oldu, derleme iptal edildi:\n - Dosya: {file}\n - Ayrıntı: {desc}\n\nİpucu: Bu genellikle paketleme aracının hatası değildir.\nSeçtiğiniz [Derleme Python Sürümü]'nün, kodu [Yazarken/Test Ederken] kullandığınız sürümle eşleştiğinden emin olun.\nDaha yeni sözdizimi (ör. walrus operatörü :=, tip birleşimleri |, match-case) daha eski bir Python ortamında kullanılırsa bu hata tetiklenir.\n[Derleme Ayarları] -> [Motor] bölümünden doğru Python sürümüne geçmenizi öneririz.", diff --git a/qpypack/locales/vi_VN.json b/qpypack/locales/vi_VN.json index 0017241..3ff506f 100644 --- a/qpypack/locales/vi_VN.json +++ b/qpypack/locales/vi_VN.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "Sử dụng Môi trường Ảo", "Version:": "Phiên bản:", "View Python": "Xem Python", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] Đã phát hiện Paddle! Hãy gọi 'multiprocessing.freeze_support()' trong 'if __name__ == \"__main__\":' trong script khởi chạy của bạn, nếu không ứng dụng đã đóng gói sẽ sinh ra vô số tiến trình và cạn kiệt bộ nhớ.", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] Không tìm thấy tệp/thư mục tài nguyên bổ sung: {path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] Xây dựng bị hủy: Không đủ dung lượng ổ đĩa (NoSpaceLeft / Errno 28). Vui lòng dọn dẹp dung lượng ổ đĩa (khuyến nghị ít nhất 5 GB trống) và thử lại.", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] Xây dựng hoàn tất, nhưng các phụ thuộc sau không cài đặt được:\n\n - {pkgs}\n\nLưu ý: Ứng dụng có thể báo lỗi ModuleNotFoundError khi chạy.", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] Tệp biểu tượng được chỉ định không tồn tại: {path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] Không thể dọn dẹp môi trường ảo không hợp lệ:\n Đường dẫn: {path}\n Lỗi: {error}\n\nVui lòng xóa thư mục theo cách thủ công hoặc bỏ chọn 'Giữ Venv cục bộ' và thử lại.", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] Xây dựng thất bại: Phiên bản trình biên dịch C++ không tương thích.", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] Trình biên dịch bị chặn bởi hệ thống/phần mềm diệt virus. Đang tự động dọn dẹp bộ nhớ đệm bị hỏng...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Yêu cầu trình biên dịch Python 3.13+.", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] Xây dựng bị gián đoạn bất thường!\n\nKhắc phục sự cố phổ biến:\n1. Không khớp môi trường (phổ biến nhất): Phiên bản Python được chọn không tương thích với mã nguồn của bạn. Vui lòng vào [Cài đặt xây dựng] để chuyển sang phiên bản Python bạn thường dùng cho mã này.\n2. Thiếu phụ thuộc: Nhấp vào 'Chế độ chi tiết' ở trên để kiểm tra ModuleNotFoundError.\n3. Chặn bởi phần mềm diệt virus: Đảm bảo phần mềm bảo mật của bạn không chặn quá trình xây dựng.\n\n(Lưu ý: Điều này thường do sự khác biệt giữa môi trường/mã nguồn chứ không phải do công cụ đóng gói. Vui lòng kiểm tra nhật ký chi tiết để biết lý do chính xác.)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] Biên dịch bị gián đoạn với ngoại lệ, vui lòng nhấp vào 'Chế độ chi tiết' phía trên cửa sổ nhật ký để khắc phục sự cố.", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] Quá trình biên dịch hoàn tất, đang lưu trữ các tệp đã xây dựng...", "[INFO] Creating virtual environment ({name})...": "[INFO] Đang tạo môi trường ảo ({name})...", "[INFO] Creating virtual environment...": "[INFO] Đang tạo môi trường ảo...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] Đã phát hiện thư mục đồng bộ đám mây. Đang chuyển hướng sandbox xây dựng sang thư mục Temp hệ thống để tránh khóa tệp.", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] Đang tải trình duyệt Playwright qua gương: {url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Đang đánh giá bộ nhớ vật lý của hệ thống (Khả dụng: {ram:.1f} GB). Đã điều chỉnh độ đồng thời thích ứng: {cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] Đã tìm thấy môi trường MSVC + Windows SDK tương thích, sử dụng trình biên dịch gốc.", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] Đang sử dụng trình biên dịch MinGW64.", "[INFO] Validating output files and generating final product...": "[INFO] Đang xác thực các tệp đầu ra và tạo sản phẩm cuối cùng...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] Biên dịch hoàn tất, đường dẫn đầu ra: {path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] Đã xóa bộ nhớ đệm bị hỏng. Vui lòng thêm bộ nhớ đệm Nuitka vào danh sách trắng của phần mềm diệt virus, hoặc chuyển sang công cụ PyInstaller và thử lại.", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] Đã áp dụng chữ ký số thành công!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] Mã nguồn chứa lỗi cú pháp, biên dịch bị hủy:\n - Tệp: {file}\n - Loại: {type}\n - Dòng: Dòng {line}\n - Chi tiết: {desc}\n\nMẹo: Vui lòng đảm bảo mã nguồn chạy cục bộ trước khi đóng gói.", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] Phân tích cú pháp mã nguồn thất bại, hủy xây dựng:\n - Tệp: {file}\n - Chi tiết: {desc}\n\nMẹo: Đây thường KHÔNG phải lỗi của công cụ đóng gói.\nVui lòng đảm bảo [Phiên bản Python xây dựng] bạn chọn khớp với phiên bản bạn đã dùng để [Viết/Kiểm tra mã].\nSử dụng cú pháp mới hơn (ví dụ: toán tử walrus :=, union type |, match-case) trong môi trường Python cũ sẽ gây ra lỗi này.\nChúng tôi khuyên bạn nên đến [Cài đặt xây dựng] -> [Công cụ] để chuyển sang phiên bản Python chính xác.", diff --git a/qpypack/locales/zh_TW.json b/qpypack/locales/zh_TW.json index 27b9def..d5d7e0b 100644 --- a/qpypack/locales/zh_TW.json +++ b/qpypack/locales/zh_TW.json @@ -300,6 +300,7 @@ "Use Virtual Environment": "使用虛擬環境", "Version:": "版本::", "View Python": "檢視 Python", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": "[CRITICAL] 偵測到 Paddle!請在您的進入點腳本中的 'if __name__ == \"__main__\":' 下呼叫 'multiprocessing.freeze_support()',否則封裝後的應用程式將會產生無限的處理程序並耗盡記憶體。", "[ERROR] Additional resource file/directory not found: {path}": "[ERROR] 找不到額外的資源檔案/目錄:{path}", "[ERROR] Build aborted: Insufficient disk space (NoSpaceLeft / Errno 28). Please clean up drive space (at least 5 GB free space recommended) and try again.": "[ERROR] 建置中止:磁碟空間不足(NoSpaceLeft / Errno 28)。請清理磁碟空間(建議至少保留 5 GB 可用空間)後重試。", "[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] 建置完成,但以下相依套件安裝失敗:\n\n - {pkgs}\n\n注意:應用程式在執行時可能引發 ModuleNotFoundError。", @@ -326,6 +327,7 @@ "[ERROR] The specified icon file does not exist: {path}": "[ERROR] 指定的圖示檔案不存在:{path}", "[ERROR] Unable to clean up invalid virtual environment:\n Path: {path}\n Error: {error}\n\nPlease manually delete the directory or uncheck 'Keep Local Venv' and retry.": "[ERROR] 無法清理無效的虛擬環境:\n 路徑:{path}\n 錯誤:{error}\n\n請手動刪除該目錄,或取消勾選「保留本機 Venv」後重試。", "[Environment Error] Build failed: C++ compiler version is incompatible.": "[Environment Error] 建置失敗:C++ 編譯器版本不相容。", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] 編譯器擷取遭系統/防毒軟體封鎖。正在自動清理損毀的快取...", "[Environment Error] Python 3.13+ Compiler Requirement.": "[Environment Error] Python 3.13+ 編譯器需求。", "[FAILED] Build interrupted exceptionally!\n\nCommon Troubleshooting:\n1. Environment Mismatch (Most Common): The selected Python version is incompatible with your source code. Please go to [Build Settings] to switch to the Python version you normally use for this code.\n2. Missing Dependencies: Click 'Detailed Mode' above to check for ModuleNotFoundError.\n3. Antivirus Block: Ensure your security software is not blocking the build process.\n\n(Note: This is usually caused by environment/code discrepancies rather than the packaging engine itself. Please check the detailed log for exact reasons.)": "[FAILED] 建置被異常中斷!\n\n常見疑難排解:\n1. 環境不符(最常見):選取的 Python 版本與您的原始碼不相容。請前往 [建置設定] 切換至您平常用於此程式碼的 Python 版本。\n2. 缺少相依套件:按一下上方的「詳細模式」檢查是否有 ModuleNotFoundError。\n3. 防毒軟體封鎖:請確認您的安全軟體未封鎖建置程序。\n\n(注意:這通常是由環境/程式碼差異所導致,而非打包引擎本身的問題。請檢查詳細記錄以了解確切原因。)", "[FAILED] Compilation interrupted with exceptions, please click 'Detailed Mode' above the log window for troubleshooting.": "[FAILED] 編譯因例外狀況中斷,請按一下記錄視窗上方的「詳細模式」進行疑難排解。", @@ -341,6 +343,7 @@ "[INFO] Compilation completed, archiving built files...": "[INFO] 編譯完成,正在封存建置檔案...", "[INFO] Creating virtual environment ({name})...": "[INFO] 正在建立虛擬環境 ({name})...", "[INFO] Creating virtual environment...": "[INFO] 正在建立虛擬環境...", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] 偵測到雲端同步目錄。正在將建置沙箱重新導向至系統 Temp 目錄,以防止檔案鎖定。", "[INFO] Downloading Playwright browsers via mirror: {url}": "[INFO] 正在透過鏡像下載 Playwright 瀏覽器:{url}", "[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] 正在評估系統實體記憶體 (可用:{ram:.1f} GB)。已調整自適應並行數:{cores} -> {safe_jobs} ...", "[INFO] Found compatible MSVC + Windows SDK environment, using native compiler.": "[INFO] 偵測到相容的 MSVC + Windows SDK 環境,使用原生編譯器。", @@ -376,6 +379,7 @@ "[INFO] Using MinGW64 compiler.": "[INFO] 正在使用 MinGW64 編譯器。", "[INFO] Validating output files and generating final product...": "[INFO] 正在驗證輸出檔案並產生最終產品...", "[SUCCESS] Compilation completed, output path: {path}": "[SUCCESS] 編譯完成,輸出路徑:{path}", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] 已清除損毀的快取。請將 Nuitka 快取加入防毒軟體白名單,或切換至 PyInstaller 引擎後重試。", "[SUCCESS] Digital signature applied successfully!": "[SUCCESS] 數位簽章已成功套用!", "[Syntax Error] Source code contains syntax errors, compilation aborted:\n - File: {file}\n - Type: {type}\n - Line: Line {line}\n - Detail: {desc}\n\nTip: Please ensure the source code runs locally before packaging.": "[Syntax Error] 原始碼包含語法錯誤,編譯已中止:\n - 檔案:{file}\n - 類型:{type}\n - 行號:第 {line} 行\n - 詳細資訊:{desc}\n\n提示:請確保原始碼在打包前可於本機正常執行。", "[Syntax Error] Source code syntax parsing failed, build aborted:\n - File: {file}\n - Detail: {desc}\n\nTip: This is usually NOT a fault of the packaging tool.\nPlease ensure the [Build Python Version] you selected matches the version you used to [Write/Test the Code].\nUsing newer syntax (e.g., walrus operator :=, type unions |, match-case) in an older Python environment will trigger this error.\nWe recommend going to [Build Settings] -> [Engine] to switch to the correct Python version.": "[Syntax Error] 原始碼語法解析失敗,建置已中止:\n - 檔案:{file}\n - 詳細資訊:{desc}\n\n提示:這通常不是打包工具的錯誤。\n請確保您選擇的 [建置 Python 版本] 與您用來 [撰寫/測試程式碼] 的版本相符。\n在較舊的 Python 環境中使用較新的語法(例如海象運算子 :=、型別聯集 |、match-case)會觸發此錯誤。\n我們建議前往 [建置設定] -> [引擎] 切換到正確的 Python 版本。", diff --git a/qpypack/main.py b/qpypack/main.py index e01dd1d..b531f62 100644 --- a/qpypack/main.py +++ b/qpypack/main.py @@ -125,7 +125,7 @@ except ImportError: HAS_QT_AUDIO = False __app_name__ = "QPyPack" -__version__ = "2.8.6" +__version__ = "2.9.0" __author__ = "QwejayHuang" __company__ = "Qwesoft" __description__ = "Modern Cross-Platform Python Packaging GUI Powered by PyInstaller & Nuitka" @@ -591,6 +591,11 @@ ZH_CN_DICT = { "Detected multiple entry scripts in project. Please select one to build:": "在项目目录下检测到多个 Python 脚本,请选择主程序入口:", "Loaded Project: {name} | Entry: {entry}": "已载入项目: {name} | 入口: {entry}", "[TIP] Script imports parent module '{mod}'. If build fails, try dragging the whole project folder here.": "[提示] 脚本引用了上级模块 '{mod}'。如构建报错,可直接将项目总文件夹拖入软件打包。", + "[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.": "[INFO] 检测到源码位于云同步目录,强制将构建沙箱重定向至系统 Temp 目录以防文件死锁。", + "[Environment Error] Compiler extraction blocked by system/antivirus. Automatically cleaning corrupted cache...": "[Environment Error] 编译器解压被系统或杀毒软件拦截。正在自动清理损坏的缓存文件...", + "[SUCCESS] Corrupted cache cleared. Please add Nuitka cache to antivirus whitelist, or switch to PyInstaller engine and retry.": "[SUCCESS] 损坏缓存已清空。请将 Nuitka 缓存目录加入杀软白名单,或切换至 PyInstaller 引擎后重试。", + "[CRITICAL] Paddle detected! Call 'multiprocessing.freeze_support()' under 'if __name__ == \"__main__\":' in your entry script, or the packaged app will spawn infinite processes and exhaust memory.": + "[严重警告] 检测到使用了 Paddle 库!请务必在入口脚本的 'if __name__ == \"__main__\":' 下调用 'multiprocessing.freeze_support()',否则打包后的程序运行会导致无限弹窗派生并耗尽内存。", "Unknown": "未知" } @@ -850,6 +855,11 @@ DEFAULT_MAPPINGS = { "slugify": "python-slugify", "snappy": "python-snappy", "acoustid": "pyacoustid", + "paddle": "paddlepaddle", + "paddleocr": "paddleocr", + "torch": "torch", + "tensorflow": "tensorflow", + "mediapipe": "mediapipe", } DEFAULT_BACKPORT_RULES = { @@ -1176,7 +1186,6 @@ def is_cloud_sync_path(path_obj: Path) -> bool: "阿里云盘", "aliyun", "115", - "", "quark", "夸克网盘", "夸克", @@ -5495,7 +5504,12 @@ class PackingThread(QThread): script_dir = Path(self.params["script_path"]).parent if self.params.get("script_path") else Path.cwd() sandbox_mode = int(self.params.get("temp_sandbox_mode", 0) or 0) - if sandbox_mode == 0: + + if is_cloud_sync_path(script_dir): + self.progress.emit(_("[INFO] Detected cloud sync directory. Redirecting build sandbox to system Temp directory to prevent file lock.")) + custom_temp_base = Path(tempfile.gettempdir()).resolve() + temp_dir_arg = None + elif sandbox_mode == 0: custom_temp_base = (script_dir / ".qpypack_build").resolve() custom_temp_base.mkdir(parents=True, exist_ok=True) temp_dir_arg = custom_temp_base.as_posix() @@ -6000,6 +6014,12 @@ class PackingThread(QThread): final_dependencies = sanitized_dependencies + if active_exclusions: + dedup_install_list = [ + pkg for pkg in dedup_install_list + if re.split(r"[=>