Project

General

Profile

Evolution #6188

Désactiver la maj auto en 2.4

Added by Fabrice Barconnière over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Start date:
Due date:
10/04/2013
% Done:

100%

Spent time:
Distribution:
EOLE 2.4

Description

Adapter posttemplate/00-maj_disable à EOLE 2.4

Associated revisions

Revision 0cd315a6 (diff)
Added by Fabrice Barconnière over 6 years ago

Désactivation Maj_Auto sur EOLE 2.4
fixes #6188 @2h

History

#1 Updated by Fabrice Barconnière over 6 years ago

  • Project changed from eole-pacemaker to creole
  • Subject changed from Adapter posttemplate/00-maj_disable à EOLE 2.4 to disable_maj_auto() ne fonctionne pas en 2.4 ?
from creole.maj import disable_maj_auto
if CreoleClient().get_creole('activer_haute_dispo') != 'non':
    disable_maj_auto()
Traceback (most recent call last):
  File "/usr/share/eole/posttemplate/00-maj_disable", line 8, in <module>
    disable_maj_auto()
  File "/usr/lib/python2.7/dist-packages/creole/maj.py", line 53, in disable_maj_auto
    if maj_enabled():
  File "/usr/lib/python2.7/dist-packages/creole/maj.py", line 28, in maj_enabled
    if ('weekly', 'majauto') in schedule._list_all_enable_file('post'):
AttributeError: 'module' object has no attribute '_list_all_enable_file'

#2 Updated by Fabrice Barconnière over 6 years ago

  • Assigned To deleted (Fabrice Barconnière)

#3 Updated by Fabrice Barconnière over 6 years ago

  • Project changed from creole to eole-pacemaker
  • Subject changed from disable_maj_auto() ne fonctionne pas en 2.4 ? to Désactiver la maj auto en 2.4
  • Assigned To set to Fabrice Barconnière

Correction de http://dev-eole.ac-dijon.fr/projects/creole/wiki/Schedule24
Le script n'est pas dans /usr/share/eole/schedule

#4 Updated by Fabrice Barconnière over 6 years ago

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

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

  • Status changed from Résolu to Fermé

OK... Mais la ligne n'est pas facile à voir du premier coup d’œil :

 * les tâches désactivées

Also available in: Atom PDF