Project

General

Profile

Tâche #29575

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

Porter le code en python3

Added by Emmanuel GARETTE over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
02/05/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

Associated revisions

Revision 3207b94b (diff)
Added by Emmanuel GARETTE over 1 year ago

support de python3 (ref #29575)

Revision 91b756ce (diff)
Added by Emmanuel GARETTE over 1 year ago

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

Revision 97b5cc6e (diff)
Added by Emmanuel GARETTE over 1 year ago

support de python3 (ref #29575)

Revision baa24de3 (diff)
Added by Emmanuel GARETTE over 1 year ago

support de python3 (ref #29575)

Revision c96636fb (diff)
Added by Emmanuel GARETTE over 1 year ago

support de python3 (ref #29575)

Revision 37900d57 (diff)
Added by Emmanuel GARETTE over 1 year ago

support de python3 (ref #29575)

Revision c9b04e80 (diff)
Added by Emmanuel GARETTE over 1 year ago

support de python3 (ref #29575)

Revision a9a45d85 (diff)
Added by Emmanuel GARETTE over 1 year ago

support de python3 (ref #29575)

Revision 00c4d6e3 (diff)
Added by Emmanuel GARETTE over 1 year ago

support de python3 (ref #29575)

Revision 5392d49c (diff)
Added by Emmanuel GARETTE over 1 year ago

support de python3 (ref #29575)

Revision 467548ab (diff)
Added by Emmanuel GARETTE over 1 year ago

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

Revision a5298754 (diff)
Added by Emmanuel GARETTE over 1 year ago

support de python3 (ref #29575)

Revision 475dad85 (diff)
Added by Emmanuel GARETTE over 1 year ago

support de python3 (ref #29575)

History

#1 Updated by Emmanuel GARETTE over 1 year ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Emmanuel GARETTE

#2 Updated by Emmanuel GARETTE over 1 year ago

  • % Done changed from 0 to 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 Updated by Emmanuel GARETTE over 1 year ago

  • Status changed from En cours to Résolu

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

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

OK

Also available in: Atom PDF