Bug 217841

Summary: nepomuksearch:/ kioslave does not work
Product: [Unmaintained] nepomuk Reporter: Konstantin <ria.freelander>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cy6erGn0m, dion, fredcwells, herbert, kde, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Konstantin 2009-12-08 10:26:39 UTC
Version:           svn (using 4.3.4 (KDE 4.3.4), Arch Linux)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.31-ARCH

Show zero results. Start with nofork not shows any error. Both sesame2 and virtuoso backends. Soprano-svn.
Comment 1 Sebastian Trueg 2009-12-08 10:33:01 UTC
This is way too little information.
* Which query did you use?
* Is the strigi file indexing enabled?
* What did you start with --nofork?
Comment 2 Konstantin 2009-12-08 11:15:05 UTC
Indexing suspended. Query is simple English or Russian word (file with has this name already indexed). I start dolphin with --nofork
Comment 3 Konstantin 2009-12-08 11:16:11 UTC
here is a requested info
Comment 4 Konstantin 2009-12-08 11:17:58 UTC
And with enabled indexing dolphin --nofork shows same error that in https://bugs.kde.org/show_bug.cgi?id=214765
Comment 5 Sebastian Trueg 2009-12-14 12:18:54 UTC
Please give an actual example of an english word and the file that should be found.
Comment 6 Konstantin 2009-12-14 12:37:22 UTC
word "reactos" and must find folder /home/rilian-la-te/Downloads/Other/reactos
Comment 7 Sebastian Trueg 2009-12-14 13:55:27 UTC
Works here with KDE svn trunk. Any chance you could test that?
Comment 8 Konstantin 2009-12-14 17:31:54 UTC
I already test it in bug 214765 - was be nothing... May be "dirty" ./kde folder cause this... But what about non-latin strings? I will test it again when Beta 2 will be released...
Comment 9 Ignacio Serantes 2010-01-03 12:01:01 UTC
I have the same problem with KDE 4.4 Beta 1 and Beta 2. The same happens with my user and with other user I have with few Nepomuk tags for testing.
Comment 10 Dion Moult 2010-01-03 13:23:07 UTC
I am experiencing this too, details of exactly what is happening is outlined here: http://forum.kde.org/viewtopic.php?f=66&t=84870
Comment 11 Konstantin 2010-01-13 18:54:29 UTC
Confirm on KDE 4.4 rc1 
Some backtrace from nepomukserver:
[/usr/bin/nepomukservicestub] "/usr/bin/nepomukservicestub(18383)" Error in thread 140535563376400 : "Timeout when reading after 1 of 4 bytes (QLocalSocket: Socket operation timed out)."
klauncher(18366)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_nepomuksearch"  with protocol= "nepomuksearch"  args= ("nepomuksearch", "local:/tmp/ksocket-rilian-la-teBt44WF/klauncherT18366.slave-socket", "local:/tmp/ksocket-rilian-la-teBt44WF/dolphinV18651.slave-socket")
kdeinit4: preparing to launch /usr/lib/kde4/kio_nepomuksearch.so
klauncher(18366)/kio (KLauncher) KLauncher::processRequestReturn: "kio_nepomuksearch" (pid 18657) up and running.
klauncher(18366)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "kio_nepomuksearch"  with protocol= "nepomuksearch"  args= ("nepomuksearch", "local:/tmp/ksocket-rilian-la-teBt44WF/klauncherT18366.slave-socket", "local:/tmp/ksocket-rilian-la-teBt44WF/dolphinb18651.slave-socket")
kdeinit4: preparing to launch /usr/lib/kde4/kio_nepomuksearch.so
kio_nepomuksearch(18657)/kio_ftp kdemain: Starting nepomuksearch slave  18657
klauncher(18366)/kio (KLauncher) KLauncher::processRequestReturn: "kio_nepomuksearch" (pid 18658) up and running.
kio_nepomuksearch(18658)/kio_ftp kdemain: Starting nepomuksearch slave  18658
kio_nepomuksearch(18657)/nepomuk (ioslave) Nepomuk::SearchProtocol::listDir: KUrl("nepomuksearch:/") ""
kio_nepomuksearch(18657)/nepomuk (library) <unnamed>::GlobalModelContainer::init: Connecting to local socket "/home/rilian-la-te/.kde/share/apps/nepomuk/socket"
[/usr/bin/nepomukservicestub] void Soprano::Server::ServerCore::slotNewSocketConnection() 
void Soprano::Server::ServerCore::Private::handleIncomingConnection(QIODevice*) 
void Soprano::Server::ServerCore::Private::handleIncomingConnection(QIODevice*) New connection. New count: 12
kio_nepomuksearch(18657)/nepomuk (ioslave) Nepomuk::SearchProtocol::listRoot:
kio_nepomuksearch(18658)/nepomuk (ioslave) Nepomuk::SearchProtocol::stat: KUrl("nepomuksearch:/")
kio_nepomuksearch(18658)/nepomuk (ioslave) Nepomuk::SearchProtocol::stat: KUrl("nepomuksearch:/") ""
kio_nepomuksearch(18658)/nepomuk (library) <unnamed>::GlobalModelContainer::init: Connecting to local socket "/home/rilian-la-te/.kde/share/apps/nepomuk/socket"
[/usr/bin/nepomukservicestub] void Soprano::Server::ServerCore::slotNewSocketConnection() 
void Soprano::Server::ServerCore::Private::handleIncomingConnection(QIODevice*)
[/usr/bin/nepomukservicestub] void Soprano::Server::ServerCore::Private::handleIncomingConnection(QIODevice*) New connection. New count: 13
kio_nepomuksearch(18658)/nepomuk (ioslave) Nepomuk::SearchProtocol::stat: Stat root KUrl("nepomuksearch:/")
Comment 12 Sebastian Trueg 2010-01-14 11:20:07 UTC
Does this also happen on a fresh KDE session, ie. the first query of the day?
I ask because there is a bug in Virtuoso which will make it stop working after a certain number of queries. That will be fixed in version 6.0.1 which will be the minimum for KDE 4.4 final.
Comment 13 Konstantin 2010-01-14 12:55:46 UTC
I also think that it is Virtuoso bug. Version 5.0.12 - it work (but with minor issues). Updated to 6.0.0 - stop working. But this was be a fresh query (nepomuk repo was be removed after installation of KDE 4.3.90)
Comment 14 Sebastian Trueg 2010-01-14 14:50:48 UTC
6.0.0 does not work at all and that is known. 6.0.1 will fix the issues. What do you mean by "5.0.12 works with issues"?
Comment 15 Konstantin 2010-01-15 12:05:43 UTC
Indexing is slow...
Comment 16 Ignacio Serantes 2010-01-16 22:17:10 UTC
Better, I found a stream that works well with Exaile and fails with Amarok. You must wait for a song with non western characters.
Comment 17 Ignacio Serantes 2010-01-16 22:17:28 UTC
Better, I found a stream that works well with Exaile and fails with Amarok. You must wait for a song with non western characters.
http://shitdicknipples.org:8000/jpopsuki
Comment 18 Ignacio Serantes 2010-01-16 22:49:56 UTC
Sorry for my past comments because was for another bug :(.
Comment 19 Sebastian Trueg 2010-01-26 11:29:24 UTC
Does searching now work with KDE SC 4.4rc2?
Comment 20 Herbert Graeber 2010-01-26 22:13:29 UTC
(In reply to comment #19)
> Does searching now work with KDE SC 4.4rc2?

I have tried it on openSUSE 11.2 with packages from the BuildService (uses virtuoso 5.0.12) and it doesn't work at all with the new query interface. The result is always empty.

Entering queries in the location bar like "nepomuksearch:/word", "nepomuksearch:/hasTag:Wichtig" or "nepomuksearch:/rating=9" work. Relational queries like "nepomuksearch:/rating>9" do not.
Comment 21 Sebastian Trueg 2010-01-27 09:50:52 UTC

*** This bug has been marked as a duplicate of bug 220072 ***
Comment 22 Fred Wells 2010-03-03 05:36:23 UTC
I can confirm that search doesn't work with KDE SC 4.4.
Comment 23 Sergey 2010-03-20 13:45:41 UTC
Yes, actually search is always finds nothing in KDE 4.4.0.