[Nepomuk] Soprano insists on not using Virtuoso as its backend

Raphael Kubo da Costa kubito at gmail.com
Wed Oct 21 00:56:33 CEST 2009


On Tue, Oct 20, 2009 at 7:11 PM, Eduardo Robles Elvira <edulix at gmail.com> wrote:
> On Tue, Oct 20, 2009 at 8:34 PM, Raphael Kubo da Costa <kubito at gmail.com> wrote:
>> Hey there,
>>
>> After the recent blog posts about Virtuoso being ready (or almost
>> ready) for everyday usage, I've decided to give it a try here in
>> trunk. I've installed it (it doesn't pass all tests the first time,
>> but everything works fine the second time I try to compile it),
>> removed kdesupport's CMakeCache.txt and rebuilt soprano. The virtuoso
>> backend was installed successfully. After that I removed kdebase's
>> CMakeCache.txt and reinstalled it. This gives me two backends: redland
>> and virtuoso, as I don't have Java installed to use sesame2.
>>
>> However, whenever I edit $KDEHOME/share/config/nepomukserverrc and put
>> "Used Soprano Backend=virtuosobackend" inside the Basic Settings
>> section and restart Nepomuk it goes back to using redland as its
>> backend.
>>
>> The relevant debug messages seem to be these:
>>
>> [/home/kubo/kde4/bin/nepomukservicestub] nepomukstorage(7908)/nepomuk
>> (storage service) Nepomuk::Repository::activeSopranoBackend:
>> (Nepomuk::Core::Core) could not find backend "sesame2" . Falling back
>> to default.
>> [/home/kubo/kde4/bin/nepomukservicestub] nepomukstorage(7908)/nepomuk
>> (storage service) Nepomuk::Repository::activeSopranoBackend:
>> (Nepomuk::Core::Core) could not find backend "sesame2" . Falling back
>> to default.
>> [/home/kubo/kde4/bin/nepomukservicestub] nepomukstorage(7908)/nepomuk
>> (storage service) Nepomuk::Repository::open: opening repository '
>> "main" ' at ' "/home/kubo/.kde4trunk/share/apps/nepomuk/repository/main/"
>> '
>> [/home/kubo/kde4/bin/nepomukservicestub]
>> (Soprano::Redland::BackendPlugin) creating model of type "hashes" with
>> options "hash-type='bdb',contexts='yes',dir='/home/kubo/.kde4trunk/share/apps/nepomuk/repository/main/data/redland'"
>> [/home/kubo/kde4/bin/nepomukservicestub] nepomukstorage(7908)/nepomuk
>> (storage service) Nepomuk::Repository::open: Successfully created new
>> model for repository "main"
>> [/home/kubo/kde4/bin/nepomukservicestub] nepomukstorage(7908)/nepomuk
>> (storage service) Nepomuk::Repository::open: Successfully created new
>> index for repository "main"
>> [/home/kubo/kde4/bin/nepomukservicestub] nepomukstorage(7908)/nepomuk
>> (storage service) Nepomuk::Repository::open: no need to convert "main"
>>
>> Then, whenever I use 'qdbus org.kde.NepomukStorage /nepomukstorage
>> org.kde.nepomuk.Storage.usedSopranoBackend' I get the following:
>>
>> [/home/kubo/kde4/bin/nepomukservicestub] nepomukstorage(7999)/nepomuk
>> (storage service) Nepomuk::Repository::activeSopranoBackend:
>> (Nepomuk::Core::Core) could not find backend "sesame2" . Falling back
>> to default.
>> redland
>>
>> What can I be doing wrong?
>>
>> Cheers,
>> Raphael
>
> Hello,
>
> I think that the problem is that you need to put Soprano
> Backend=virtuosobackend ins the [Basic Settings] section instead, and
> set the Used Soprano Backend to whatever you were using previously
> (redland it seems) to be able to do a correct data migration.
>
> Regards
>  Eduardo RE

Thank you both, that was the problem. Next time I'll read the
instructions more carefully instead of copying and pasting lines
around ;)


More information about the Nepomuk mailing list