bireme/isis2json — Issue #1: Error al ejecutar comando isis2json.py
Author: victorricardo
Created: 2011-12-14 21:10:39+00:00
State: open

Cuando ejecuto:

root@victor-desktop:/srv/bireme-isis2json# ./isis2json.py artigo.iso -c -i 2 -q 100 | curl -d @- -X POST http://127.0.0.1:5984/scielo/_bulk_docs -H"Content-Type: application/json"

Se visualiza el sgte error:

Traceback (most recent call last):
File "./isis2json.py", line 240, in
args.id, args.uuid, args.mongo, args.mfn, args.type, args.prefix, args.constant)
File "./isis2json.py", line 134, in writeJsonArray
raise KeyError(msg % (id_tag, i))
KeyError: 'id tag #2 not found in record 0'
{"error":"bad_request","reason":"invalid UTF-8 JSON"}