You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by "A. Soroka" <aj...@virginia.edu> on 2016/01/01 01:47:00 UTC

Re: arq - failed to read data

Just a long shot, but it isn’t by chance a permissions problem, is it? Did you create the data file as the same identity as you are using to run the query?

---
A. Soroka
The University of Virginia Library

> On Dec 31, 2015, at 4:50 PM, Brian Wolf <br...@gmail.com> wrote:
> 
> hi, thanks for your help.
> 
> its strange,
> 
> i have JENA_HOME set to the directory i'm running this in.
> 
> both query and data file are in that directory.
> 
> and it can apparently find the query file:
> 
> $ bin/arq --data eex01.tt1     --query ex003.rq  --debug
>  1 PREFIX  ab:   <http://learningsparql.com/ns/addressbook#>
>  2
>  3 SELECT  ?craigEmail
>  4 WHERE
>  5   { ab:craig  ab:email  ?craigEmail }
> 
> Failed to load data
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Thu, Dec 31, 2015 at 3:55 PM, Andy Seaborne <an...@apache.org> wrote:
> 
>> On 31/12/15 18:51, Brian Wolf wrote:
>> 
>>>  hello, newbie here, i'm getting "failed to read data" when i try to
>>> run  bin/arq
>>> --data ex002.ttl --query ex003.rq  , the files are all in same directory
>>> on
>>> a linux system with jena 3.0.1 and java 1.8 these are the files:
>>> http://pastebin.com/w6Z5MaXV. any help appreciated
>>> 
>>> 
>> The message
>> 
>> "Failed to load data"
>> 
>> with no other errors means it can't find the data.
>> 
>> (parse errors get printed if the file is found but is bad)
>> 
>> I tried your data and query (Jena 3.0.1)
>> 
>> --------------------------------
>> | craigEmail                   |
>> ================================
>> | "c.ellis@usairwaysgroup.com" |
>> | "craigellis@yahoo.com"       |
>> --------------------------------
>> 
>> 
>> 
>>        Andy
>> 


Re: arq - failed to read data

Posted by Brian Wolf <br...@gmail.com>.
thanks for the help, it was a real "da - ahh". i had "1" for a "l" in file
suffix.

On Fri, Jan 1, 2016 at 6:02 AM, Andy Seaborne <an...@apache.org> wrote:

> On 01/01/16 00:47, A. Soroka wrote:
>
>> Just a long shot, but it isn’t by chance a permissions problem, is it?
>> Did you create the data file as the same identity as you are using to run
>> the query?
>>
>> ---
>> A. Soroka
>> The University of Virginia Library
>>
>> On Dec 31, 2015, at 4:50 PM, Brian Wolf <br...@gmail.com> wrote:
>>>
>>> hi, thanks for your help.
>>>
>>> its strange,
>>>
>>> i have JENA_HOME set to the directory i'm running this in.
>>>
>>> both query and data file are in that directory.
>>>
>>> and it can apparently find the query file:
>>>
>>> $ bin/arq --data eex01.tt1
>>>
>>
> "eex01" looks wrong
>
>
>     --query ex003.rq  --debug
>
>>   1 PREFIX  ab:   <http://learningsparql.com/ns/addressbook#>
>>>   2
>>>   3 SELECT  ?craigEmail
>>>   4 WHERE
>>>   5   { ab:craig  ab:email  ?craigEmail }
>>>
>>> Failed to load data
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Dec 31, 2015 at 3:55 PM, Andy Seaborne <an...@apache.org> wrote:
>>>
>>> On 31/12/15 18:51, Brian Wolf wrote:
>>>>
>>>>   hello, newbie here, i'm getting "failed to read data" when i try to
>>>>> run  bin/arq
>>>>> --data ex002.ttl --query ex003.rq  , the files are all in same
>>>>> directory
>>>>> on
>>>>> a linux system with jena 3.0.1 and java 1.8 these are the files:
>>>>> http://pastebin.com/w6Z5MaXV. any help appreciated
>>>>>
>>>>>
>>>>> The message
>>>>
>>>> "Failed to load data"
>>>>
>>>> with no other errors means it can't find the data.
>>>>
>>>> (parse errors get printed if the file is found but is bad)
>>>>
>>>> I tried your data and query (Jena 3.0.1)
>>>>
>>>> --------------------------------
>>>> | craigEmail                   |
>>>> ================================
>>>> | "c.ellis@usairwaysgroup.com" |
>>>> | "craigellis@yahoo.com"       |
>>>> --------------------------------
>>>>
>>>>
>>>>
>>>>         Andy
>>>>
>>>>
>>
>

Re: arq - failed to read data

Posted by Andy Seaborne <an...@apache.org>.
On 01/01/16 00:47, A. Soroka wrote:
> Just a long shot, but it isn’t by chance a permissions problem, is it? Did you create the data file as the same identity as you are using to run the query?
>
> ---
> A. Soroka
> The University of Virginia Library
>
>> On Dec 31, 2015, at 4:50 PM, Brian Wolf <br...@gmail.com> wrote:
>>
>> hi, thanks for your help.
>>
>> its strange,
>>
>> i have JENA_HOME set to the directory i'm running this in.
>>
>> both query and data file are in that directory.
>>
>> and it can apparently find the query file:
>>
>> $ bin/arq --data eex01.tt1

"eex01" looks wrong

     --query ex003.rq  --debug
>>   1 PREFIX  ab:   <http://learningsparql.com/ns/addressbook#>
>>   2
>>   3 SELECT  ?craigEmail
>>   4 WHERE
>>   5   { ab:craig  ab:email  ?craigEmail }
>>
>> Failed to load data
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Dec 31, 2015 at 3:55 PM, Andy Seaborne <an...@apache.org> wrote:
>>
>>> On 31/12/15 18:51, Brian Wolf wrote:
>>>
>>>>   hello, newbie here, i'm getting "failed to read data" when i try to
>>>> run  bin/arq
>>>> --data ex002.ttl --query ex003.rq  , the files are all in same directory
>>>> on
>>>> a linux system with jena 3.0.1 and java 1.8 these are the files:
>>>> http://pastebin.com/w6Z5MaXV. any help appreciated
>>>>
>>>>
>>> The message
>>>
>>> "Failed to load data"
>>>
>>> with no other errors means it can't find the data.
>>>
>>> (parse errors get printed if the file is found but is bad)
>>>
>>> I tried your data and query (Jena 3.0.1)
>>>
>>> --------------------------------
>>> | craigEmail                   |
>>> ================================
>>> | "c.ellis@usairwaysgroup.com" |
>>> | "craigellis@yahoo.com"       |
>>> --------------------------------
>>>
>>>
>>>
>>>         Andy
>>>
>