Mailing list ARC-DEV: Archives

Re: [arc-dev] LOAD broken?

From: Patrick Murray-John 
Subject: Re: [arc-dev] LOAD broken?
Date: Sun, 06 Sep 2009 10:39:32 -0400


Will,

 From what I just did, yes and no.

 From the endpoint on my laptop, at first I got what looks like the same 
error.  I saw additional messages about not being able to open a file 
socket due to a temporary name resolution problem (sorry, I don't 
remember what it said).

But I've had that problem before working from my laptop, and restarting 
apache generally did the trick.  So after restarting apache, LOAD was 
working fine for me.

So, I'd suggest trying that, and seeing if it is better.

Hope this helps,
Patrick


Will Daniels wrote:
> Hi,
>
> Would somebody mind confirming for me whether LOAD is working properly
> in the latest ARC (bzr revision 8)? A simple example:
>
> LOAD <http://dbpedia.org/resource/Charles_Dickens>
>
> ....tells me...
>
> No loader available for "http://dbpedia.org/resource/Charles_Dickens":
> in ARC2_StoreLoadQueryHandler
>
> Same with all sites that I've tried. I started to debug this and found
> that it's not getting the format from the stream headers in
> ARC2_Reader::getFormat:
>
> $mtype = $this->v('format', '', $this->stream['headers']);
>
> Here, $this->stream['headers'] is just an empty array, so it doesn't get
> any MIME type etc. But it would take me quite some time to dig into all
> the code before this that actually reads the stream, so I just wanted to
> ask if anybody can confirm that it should be working, or if somebody
> knows of any obvious configuration mishap that might stop this working
> properly (it always used to work fine when I was last playing with ARC,
> and I'm sure I didn't change anything except to update the ARC code with
> the latest version).
>
> Thanks,
> Will
>
>