Project

General

Profile

Anomalie #7208

Erreur lors de la génération du ldif des élèves

Added by Joël Cuissinat about 7 years ago. Updated about 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
02/07/2014
% Done:

100%

Estimated time:
4.00 h
Spent time:
Distribution:
EOLE 2.4

Description

Insertion des élèves...
Traceback (most recent call last):
  File "/usr/sbin/genldif.py", line 210, in <module>
    ldif_export_all()
  File "/usr/sbin/genldif.py", line 90, in ldif_export_all
    eleves = translator.translate("eleve")
  File "/usr/lib/python2.7/dist-packages/eoleaaf/ldiftranslator.py", line 289, in translate
    new_row[key] = self.transform_values(key, value, tablename)
  File "/usr/lib/python2.7/dist-packages/eoleaaf/ldiftranslator.py", line 198, in transform_values
    return fctname(value)
  File "/usr/lib/python2.7/dist-packages/eoleaaf/ldiftranslator.py", line 213, in calc_structure_dn
    struct, grp = group.strip().split('$')
ValueError: need more than 1 value to unpack

Associated revisions

Revision b8f20621 (diff)
Added by Joël Cuissinat about 7 years ago

  • ldiftranslator.py : calcul des dn de structure plus robuste

Fixes #7208 @1.5h

History

#1 Updated by Joël Cuissinat about 7 years ago

  • Target version changed from Eole 2.4-RC2 to Eole 2.4-RC1

#2 Updated by Joël Cuissinat about 7 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#3 Updated by Joël Cuissinat about 7 years ago

  • Due date set to 02/07/2014

#4 Updated by Daniel Dehennin about 7 years ago

  • Status changed from Résolu to Fermé
root@thotofdad:~# grep 'ValueError: need more than 1 value to unpack' /root/aaf-complet.log 
root@thotofdad:~# 

Also available in: Atom PDF