Project

General

Profile

Evolution #6043

Calcul (ou pas) de nombre_interfaces sur Sphynx-2.4

Added by Joël Cuissinat about 10 years ago. Updated about 10 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
09/16/2013
Due date:
09/20/2013
% Done:

100%

Estimated time:
0.50 h
Spent time:
Distribution:
EOLE 2.4

Description

Actuellement, selon les cas (activer_haute_dispo ou non), la variable est calculée ou non...

Pour l'instant, le dictionnaire 30_sphynx.xml tel qu'il est ne passe pas sur 2.4 :

root@eolebase:~# CreoleLint 
Traceback (most recent call last):
  File "/usr/bin/CreoleLint", line 96, in <module>
    main()
  File "/usr/bin/CreoleLint", line 94, in main
    validate(keyword, ansi, tmpl, dico, conffile, dtddir)
  File "/usr/lib/python2.7/dist-packages/creole/lint/creolelint.py", line 1011, in validate
    ansi.process(cl)
  File "/usr/lib/python2.7/dist-packages/creole/lint/ansiwriter.py", line 38, in process
    checks = linter.check()
  File "/usr/lib/python2.7/dist-packages/creole/lint/creolelint.py", line 982, in check
    parse_templates(glob('/usr/share/eole/creole/distrib/*'))
  File "/usr/lib/python2.7/dist-packages/creole/lint/parsetemplate.py", line 422, in parse_templates
    config = creole_loader(load_values=False, load_extra=True)
  File "/usr/lib/python2.7/dist-packages/creole/loader.py", line 191, in creole_loader
    loader.read_dir(dirs, namespace)
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 802, in read_dir
    self._gen_descr(namespace)
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 1144, in _gen_descr
    flist.append(self._gen_options_by_family(fname, fdata, paths))
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 1088, in _gen_options_by_family
    option = self._gen_option(fname, vname, vdata, group_master, paths, family_mode)
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 1027, in _gen_option
    option = obj(**args)
  File "/usr/lib/python2.7/dist-packages/tiramisu/option.py", line 588, in __init__
    properties=properties)
  File "/usr/lib/python2.7/dist-packages/tiramisu/option.py", line 374, in __init__
    "is calculated").format(name))
ValueError: la valeur par défaut n'est pas possible si l'option nombre_interfaces est calculé

Related issues

Related to creole - Anomalie #6016: Impossible de transformer une variable avec valeur par défaut en "auto" Fermé 09/16/2013

History

#1 Updated by Emmanuel GARETTE about 10 years ago

  • Status changed from A étudier to Accepté
  • Start date set to 09/16/2013

#2 Updated by Emmanuel GARETTE about 10 years ago

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

Voir la demande liée (#6016)

#3 Updated by Joël Cuissinat about 10 years ago

  • Due date set to 09/20/2013
  • Status changed from Résolu to Fermé

OK sur nouvelle installation.

Also available in: Atom PDF