Project

General

Profile

Tâche #33822

Scénario #33781: Traitement express MEN (06-12)

Seshat 2.8 : encore du python2 !

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

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
02/15/2022
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Problème découvert grâce à un message d'eole-schedule :

run-parts: executing /usr/share/eole/schedule/daily/post/freduvecteur daily
/usr/share/eole/schedule/daily/post/freduvecteur:
** Génération de la base contenant les vecteurs d'identité **
Traceback (most recent call last):
  File "/usr/share/eole/sbin/gen_freduvecteur.py", line 65, in <module>
    root_pwd = file(root_pwd_file).read().strip()
NameError: name 'file' is not defined
run-parts: /usr/share/eole/schedule/daily/post/freduvecteur exited with return code 1
Une erreur a été détectée
eole-schedule - Sortie de post schedule daily avec un code d'erreur

Il s'agit d'un code spécifique au mode ENT et je ne pense pas que les académies utilisatrices aient déjà basculé en 2.8...


Related issues

Related to Distribution EOLE - Tâche #30486: porter les actions Seshat Fermé 06/02/2020

Associated revisions

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

Python3 upgrades + Pylint (ref: #33822)

History

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

root@seshat:~# dpkg -L eole-seshat-backend | grep '\.py'
/usr/lib/python3/dist-packages/seshat/__init__.py
/usr/lib/python3/dist-packages/seshat/backend.py
/usr/lib/python3/dist-packages/seshat/eoleldap.py
/usr/lib/python3/dist-packages/seshat/replication.py
/usr/share/eole/sbin/gen_freduvecteur.py
/usr/share/eole/sbin/gen_replication.py
/usr/share/eole/sbin/gen_routes.py

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

  • Parent task set to #33781

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

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

  • Status changed from Nouveau to Résolu
  • Assigned To set to Joël Cuissinat
  • % Done changed from 0 to 100

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

barco@tp-barco:~/git/seshat-backend (2.8.1/master=)$ git tag --contains f1a9b2c0ae3166ef81c9139a35a49efbf822018c
pkg/eole/eole-2.8/2.8.0-7
pkg/eole/eole-2.8/2.8.1-1
pkg/eole/eole-2.9/2.9.0-1

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

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Also available in: Atom PDF