Project

General

Profile

Tâche #23854

Scénario #23861: Finaliser la correction des scripts eole-schedule

Impossible de ré-activer la mise à jour hebdomadaire sur EOLE >= 2.6.1

Added by Joël Cuissinat over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
05/09/2018
Due date:
% Done:

100%

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

Description

Les commandes proposées dans la doc ne sont plus toutes fonctionnelles : http://eole.ac-dijon.fr/documentations/2.6/partielles/beta/Eolebase/co/09a-gestionSchedule.html#nhN286

Si on essaie de ré-activer la mise à jour hebdomadaire dans l'EAD2, on obtient le même traceback qu'avec les commandes suivantes :

root@horus:~#  python -c "from creole import maj; maj.disable_maj_auto(); print maj.maj_enabled()" 
False
root@horus:~#  python -c "from creole import maj; maj.enable_maj_auto(); print maj.maj_enabled()" 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/creole/maj.py", line 54, in enable_maj_auto
    manage_schedule.add('majauto', 'weekly', 'post')
  File "/usr/lib/python2.7/dist-packages/pyeole/schedule.py", line 153, in add
    config.mode = mode
  File "/usr/lib/python2.7/dist-packages/tiramisu/config.py", line 210, in __setattr__
    self.setattr(name, value)
  File "/usr/lib/python2.7/dist-packages/tiramisu/config.py", line 241, in setattr
    not_raises=not_raises)
  File "/usr/lib/python2.7/dist-packages/tiramisu/value.py", line 415, in setitem
    session=session, not_raises=not_raises)
  File "/usr/lib/python2.7/dist-packages/tiramisu/value.py", line 470, in validate
    raise props
tiramisu.error.PropertiesOptionError: ne peut modifier la valeur de l'option mode cette option n'est pas modifiable

Pour EOLE 2.6.2, voir : #23842

Associated revisions

Revision 4af6c668 (diff)
Added by Joël Cuissinat over 1 year ago

Correction schedule : ne pas essayer d'enregistrer le mode

Ref: #23854
Ref: #23842

History

#1 Updated by Joël Cuissinat over 1 year ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 0.25

#2 Updated by Joël Cuissinat over 1 year ago

  • Parent task changed from #23541 to #23742

=> ajout de la réactivation de la maj hebdomadaire dans le test squash existant : http://squash-tm.eole.lan/squash/test-cases/2920/info

#3 Updated by Joël Cuissinat over 1 year ago

  • Parent task changed from #23742 to #23861

#4 Updated by Fabrice Barconnière over 1 year ago

  • Remaining (hours) changed from 0.25 to 0.0
  • Scribe 2.6.1 :
    root@scribe:~# python -c "from creole import maj; maj.disable_maj_auto(); print maj.maj_enabled()" 
    False
    root@scribe:~# python -c "from creole import maj; maj.enable_maj_auto(); print maj.maj_enabled()" 
    True
    

#5 Updated by Scrum Master over 1 year ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF