Projet

Général

Profil

Tâche #35236

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

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

Ajouté par Joël Cuissinat il y a environ un an. Mis à jour il y a environ un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
17/02/2023
Echéance:
% réalisé:

100%

Restant à faire (heures):
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

Révisions associées

Révision 03ce517e (diff)
Ajouté par Emmanuel GARETTE il y a environ un an

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

Historique

#1 Mis à jour par Joël Cuissinat il y a environ un an

  • Lié à Tâche #29847: Porter les agents Zéphir en python3 ajouté

#2 Mis à jour par Joël Cuissinat il y a environ un an

  • Lié à Tâche #29847: Porter les agents Zéphir en python3 supprimé

#3 Mis à jour par Joël Cuissinat il y a environ un an

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

#4 Mis à jour par Joël Cuissinat il y a environ un an

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

#5 Mis à jour par Joël Cuissinat il y a environ un an

  • Tâche parente changé de #35235 à #35237

#6 Mis à jour par Joël Cuissinat il y a environ un an

  • Tâche parente changé de #35237 à #35047

#7 Mis à jour par Joël Cuissinat il y a environ un an

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 0.0
eole-common$ git branch -r --contains 03ce517e 
  origin/2.7.2/master
  origin/dist/eole/2.7.2/master

Formats disponibles : Atom PDF