Project

General

Profile

Tâche #35236

Scénario #35047: Test de l'Upgrade AmonEcole

EOLE 2.7 : Option 'activer_ead_web' en double dans zstats.cfg

Added by Joël Cuissinat over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
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

Revision 03ce517e (diff)
Added by Emmanuel GARETTE over 1 year ago

suppression de la duplication de l'entrée activer_ead_web (ref #29847)

Cherry-picked from eole-common:db97d80a for EOLE 2.7.2

Ref: #35236

History

#1 Updated by Joël Cuissinat over 1 year ago

  • Related to Tâche #29847: Porter les agents Zéphir en python3 added

#2 Updated by Joël Cuissinat over 1 year ago

  • Related to deleted (Tâche #29847: Porter les agents Zéphir en python3)

#3 Updated by Joël Cuissinat over 1 year ago

Cette correction a déjà été appliquée sur EOLE ≥ 2.8.0 : eole-common:db97d80a :o

#4 Updated by Joël Cuissinat over 1 year ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#5 Updated by Joël Cuissinat over 1 year ago

  • Parent task changed from #35235 to #35237

#6 Updated by Joël Cuissinat over 1 year ago

  • Parent task changed from #35237 to #35047

#7 Updated by Joël Cuissinat over 1 year 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

Also available in: Atom PDF