Mailing list ARC-DEV: Archives

LOAD broken?

From: Will Daniels 
Subject: LOAD broken?
Date: Sun, 06 Sep 2009 02:03:45 +0300


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