Anomalie #4597
Importation annuelle sconet
Description
Lors de la première importation des fichiers sconet (éléves et responsables) sur un scribe 2.3, mise à jour effectuée,
arret de l'importation au moment de l'intégration des options sur une erreur :
local variable 'etab_grp_name' referenced before assignment'
Log
2012-12-13 17:24:56 - DEBUG Classe 4a existante : OK
2012-12-13 17:24:56 - INFO TOTAL : 11 classes traitées
2012-12-13 17:24:56 - INFO ## Intégration des options... ##
2012-12-13 17:24:56 - DEBUG Option 6ab-bi existante : OK
2012-12-13 17:24:56 - ERROR local variable 'etab_grp_name' referenced before assignment
Traceback (most recent call last):
File "/usr/share/ead2/backend/bin/importation.py", line 403, in do_import_eleve
etab_prefix=etab_prefix)
File "/usr/lib/pymodules/python2.6/scribe/importation/writer.py", line 311, in write_option
etab_prefix=etab_prefix)
File "/usr/lib/pymodules/python2.6/scribe/importation/writer.py", line 293, in _write_option
return etab_grp_name
UnboundLocalError: local variable 'etab_grp_name' referenced before assignment
2012-12-13 17:24:56 - DEBUG suppression du lock eoleimport
Associated revisions
scribe/importation/writer.py : variable mal nommée provocant une erreur (fixes #4597) @20m
History
#1 Updated by Emmanuel GARETTE over 10 years ago
- Project changed from Scribe to scribe-backend
- Assigned To set to Emmanuel GARETTE
#2 Updated by Emmanuel GARETTE over 10 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 2fee4984bdf4661144406a540a10a20492861061.
#3 Updated by Emmanuel GARETTE over 10 years ago
- Status changed from Résolu to En attente d'informations
- Target version set to Mises à jour 2.3.8
- % Done changed from 100 to 0
#4 Updated by Emmanuel GARETTE over 10 years ago
Le paquet non testé 2.3-eole134~1.gbp0b47ef est disponible en candidat sur le serveur de test.
#5 Updated by Joël Cuissinat over 10 years ago
- Status changed from En attente d'informations to Résolu
- Target version changed from Mises à jour 2.3.8 to 2.3.7 Minimale
- % Done changed from 0 to 100
#6 Updated by Joël Cuissinat over 10 years ago
Tests avec scribe-backend 2.3-eole134~2 :
- importation initiale
2013-01-04 14:10:10 - INFO ## Intégration des options... ## 2013-01-04 14:10:10 - DEBUG création de l'option 3e4eth 2013-01-04 14:10:12 - DEBUG création de l'option 4all2
- seconde importation (maj)
2013-01-04 14:59:52 - INFO ## Intégration des options... ## 2013-01-04 14:59:52 - DEBUG Option 3e4eth existante : OK 2013-01-04 14:59:53 - DEBUG Option 4all2 existante : OK
#7 Updated by Joël Cuissinat over 10 years ago
- Status changed from Résolu to Fermé