Project

General

Profile

Tâche #30524

Scénario #30270: Portage python3 de l'EAD2

Erreur d'importation ONDE (be1d) signalée dans Jenkins

Added by Joël Cuissinat over 3 years ago. Updated over 3 years ago.

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

100%

Remaining (hours):
0.0

Description

https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-importation-acascribe-special-2.8.0-amd64/

            INFO:scribe.importation:## Lecture des responsables... ##
            ERROR:scribe.importation:name 'AND' is not defined
            AUTOMATE : Traceback dans la sortie console!
            Traceback (most recent call last):
              File "/usr/share/ead2/backend/bin/importation.py", line 265, in do_parse_be1d
                be1d.parse_be1d_responsables(self.store, responsable)
              File "/usr/lib/python3/dist-packages/scribe/parsing/be1d.py", line 221, in parse_be1d_responsables
                my_eleves = list(store.query(Eleve, AND(Eleve.nom == nom,
            NameError: name 'AND' is not defined

Associated revisions

Revision 3f82bfa4 (diff)
Added by Joël Cuissinat over 3 years ago

importation_ONDE.sh : fix python3 syntax error (ref # #30524)

Revision c2a2a9c1 (diff)
Added by Benjamin Bohard over 3 years ago

Use sqlalchemy and_ instead of AND from axiom.

Ref #30524

History

#1 Updated by Benjamin Bohard over 3 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Benjamin Bohard over 3 years ago

  • Assigned To set to Benjamin Bohard

#3 Updated by Benjamin Bohard over 3 years ago

  • Status changed from En cours to Résolu

#4 Updated by Joël Cuissinat over 3 years ago

  • Status changed from Résolu to Fermé
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0

OK pour cette erreur mais le test est toujours en erreur => #30534

Also available in: Atom PDF