Tâche #8388
Distribution EOLE - Scénario #9173: Améliorer les messages de la sauvegarde
combinaison d'arguments invalide non gérée par : baculaconfig.py
Status:
Fermé
Priority:
Bas
Assigned To:
Target version:
Remaining (hours):
0.0
Description
En effectuant des tests sur la programmation de sauvegarde en ligne de commande, j'ai confondu "job_day" et "job_end_day"...
Cela m'a renvoyé une erreur peu parlante :
root@horus:~# /usr/share/eole/sbin/baculaconfig.py -j monthly --job_level=Full --job_end_day=2 --job_hour=21 int() argument must be a string or a number, not 'NoneType'
Associated revisions
amélioration des messages d'erreurs si problème de saisi dans la ligne de commande baculaconfig.py (fixes #8388 @1h)
History
#1 Updated by Joël Cuissinat over 6 years ago
- Status changed from A étudier to Nouveau
- Parent task set to #9173
#2 Updated by Joël Cuissinat over 6 years ago
- Remaining (hours) set to 1.0
#3 Updated by Emmanuel GARETTE over 6 years ago
- Status changed from Nouveau to Résolu
- Start date set to 12/03/2014
- % Done changed from 0 to 100
Appliqué par commit python-pyeole:9a1958a2b726ac44d873618dda3eea61df2927db.
#4 Updated by Joël Cuissinat over 6 years ago
- Status changed from Résolu to Fermé
- Assigned To set to Emmanuel GARETTE
- Remaining (hours) changed from 1.0 to 0.0
root@amonecole:~# /usr/share/eole/sbin/baculaconfig.py -j monthly --job_level=Full --job_end_day=2 --job_hour=21 Le jour (--job_day) est un entier à choisir dans l'intervalle [1, 7].