FIX: đã sửa lại python
This commit is contained in:
+11
@@ -42,6 +42,17 @@ a = Analysis(
|
|||||||
'app.api.v1.desktop_plugins',
|
'app.api.v1.desktop_plugins',
|
||||||
'app.core.vst_scanner',
|
'app.core.vst_scanner',
|
||||||
'app.core.soundfont_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=[],
|
hookspath=[],
|
||||||
hooksconfig={},
|
hooksconfig={},
|
||||||
|
|||||||
@@ -3008,3 +3008,9 @@
|
|||||||
- **FIX (src-tauri/src/lib.rs):** thêm `;` sau if-let block (temporary dropped sớm — theo gợi ý compiler).
|
- **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.
|
- **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.
|
- **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).
|
||||||
|
|||||||
Reference in New Issue
Block a user