FS#36801 - [virtuoso-base] After downagraded to version 6.1.6 causes dolphin to stutter
Attached to Project:
Arch Linux
Opened by dlh (dlh) - Thursday, 05 September 2013, 21:01 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 13 September 2013, 15:53 GMT
Opened by dlh (dlh) - Thursday, 05 September 2013, 21:01 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 13 September 2013, 15:53 GMT
|
Details
Description:
After downagraded virtuoso dolphin slow down and I am unable to use it. So I decided to turn off Nepomuk Service at all and then kill virtuoso process. Additional info: * 1:6.1.6-1 * default Steps to reproduce: Switch catalogs in dolphin, try to mark files with mouse and so... |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Friday, 13 September 2013, 15:53 GMT
Reason for closing: Fixed
Additional comments about closing: Updated again to 6.1.7. Upstream will fix broken rating in 6.1.7 ASAP.
Friday, 13 September 2013, 15:53 GMT
Reason for closing: Fixed
Additional comments about closing: Updated again to 6.1.7. Upstream will fix broken rating in 6.1.7 ASAP.
After downgrade to virtuoso-base-6.1.7-1 and virtuoso-6.1.7-1 everything works again.
virtuoso-base also needs reverting 0e01d5b5
in nepomuk-core.
commit 0e01d5b5 really does "nothing" http://quickgit.kde.org/?p=nepomuk-core.git&a=commitdiff&h=0e01d5b5
I'm waiting for upstream here, they told us to "absolutely" downgrade virtuoso...so I did.
There's a very distinct and random lag on certain actions like
selecting an email in Kmail, pressing arrow-down on the file list
with Dolphin.
For me the issue was actually that dolphin search didn't really work at all - a bunch of files kept showing up as unindexed.
==Why I think this:==
I turned on debug output with kdebugdialog, restarted nepomuk with "nepomukctl restart" in a terminal and then reindexed some things using systemsettings.
I got a bunch of errors like this:
"SQLExecDirect failed on query 'sparql DEFINE input:inference <nepomukinference> select ?r where { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#url> <file:///test.test> . } limit 1' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]SR496: Property <http://www.openlinksw.com/schemas/virtrdf#qmfMapsOnlyNullToNull> is not a field of struct qm_format_s, RDF class <http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat>)")
If you look at this file:
https://github.com/openlink/virtuoso-opensource/blob/v6.1.6/libsrc/Wi/rdf_mapping.jso
vs this one:
https://github.com/openlink/virtuoso-opensource/blob/v6.1.7/libsrc/Wi/rdf_mapping.jso
you see that the latter has the row:
JSO_SCALAR qmfMapsOnlyNullToNull BOOLEAN OPTIONAL --!< Nonzero if the format gives NULL IFF short value is NULL
So, yes, the new db is not the same as the old.
==How to reindex (the brutal way, if you have no tags)==
Stop nepomuk
Edit $HOME/.kde4/share/config/nepomukstrigirc
so that it has "first run=true" instead of "first run=false"
Move $HOME/.kde4/share/apps/nepomuk/repository/main/data/virtuosobackend somewhere else.
Start nepomuk again
==How to reindex (the less brutal way==
Make a backup in system settings. Do the above. Restore the backup.
(arguably there should be a big red button somewhere to do this)
I fixed the lag by wiping the nepomuk database.