You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I set up the container as described in the readme. Since the sample csv file is missing (see #1) I added a simple csv file on my own. Requests to the endpoint responded with an error (list index out of range), so I assumed, I had a wrong format in my csv file...
To be sure about the format and RML mapping, I added my own dataset as described in the README, I adjusted the config, added mapper and template files (basically copy-paste-edit of the original files, see attached) and copied them into the container. But when I restart the container, the log says, that the json files could not be decoded. Is there something wrong in the structure? Any help is appreciated.
2020-02-18T17:24:10.180+0000 I NETWORK [thread1] waiting for connections on port 27017
Traceback (most recent call last):
File "/usr/local/bin/OntarioServer.py", line 4, in <module>
__import__('pkg_resources').run_script('ontario==0.1', 'OntarioServer.py')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 534, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1445, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/ontario-0.1-py2.7.egg/EGG-INFO/scripts/OntarioServer.py", line 108, in <module>
File "build/bdist.linux-x86_64/egg/ontario/config/__init__.py", line 10, in __init__
File "build/bdist.linux-x86_64/egg/ontario/config/__init__.py", line 84, in getAllMolecules
File "build/bdist.linux-x86_64/egg/ontario/config/__init__.py", line 110, in readJsonFile
File "/usr/lib/python2.7/json/__init__.py", line 290, in load
**kw)
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Hi, I set up the container as described in the readme. Since the sample csv file is missing (see #1) I added a simple csv file on my own. Requests to the endpoint responded with an error (list index out of range), so I assumed, I had a wrong format in my csv file...
To be sure about the format and RML mapping, I added my own dataset as described in the README, I adjusted the config, added mapper and template files (basically copy-paste-edit of the original files, see attached) and copied them into the container. But when I restart the container, the log says, that the json files could not be decoded. Is there something wrong in the structure? Any help is appreciated.
mysetup.zip
The text was updated successfully, but these errors were encountered: