pipeline in linea single thread
This commit is contained in:
49
aggiornamento-2026-05-16-11-29.md
Normal file
49
aggiornamento-2026-05-16-11-29.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# Aggiornamento 2026-05-16 11:29
|
||||
|
||||
## Bugfix
|
||||
|
||||
Corretto crash all'avvio di `flywms_navigation.py --wms-enabled`.
|
||||
|
||||
Errore:
|
||||
|
||||
```text
|
||||
AttributeError: 'Namespace' object has no attribute 'window_layout_enabled'
|
||||
```
|
||||
|
||||
## Causa
|
||||
|
||||
I parametri layout finestre erano presenti in `flywms_navigation.ini` e nei default di `load_navigation_config`, ma mancavano in `parse_args()`.
|
||||
|
||||
## Correzione
|
||||
|
||||
Aggiunti argomenti CLI:
|
||||
|
||||
```text
|
||||
--window-layout-enabled
|
||||
--navigate-window
|
||||
--commands-window
|
||||
--snapshot-window
|
||||
--label-window
|
||||
```
|
||||
|
||||
## Verifiche
|
||||
|
||||
Compilazione:
|
||||
|
||||
```powershell
|
||||
python -m py_compile flywms_navigation.py flywms_navigation_gui.py flywms_wms_server.py
|
||||
```
|
||||
|
||||
Parsing argomenti:
|
||||
|
||||
```text
|
||||
True 20,40,1100,620 1140,40,760,520 1140,590,520,360 1140,980,520,260
|
||||
```
|
||||
|
||||
Run headless:
|
||||
|
||||
```powershell
|
||||
python flywms_navigation.py --no-display --max-frames 1 --wms-enabled
|
||||
```
|
||||
|
||||
Risultato: avvio e chiusura corretti senza crash.
|
||||
Reference in New Issue
Block a user