Project

General

Profile

Evolution #6240

Remettre une eosfunc "calc_container" pour assurer la rétro-compatibilité avec les dicos 2.4

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

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
04/18/2014
% Done:

100%

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

Related issues

Related to ajaxplorer - Evolution #5922: Dictionnaire non fonctionnel en 2.4 pour l'instant... Fermé
Related to zephir-parc - Tâche #7340: Compatibilité de la fonction calc_conteneur avec Zéphir (modules 2.4) Fermé

Associated revisions

Revision ae2ba579 (diff)
Added by Emmanuel GARETTE over 7 years ago

ajout de la fonction (depreciate) calc_container pour retro-compatibilité (fixes #6240)

Revision 95ee2a40 (diff)
Added by Joël Cuissinat over 7 years ago

Correction sur la retro-compatibilité calc_container

Fixes #6240 @20m

Revision a4062e0f (diff)
Added by Bruno Boiget about 7 years ago

Réécriture de la fonction calc_conteneur (sans utiliser creole client)

Fixes #6240
Fixes #7340

History

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

  • Target version changed from Eole 2.4-beta1 to Eole 2.4-beta2

#2 Updated by Emmanuel GARETTE over 7 years ago

  • Due date set to 11/08/2013
  • Assigned To set to Emmanuel GARETTE
  • Start date set to 11/04/2013

#3 Updated by Emmanuel GARETTE over 7 years ago

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

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

  • Status changed from Résolu to Réouvert
  • % Done changed from 100 to 80

La correction ne semble pas suffisante.

Le dictionnaire 61_ajaxplorer.xml qui contient notamment :

        <auto name='calc_container' target='ajaxplorer_ftp'>
            <param type='eole'>mode_conteneur_actif</param>
            <param type='container'>fichier</param>
            <param type='eole' optional='True'>mode_zephir</param>
        </auto>

Entraîne désormais l'erreur suivante :
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/creole/server.py", line 151, in reload_config
    disable_mandatory=True, owner='creoled')
  File "/usr/lib/python2.7/dist-packages/creole/loader.py", line 197, in creole_loader
    loader.read_dir(dirs, namespace)
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 843, in read_dir
    self._populate(parse, namespace, level)
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 874, in _populate
    raise ConfigError("Unable to populate {0}: {1}".format(keys, err.message))
ConfigError: Unable to populate autos: Type container not yet implemented for auto for ajaxplorer_ftp

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

  • Status changed from Réouvert to Résolu
  • % Done changed from 80 to 100

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

  • Status changed from Résolu to Fermé

eole-ajaxplorer est pré-installé et fonctionnel sur Scribe 2.4 (>=RC1)

#7 Updated by Bruno Boiget about 7 years ago

  • Due date deleted (11/08/2013)
  • Status changed from Fermé to Réouvert
  • Target version changed from Eole 2.4-beta2 to Eole 2.4 Stable
  • Start date deleted (11/04/2013)
  • % Done changed from 100 to 80

l'utilisation du client creole pose problème (en particulier sur Zéphir). On peut se contenter de renvoyer l'ip déjà calculée par creole.

#8 Updated by Bruno Boiget about 7 years ago

  • Status changed from Réouvert to Résolu
  • % Done changed from 80 to 100

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

  • Due date set to 04/18/2014

#10 Updated by Emmanuel GARETTE about 7 years ago

OK :

root@scribe:~# grep calc_container /usr/share/eole/creole/dicos/*
/usr/share/eole/creole/dicos/61_ajaxplorer.xml:        <auto name='calc_container' target='ajaxplorer_ftp'>
root@scribe:~# CreoleGet mode_conteneur_actif
non
root@scribe:~# CreoleGet ajaxplorer_ftp
127.0.0.1
root@scribe:~# CreoleGet mode_conteneur_actif
oui
root@scribe:~# CreoleGet ajaxplorer_ftp
192.0.2.52

#11 Updated by Emmanuel GARETTE about 7 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF