Project

General

Profile

Tâche #24225

Scénario #24327: Empaqueter et tester la gestion de plusieurs DTD par Zéphir

Edition impossible des config Hapy 2.4

Added by Anthony RAULT over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/18/2018
Due date:
% Done:

100%

Estimated time:
3.00 h
Spent time:
Remaining (hours):
0.0

Description

Bonjour,

Lors de l’édition d'un config.eol via zephir d'un serveur Hapy 2.4, le message suivant apparaît:

web.Server Traceback (most recent call last):
creole3.error.ConfigError: "Erreur lors du parsing : la valeur service n'est pas dans ['systemd', 'upstart', 'apache', 'network']
/usr/lib/python2.7/dist-packages/twisted/web/server.py:183 in process
182                    self._encoder = encoder
183            self.render(resrc)
184        except:
/usr/lib/python2.7/dist-packages/twisted/web/server.py:234 in render
233        try:
234            body = resrc.render(self)
235        except UnsupportedMethod as e:
/usr/lib/python2.7/dist-packages/zephir/web/template/page.py:158 in render
157        if check_auth(request):
158            return self.render_design(request)
159        else:
/usr/lib/python2.7/dist-packages/zephir/web/template/design.py:28 in render_design
27        if hasattr(self,'renderView'):
28            self.renderView(request)
29        factorys['title'] = self.wmfactory_title(request)
/usr/lib/python2.7/dist-packages/zephir/web/html/serveurs.py:4820 in renderView
4819            # si module ou variante choisis, on récupère la liste de variables disponibles
4820            liste_vars = self.get_liste_vars(dico, request)
4821            # si on ne donne pas de critères, on regarde
/usr/lib/python2.7/dist-packages/zephir/web/html/serveurs.py:4715 in get_liste_vars
4714            dico_eole = ZephirDict(mode='', version=creole_version)
4715            dico_eole.init_from_zephir(recup_dico)
4716            liste = dico_eole.liste_vars.keys()
/usr/lib/python2.7/dist-packages/zephir/utils/creolewrap.py:491 in init_from_zephir
490            else:
491                self.load_dicos_creole3(dicos, True)
492        # prise en compte du dictionnaire de valeurs
/usr/lib/python2.7/dist-packages/zephir/utils/creolewrap.py:290 in load_dicos_creole3
289            # chargement de tous les dictionnaires disponibles
290            self.dico.read_string(dicos, 'creole', test_duplicate=test_duplicate)
291            self.groups = self.dico.groups
/usr/lib/python2.7/dist-packages/creole3/var_loader.py:968 in read_string
967            is_creole_constrainte = 'gen_container' in dir(self)
968            parse_result = parse_string(dico, self.dtd, is_creole_constrainte, test_duplicate)
969            #FIXME: voir pour autre chose que 'module'
/usr/lib/python2.7/dist-packages/creole3/lxml_parser.py:36 in parse_string
35    except Exception, err:
36        raise ConfigError(_(u"Error while parsing: {0}").format(err))
37
creole3.error.ConfigError: "Erreur lors du parsing : la valeur service n'est pas dans ['systemd', 'upstart', 'apache', 'network']

Zephir 2.6 a été mis a jour, reconfiguré et redémarré aujourd'hui mais le problème persiste.

Cordialement

Associated revisions

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

differenciation DTD entre 2.6.0 et 2.6.1/2.6.2 (ref #24225)

Revision 6ae426c5 (diff)
Added by Emmanuel GARETTE over 1 year ago

differenciation DTD entre 2.4/2.5 et 2.6 (ref #24225)

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

differenciation DTD entre 2.4/2.5 et 2.6 (ref #24225)

History

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

  • Parent task set to #23987

#2 Updated by Emmanuel GARETTE over 1 year ago

  • Project changed from Zéphir to Distribution EOLE
  • Status changed from Nouveau to En cours

#3 Updated by Emmanuel GARETTE over 1 year ago

  • Assigned To set to Emmanuel GARETTE

#4 Updated by Emmanuel GARETTE over 1 year ago

  • % Done changed from 0 to 90
  • Estimated time set to 3.00 h
  • Remaining (hours) set to 1.0

Paquet creole 2.6.2 refait;

Mergé dans dist/eole/2.6.0/creole3, paquet non refait et non copier en 2.6.1 et 2.6.2.

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

  • Description updated (diff)

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

  • Parent task changed from #23987 to #24327

#7 Updated by Scrum Master over 1 year ago

  • Description updated (diff)
  • Assigned To deleted (Emmanuel GARETTE)

#8 Updated by Scrum Master over 1 year ago

  • Status changed from En cours to Nouveau

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

  • Status changed from Nouveau to En cours

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

  • Assigned To set to Emmanuel GARETTE

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

  • Status changed from En cours to Résolu

#12 Updated by Daniel Dehennin over 1 year ago

  • % Done changed from 90 to 100
  • Remaining (hours) changed from 1.0 to 0.0

Validé sur un Zéphir 2.6.2 en voulant Changer les valeurs par défaut avec l’interface de configuration

#13 Updated by Daniel Dehennin over 1 year ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF