Projet

Général

Profil

Tâche #29575

Scénario #29487: Faire fonctionner eoleflask et GenConfig sur EOLE 2.8.0

Porter le code en python3

Ajouté par Emmanuel GARETTE il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
05/02/2020
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Révisions associées

Révision 3207b94b (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 (ref #29575)

Révision 91b756ce (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

request.url_rule peut etre vide lors du téléchargement de favico (ref #29575)

Révision 97b5cc6e (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 (ref #29575)

Révision baa24de3 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 (ref #29575)

Révision c96636fb (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 (ref #29575)

Révision 37900d57 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 (ref #29575)

Révision c9b04e80 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 (ref #29575)

Révision a9a45d85 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 (ref #29575)

Révision 00c4d6e3 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 (ref #29575)

Révision 5392d49c (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 (ref #29575)

Révision 467548ab (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 eoleflask.conf => eoleflask.py (ref #29575)

Révision a5298754 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 (ref #29575)

Révision 475dad85 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

support de python3 (ref #29575)

Historique

#1 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

  • Statut changé de Nouveau à En cours
  • Assigné à mis à Emmanuel GARETTE

#2 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

  • % réalisé changé de 0 à 100

Procédure temporaire pour faire les tests :

mv /etc/eole/flask/eoleflask.conf /etc/eole/flask/eoleflask.py

changer le script de démarrage

apt install python3-flask python3-pam

ln -s /usr/lib/python2.7/dist-packages/eolegenconfig /usr/lib/python3.7/
ln -s /usr/lib/python2.7/dist-packages/eoleauthlib/ /usr/lib/python3.7/
ln -s /usr/lib/python2.7/dist-packages/eoleflask /usr/lib/python3.7/
ln -s /usr/lib/python2.7/dist-packages/eoleauth /usr/lib/python3.7/
ln -s /usr/lib/python2.7/dist-packages/ead3fileserver /usr/lib/python3.7/

scp eole-genconfig/src/eolegenconfig/lib.py root@eolebase.ac-test.fr:/usr/lib/python3.7/eolegenconfig/lib.py
scp eole-genconfig/src/eolegenconfig/webapi.py root@eolebase.ac-test.fr:/usr/lib/python3.7/eolegenconfig/webapi.py

scp eole-ead3/src/ead3fileserver/api.py root@eolebase.ac-test.fr:/usr/lib/python2.7/dist-packages/ead3fileserver/api.py

scp eoleflask-aaa/src/eoleauthlib/*.py root@eolebase.ac-test.fr:/usr/lib/python3.7/eoleauthlib/client.py
scp eoleflask-aaa/src/eoleauthlib/plugins/*.py root@eolebase.ac-test.fr:/usr/lib/python3.7/eoleauthlib/plugins/

scp eole-flask/eoleflask/*.py root@eolebase.ac-test.fr:/usr/lib/python3.7/eoleflask/

#3 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

  • Statut changé de En cours à Résolu

#4 Mis à jour par Joël Cuissinat il y a environ 4 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 0.0

OK

Formats disponibles : Atom PDF