Project

General

Profile

Tâche #30586

Scénario #30573: pb test unitaire scribe 2.8.0 (Imap/SASL?)

Problème de détection de la version de python à utiliser

Added by Benjamin Bohard about 1 year ago. Updated about 1 year ago.

Status:
Fermé
Priority:
Normal
Assigned To:
-
Start date:
09/08/2020
Due date:
% Done:

0%

Remaining (hours):
0.0

Description

+ echo '* vérification des responsables'
* vérification des responsables
+ '[' '#' '>' '#2.8' ']'
++ python -c 'from scribe import responsables;r = responsables.Responsable();r.ldap_admin.connect();print r._get_responsables(eleve='\''martine.martin'\'') == ['\''jean.martin'\'', '\''janine.martino'\'']'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/scribe/responsables.py", line 11, in <module>
    from scribe.eoleuser import User, gen_common_attrs, send_first_mail
  File "/usr/lib/python2.7/dist-packages/scribe/eoleuser.py", line 29, in <module>
    from pyeole.ssha import ssha_encode
  File "/usr/lib/python2.7/dist-packages/pyeole/ssha.py", line 4, in <module>
    from base64 import encodebytes, decodebytes
ImportError: cannot import name encodebytes

History

#1 Updated by Benjamin Bohard about 1 year ago

Certainement dû au contexte de lancement du script (il manque des variables d’environnement)

#2 Updated by Benjamin Bohard about 1 year ago

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

Also available in: Atom PDF