bireme / isis2json Goto Github PK
View Code? Open in Web Editor NEWCDS/ISIS to JSON database converter (compatible with CouchDB and MongoDB)
Home Page: http://github.com/bireme/isis2json
License: GNU Lesser General Public License v2.1
CDS/ISIS to JSON database converter (compatible with CouchDB and MongoDB)
Home Page: http://github.com/bireme/isis2json
License: GNU Lesser General Public License v2.1
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"}
To use the tool isis2json.py
the README says that you need two jar files in your CLASSPATH
: jyson-1.0.1.jar
and zeusIII.jar
.
jyson is provided in the lib directory, but zeusIII.jar
is not. I did an online search and found this: http://reddes.bvsaude.org/projects/CheckLinks/browser/trunk/CheckLinksIII/package/zeusIII.jar
With this jar on my CLASSPATH
, I was able to convert an MST WinISIS file to JSON.
Maybe you can add the zeusIII.jar
file to this repo? (I'm writing this issue mostly to help if someone bumps into the same problem)
Thanks for this tool, it's very helpful.
When trying to process a .mst file, I found the following error:
Traceback (most recent call last):
File "./isis2json.py", line 33, in <module>
from com.xhaus.jyson import JysonCodec as json
ImportError: No module named jyson
Of course, the jyson jar is still in the lib folder. Running Jython 2.5 under Arch Linux.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.