Project

General

Profile

Tâche #15571

Scénario #15610: Corriger les problèmes liés à Creole 2.6

CreoleLint plante sur le template cupsd.conf

Added by Joël Cuissinat over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/23/2016
Due date:
% Done:

100%

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

Description

Lancement de CreoleLint sur Horus 2.6.0 instancié :

 \-- /usr/share/eole/creole/distrib/cupsd.conf
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/creole/lint/parsetemplate.py", line 517, in test_all_values
    ret = self.test_all_values_for(list(requires_options), 0)
  File "/usr/lib/python2.7/dist-packages/creole/lint/parsetemplate.py", line 458, in test_all_values_for
    ret = self.test_all_values_for(options[1:], cpt + 1)
  File "/usr/lib/python2.7/dist-packages/creole/lint/parsetemplate.py", line 464, in test_all_values_for
    self.template()
  File "/usr/lib/python2.7/dist-packages/creole/lint/parsetemplate.py", line 422, in template
    raise Exception("Il y a une erreur", err, 'avec le dictionnaire', dico)
Exception: ('Il y a une erreur', PropertiesOptionError("tentative d'acc\xc3\xa8s \xc3\xa0 une option nomm\xc3\xa9e : netmask_admin_eth0 avec les propri\xc3\xa9t\xc3\xa9s ['mandatory']",), 'avec le dictionnaire', {'activer_cups': u'oui', 'activer_firewall': 'oui', 'web_url': u'value.lan', 'cups_preservejobhistory': 'Yes', 'nom_domaine_local': u'monreseau.lan', 'cups_browsing': 'on', 'cups_maxclients': 100, 'cups_maxcopies': 100, 'activer_apache': u'oui', 'cups_preservejobfiles': 'No', 'nom_machine': u'horus', 'cups_maxjobs': 500, 'cups_autopurgejobs': 'No', 'cups_loglevel': 'warn', 'nombre_interfaces': '1'})
('/usr/share/eole/creole/distrib/cupsd.conf', ':', Exception('Il y a une erreur', PropertiesOptionError("tentative d'acc\xc3\xa8s \xc3\xa0 une option nomm\xc3\xa9e : netmask_admin_eth0 avec les propri\xc3\xa9t\xc3\xa9s ['mandatory']",), 'avec le dictionnaire', {'activer_cups': u'oui', 'activer_firewall': 'oui', 'web_url': u'value.lan', 'cups_preservejobhistory': 'Yes', 'nom_domaine_local': u'monreseau.lan', 'cups_browsing': 'on', 'cups_maxclients': 100, 'cups_maxcopies': 100, 'activer_apache': u'oui', 'cups_preservejobfiles': 'No', 'nom_machine': u'horus', 'cups_maxjobs': 500, 'cups_autopurgejobs': 'No', 'cups_loglevel': 'warn', 'nombre_interfaces': '1'}))

Associated revisions

Revision a13e4bd5 (diff)
Added by Emmanuel GARETTE over 5 years ago

CompilerGetVar ne passé pas en read_write avant la récupération de la valeur (ref #15571 @1h)

History

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

  • Project changed from Tiramisu to creole
  • Parent task changed from #15349 to #15610

#2 Updated by Scrum Master over 5 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Emmanuel GARETTE over 5 years ago

  • Assigned To set to Emmanuel GARETTE

#4 Updated by Emmanuel GARETTE over 5 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 0.25

#5 Updated by Scrum Master over 5 years ago

  • Status changed from En cours to Résolu

#6 Updated by Joël Cuissinat over 5 years ago

OK avec creole 2.6.0-14

#7 Updated by Joël Cuissinat over 5 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Also available in: Atom PDF