[
https://issues.apache.org/jira/browse/RYA-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16317363#comment-16317363
]
Kevin Chilton commented on RYA-428:
-----------------------------------
It looks like this error only happens if you use a relative path in the
command. If you use an absolute path, it works fine.
> Mongo Shell: Can not load statements file.
> ------------------------------------------
>
> Key: RYA-428
> URL: https://issues.apache.org/jira/browse/RYA-428
> Project: Rya
> Issue Type: Bug
> Affects Versions: 3.2.12
> Environment: Executing the shaded shell jar connecting to Mongo DB
> running on my local machine.
> Reporter: Kevin Chilton
> Assignee: Kevin Chilton
> Fix For: 3.2.12
>
> Attachments: test1.nt
>
>
> While using the Rya shell, if you connect to an instance of Mongo DB and try
> to load a statements file using the following command:
> {code}
> rya/localhost:test> load-data --file ~/test1.nt
> {code}
> Then you will see the following output:
> {code}
> Detected RDF Format: N-Triples (mimeTypes=text/plain; ext=nt)
> Command failed java.lang.RuntimeException: Can not load the RDF Statement
> data. Reason: Could not load the statements into Rya.
> {code}
> See the attached test1.nt file for the data that was used while executing
> this test.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)