Project

General

Profile

Tâche #15608

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

Traceback creole avec les dictionnaires AmonEcole 2.6

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

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

100%

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

Description

root@ubuntu:~# creoled --debug
creoled - Chargement de la configuration tiramisu
creoled - Set umask to 0022
creoled - Impossible de charger la configuration Creole.owner seulement possible pour une option
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/creole/server.py", line 199, in reload_config
    try_upgrade=False)
  File "/usr/lib/python2.7/dist-packages/creole/loader.py", line 398, in creole_loader
    config = loader.get_config()
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 1628, in get_config
    self._config = Config(descr)
  File "/usr/lib/python2.7/dist-packages/tiramisu/config.py", line 696, in __init__
    self._impl_build_all_caches()
  File "/usr/lib/python2.7/dist-packages/tiramisu/config.py", line 549, in _impl_build_all_caches
    descr.impl_build_cache(self)
  File "/usr/lib/python2.7/dist-packages/tiramisu/option/optiondescription.py", line 197, in impl_build_cache
    validate_properties=True)
  File "/usr/lib/python2.7/dist-packages/tiramisu/value.py", line 279, in _get_cached_value
    returns_raise=returns_raise)
  File "/usr/lib/python2.7/dist-packages/tiramisu/value.py", line 313, in _get_validated_value
    with_meta, masterlen)
  File "/usr/lib/python2.7/dist-packages/tiramisu/value.py", line 120, in _getvalue
    index=index)
  File "/usr/lib/python2.7/dist-packages/tiramisu/value.py", line 553, in _is_default_owner
    index=index, force_permissive=force_permissive)
  File "/usr/lib/python2.7/dist-packages/tiramisu/value.py", line 480, in _getowner
    raise ConfigError(_('owner only avalaible for an option'))
ConfigError: owner seulement possible pour une option

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 Emmanuel GARETTE over 5 years ago

  • Project changed from creole to Tiramisu
  • % Done changed from 0 to 50
  • Remaining (hours) changed from 2.0 to 0.25

C'est un problème Tiramisu. Si on fait une SymLinkOption vers une option "force_store_value", Tiramisu essayait d'enregistrer la valeur pour la SymLinkOption (qui n'a pas de valeur ni d'owner propre).

D'où le message d'erreur.

C'est corrigé dans la dernière version (avec un test unitaire pour éviter les régressions).

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

  • Status changed from Nouveau to En cours

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

  • Assigned To set to Emmanuel GARETTE

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

  • Status changed from En cours to Fermé
  • % Done changed from 50 to 100
  • Remaining (hours) changed from 0.25 to 0.0

La commande est fonctionnelle malgré qu'il reste d'autres problèmes avec ce module...

Also available in: Atom PDF