[okfn-dev] python library for virtuoso
William Waites
ww at styx.org
Fri Jun 17 11:07:34 UTC 2011
This kind of error looks like the virtuoso package isn't actually installed.
Note that you also need the patched version of pyodbc the normal one will not work.
I am not surprised that there are build problems with windows...
When you get this working you'll find that it is very easy to cause virtuoso to deadlock. This is why we use the rdflib sparql store and some bits from surf now to talk to virtuoso and have been forced to disable public access to the endpoint
Very busy these next days will be happy to try to help you more next week
Rufus Pollock <rufus.pollock at okfn.org> a écrit :
>Hi Adrian,
>
>Please keep cc if you can -- will waites is expert here as he wrote the library!
>
>@Will: any ideas about Adrian's issues (see below).
>
>@Adrian: you may also want to report this issue here:
><https://bitbucket.org/ww/virtuoso/issues>
>
>Rufus
>
>On 17 June 2011 08:51, brasoveanu adrian <adrian.brasoveanu at gmail.com> wrote:
>> Hello Rufus,
>>
>> this is the same library I have used. I've used more, but this seemed
>> to be the most interesting.
>>
>> I installed pyodbc, rdflib before installing virtuoso.
>>
>> On Win 64 I had the vcvarsaal.bat problem.... I fixed that
>> problem...by attaching the Microsoft Visual C++ 2008 compiler...
>>
>> Than I tested again on different operating systems: Win 32, Win 64, Linux.
>>
>> On Windows the virtuoso package would not compile, on Linux (Ubuntu
>> 11.04), I got this errror:
>>
>> In [4]: Virtuoso = plugin("Virtuoso", Store)
>> ---------------------------------------------------------------------------
>> Exception Traceback (most recent call last)
>>
>> /home/heinz/<ipython console> in <module>()
>>
>> /usr/lib/pymodules/python2.7/rdflib/plugin.pyc in get(name, kind)
>> 25 Adaptee = get(name, _adaptors[kind])
>> 26 except Exception, e:
>> ---> 27 raise Exception("could not get plugin for %s, %s:
>> %s" % (name, kind, e))
>> 28 def const(*args, **keywords):
>> 29 return Adaptor(Adaptee(*args, **keywords))
>>
>> Exception: could not get plugin for Virtuoso, <class
>> 'rdflib.store.Store'>: <class 'rdflib.store.Store'>
>>
>> So it still didn't worked.
>>
>> I will also try the other approach you suggested, but here the general
>> opinion is that they want a triplestore.
>>
>> Best regards,
>> Adrian Brasoveanu
>>
>
>
>
>--
>Co-Founder, Open Knowledge Foundation
>Promoting Open Knowledge in a Digital Age
>http://www.okfn.org/ - http://blog.okfn.org/
More information about the okfn-labs
mailing list