Project

General

Profile

Anomalie #4495

gen_config : pas de message clair si un hidden est conditionné par une variable non définie [2.4]

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

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
11/26/2012
Due date:
% Done:

100%

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

Description

exemple avec 23_phpmyadmin.xml (eole-web) sans 22_mysql.xml (eole-mysql) car la dépendance a été temporairement commentée :

Traceback (most recent call last):
  File "/usr/share/creole/gen_config.py", line 2063, in main
    filename=config_file, title=options.title)
  File "/usr/share/creole/gen_config.py", line 642, in __init__
    super(ConfigGui, self).__init__(dir_config, mode)
  File "/usr/share/creole/gen_config.py", line 260, in __init__
    super(ConfigZephir, self).__init__(dir_config, mode)
  File "/usr/share/creole/gen_config.py", line 75, in __init__
    self.init_default_dict()
  File "/usr/share/creole/gen_config.py", line 45, in newfunc
    return func(*targs, **kwargs)
  File "/usr/share/creole/gen_config.py", line 93, in init_default_dict
    self.eole_dico.read_dir(self.dir_config)
  File "/usr/lib/python2.7/dist-packages/creole/cfgparser.py", line 211, in read_dir
    self.var_loader.read_dir(eole_dirs, 'creole')
  File "/usr/lib/python2.7/dist-packages/creole/creoleloader.py", line 592, in read_dir
    self._read_dir(namespace, force_no_container)
  File "/usr/lib/python2.7/dist-packages/creole/creoleloader.py", line 837, in _read_dir
    options, requires = self._gen_options_by_family(fname, fdata, paths)
  File "/usr/lib/python2.7/dist-packages/creole/creoleloader.py", line 808, in _gen_options_by_family
    vdata, paths)
  File "/usr/lib/python2.7/dist-packages/creole/creoleloader.py", line 767, in _gen_option
    vdata, paths)
  File "/usr/lib/python2.7/dist-packages/creole/creoleloader.py", line 687, in _gen_opt_option
    requires = self._gen_requires(vname, vdata, paths)
  File "/usr/lib/python2.7/dist-packages/creole/creoleloader.py", line 629, in _gen_requires
    paths))
  File "/usr/lib/python2.7/dist-packages/creole/creoleloader.py", line 621, in update_hidden
    yield (paths[value[0]], value[1], value[2])
KeyError: 'activer_mysql'

Associated revisions

Revision 3c044fc3 (diff)
Added by Emmanuel GARETTE about 7 years ago

Ajout du message 'Variable activer_proxy_client2 inexistant mais utilisée dans une condition' (fixes #4495)

Revision 3013790d (diff)
Added by Joël Cuissinat about 7 years ago

  • creole/loader.py : ortho ref #4495

Revision c09a6bfa (diff)
Added by Joël Cuissinat about 7 years ago

  • creole/loader.py : ortho ref #4495

Revision 38e28156 (diff)
Added by moyooo over 6 years ago

Priority with business rule on impact or urgency see #4495

History

#1 Updated by Joël Cuissinat about 7 years ago

  • Subject changed from gen_config : pas de message clair si un hidden est conditionné par une variable non définie to gen_config : pas de message clair si un hidden est conditionné par une variable non définie [2.4]

#2 Updated by Emmanuel GARETTE about 7 years ago

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

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

  • Status changed from Résolu to Fermé

Vu :

Variable variable_inconnue inexistant 
mais utilisée dans une condition

Also available in: Atom PDF