FIX: đã sửa lại python

This commit is contained in:
2026-08-08 09:51:46 +07:00
parent e9c710ec0b
commit 19d9bf3c9e
2 changed files with 17 additions and 0 deletions
+11
View File
@@ -42,6 +42,17 @@ a = Analysis(
'app.api.v1.desktop_plugins',
'app.core.vst_scanner',
'app.core.soundfont_scanner',
# Celery dynamic imports (PyInstaller không bắt được — 2026-08-08)
'celery.fixups',
'celery.fixups.django',
'celery.backends',
'celery.backends.redis',
'celery.schedules',
'celery.app.builtins',
'kombu.transport.redis',
'billiard',
'vine',
'redis',
],
hookspath=[],
hooksconfig={},
+6
View File
@@ -3008,3 +3008,9 @@
- **FIX (src-tauri/src/lib.rs):** thêm `;` sau if-let block (temporary dropped sớm — theo gợi ý compiler).
- **Các file ảnh hưởng:** src-tauri/src/lib.rs, wiki.md.
- **Ghi chú/Test:** chạy lại `npx tauri build` — compile tiếp.
### [2026-08-08 09:20] Task: FIX daw_engine.exe — ModuleNotFoundError celery.fixups
- **Lỗi chạy exe:** `No module named 'celery.fixups'` — celery import động qua kombu.symbol_by_name (app/tasks/worker.py) — PyInstaller không bắt được hidden module.
- **FIX (engine.spec):** thêm hiddenimports celery family: celery.fixups(+django), celery.backends(+redis), celery.schedules, celery.app.builtins, kombu.transport.redis, billiard, vine, redis.
- **Các file ảnh hưởng:** engine.spec, wiki.md.
- **Ghi chú/Test:** build lại `pyinstaller engine.spec --clean --noconfirm` → chạy daw_engine.exe → server khởi động (localhost:8000).