Project

General

Profile

Anomalie #1364

Importation Scribe : erreur à la lecture des fichiers [2.3]

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

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
01/18/2011
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Distribution:

Description

Traceback (most recent call last):
  File "/usr/share/ead2/backend/bin/importation.py", line 176, in do_parse_sconet
    nomenclature)
  File "/usr/lib/pymodules/python2.6/scribe/parsing/sconet.py", line 46, in parse_sco_divisions
    tree = parse_xml(nomenclature_file)
  File "/usr/lib/pymodules/python2.6/scribe/parsing/tools.py", line 48, in parse_xml
    xml_file = unzip_file(xml_file)
  File "/usr/lib/pymodules/python2.6/scribe/parsing/tools.py", line 33, in unzip_file
    log.debuglog("décompression du fichier %s" % basename(fichier))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)

Le json utilisé sur la 2.2 renvoyait des string alors que sur la 2.3, c'est tout de l'unicode !


Related issues

Related to ead - Anomalie #1223: L'API de python-json a été modifiée ! Fermé 11/29/2010

Associated revisions

Revision 4093be54 (diff)
Added by Joël Cuissinat about 10 years ago

importation : fix encoage avec json + corrections pour que ça passe (fixes #1364)

History

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

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

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

  • Assigned To set to Joël Cuissinat

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

  • Status changed from Résolu to Fermé

eole-ead >= 2.3-eole24~4.gbp395613

Also available in: Atom PDF