[openbiblio-dev] Exposing as RDF...
Graham Higgins
gjh at bel-epa.com
Tue Jun 29 06:50:07 UTC 2010
Hi Peter,
On 28 Jun 2010, at 08:58, Peter Murray-Rust wrote:
> I think I did 4 OK but it was somewhat blind and in 5 it is
> complaining that it cannot find ordf :
>
> pkg_resources.DistributionNotFound: ordf
Step 4 failed. I was able to replicate the problem.
The pip-requirements file in the current repository is using an
obsolete URL for the ORDF package and so fails to install it. In the
interim, here's a workaround:
change openbiblio/pip-requirements.txt:
--e hg+http://bitbucket.org/ww/ordf#egg=ordf
+-e hg+http://knowledgeforge.net/pdw/ordf#egg=ordf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pipreq.diff
Type: application/octet-stream
Size: 593 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/openbiblio-dev/attachments/20100629/9cb1474b/attachment-0004.obj>
-------------- next part --------------
There's another issue ahead, an exception-throwing import from rdflib.
After pip has installed the dependencies:
change pyenv-openbiblio/src/ordf/ordf/namespace.py:
- from rdflib.namespace import Namespace, RDF, RDFS, XSD
+ from rdflib.namespace import Namespace, RDF, RDFS, _XSD_NS as XSD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rdfns.diff
Type: application/octet-stream
Size: 413 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/openbiblio-dev/attachments/20100629/9cb1474b/attachment-0005.obj>
-------------- next part --------------
--
Cheers,
Graham
http://www.linkedin.com/in/ghiggins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 370 bytes
Desc: This is a digitally signed message part
URL: <http://lists.okfn.org/pipermail/openbiblio-dev/attachments/20100629/9cb1474b/attachment.sig>
More information about the openbiblio-dev
mailing list