Sur un hôte en français, « virsh domstate » renvoie « en cours d'exécution » au lieu de « running ». Le test « state == "running" » échouait donc : l'agrandissement à chaud tombait dans la branche « qemu-img resize » (au lieu de « virsh blockresize ») sur une VM ALLUMÉE -> « Failed to get write lock ». On force désormais LC_ALL=C / LANG=C (via _qemu_c_env) sur tous les outils dont on PARSE la sortie, pour avoir l'anglais quelle que soit la locale : virsh domstate/domname/dominfo/domblklist/list, sgdisk -i, dumpe2fs, resize2fs -P (todo.py) et virsh list --all (dashboard). Cela répare aussi, en locale fr, la détection d'état (pause/éteinte), l'analyse des infos avancées (CPU/RAM) et le parsing de la réduction (partition/GPT). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| database_manager.py | ||
| kdbx_manager.py | ||
| logo_ascii.txt | ||
| qemu_install_monitor.py | ||
| README.base.md | ||
| README.fr.md | ||
| README.md | ||
| source_todo.sh | ||
| todo.json | ||
| todo.py | ||
| todo_example.json | ||
| todo_file_browser.py | ||
| todo_i18n.py | ||
| todo_telemetry.py | ||
| todo_upgrade.py | ||
| version_manager.py | ||
TODO is an assistant robot to use ERPLibre
Execute it with ./script/todo/todo.py or make todo.
For a new project, copy todo_example.json to private/todo/todo_override.json | private/todo/todo_override_private.json and edit it.