Giter VIP home page Giter VIP logo

isis2json's People

Contributors

ramalho avatar renatomurasaki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

isis2json's Issues

Error al ejecutar comando isis2json.py

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"}

Missing zeusIII.jar

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.

No module name jyson

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.