[openbiblio-dev] installation problems

rich hardy ontouser at gmail.com
Thu Jan 19 19:07:58 UTC 2012


Hi,
I'm still having a couple of issues.
Does openbiblio use rdflib 3.2 or 2.4?
On a new install, I go to http://localhost:5000/entry/GB5006595 and I
see the following error:
PluginException: No plugin registered for (sparql, <class
'rdflib.query.Result'>)
I see this is because in version 3.0+ SPARQL capabilities have been
moved from rdflib to rdfextras
(https://groups.google.com/forum/#!topic/surfrdf/EiJ7_eAS4UE)
But setup.py requires 'rdflib>=3.0'
So, as a test, I installed rdflib2.4, changed setup.py, and ran
"python setup.py develop" again.
Now I get the following error when I go to http://localhost:5000/entry/GB5006595
SyntaxError: lexical error at line 18, column 1: no action found for
'CONSTRUCT {\n <http://localhost:5000/entry/GB5006595> a foaf:Agent
.\n <http://localhost:5000/entry/GB5006595> ?a_p ?a_o .\n ?work a
bibo:Document .\n ?work dc:title ?title .\n ?work ?rel
<http://localhost:5000/entry/GB5006595>\n} WHERE {\n ?anon owl:sameAs
<http://localhost:5000/entry/GB5006595> .\n ?anon ?a_p ?a_o .\n ?work
a bibo:Document .\n ?work dc:title ?title .\n ?work ?rel ?anon\n} \n'
This is referring to controllers/graph.py
Thank you for your help!
On Thu, Jan 19, 2012 at 3:16 PM, William Waites <ww at styx.org> wrote:
> On Thu, 19 Jan 2012 15:07:07 -0300, rich hardy <ontouser at gmail.com> said:
>
>    > For anyone else installing the software this way, there is a ':'
>    > missing on line 33 of contributor.n3.
>
>    > The line should read: fresnel:group :obpGroup ;
>
> Fixed in the repository. Thanks!
>
> -w




More information about the openbiblio-dev mailing list