Tâche #35236
Scénario #35047: Test de l'Upgrade AmonEcole
EOLE 2.7 : Option 'activer_ead_web' en double dans zstats.cfg
Start date:
02/17/2023
Due date:
% Done:
100%
Remaining (hours):
0.0
Description
A priori cela ne gêne pas python2 mais si le fichier arrive jusqu'en 2.8 (suite à un soucis d'Upgrade par exemple), l'erreur suivante est susceptible de sortir :
Fri Feb 17 09:05:29 2023 : zephir_client save_files() ----------------------------------------------------- Traceback (most recent call last): File "/usr/share/zephir/scripts/save_files.zephir", line 34, in <module> cfg.read(CONFIG_FILE) File "/usr/lib/python3.8/configparser.py", line 697, in read self._read(fp, filename) File "/usr/lib/python3.8/configparser.py", line 1093, in _read raise DuplicateOptionError(sectname, optname, configparser.DuplicateOptionError: While reading from '/var/lib/eole/config/zstats.cfg' [line 54]: option 'activer_ead_web' in section 'service' already exists
Associated revisions
History
#1 Updated by Joël Cuissinat 8 months ago
- Related to Tâche #29847: Porter les agents Zéphir en python3 added
#2 Updated by Joël Cuissinat 8 months ago
- Related to deleted (Tâche #29847: Porter les agents Zéphir en python3)
#3 Updated by Joël Cuissinat 8 months ago
Cette correction a déjà été appliquée sur EOLE ≥ 2.8.0 : eole-common:db97d80a :o
#4 Updated by Joël Cuissinat 8 months ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
#5 Updated by Joël Cuissinat 7 months ago
- Parent task changed from #35235 to #35237
#6 Updated by Joël Cuissinat 7 months ago
- Parent task changed from #35237 to #35047
#7 Updated by Joël Cuissinat 7 months ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0
eole-common$ git branch -r --contains 03ce517e origin/2.7.2/master origin/dist/eole/2.7.2/master