baloo search doesn't work with kdelibs4 in kubuntu vivid by default

Bug #1429960 reported by Jonathan Riddell
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
baloo (Ubuntu)
Fix Released
High
Unassigned

Bug Description

baloo search doesn't work in dolphin in kubuntu vivid by default. dolphin is kdelibs4 not kf5. baloo-utils is installed which should provide the baloo parts for kdelibs4 including kio slave.

This doens't work:
 kioclient ls baloosearch://?query=foo

While this does:
 kioclient5 ls baloosearch://?query=foo

Tags: kubuntu vivid
Jonathan Riddell (jr)
Changed in baloo (Ubuntu):
milestone: none → ubuntu-15.04
tags: added: kubuntu
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in baloo (Ubuntu):
status: New → Confirmed
Revision history for this message
Sherif (ali-sherif10) wrote :

I guess it affects me.

tags: added: vivid
Revision history for this message
Sherif (ali-sherif10) wrote :

I have Kubuntu 15.04.

Changed in baloo (Ubuntu):
importance: Undecided → High
Jonathan Riddell (jr)
summary: - baloo search doesn't work in kubuntu vivid by default
+ baloo search doesn't work with kdelibs4 in kubuntu vivid by default
Revision history for this message
Jonathan Riddell (jr) wrote :

if I install baloo4 and run baloosearch it complains that the database isn't open

if I install libqt4-sql-sqlite this gets fixed and qt4 baloosearch now works

alas this doesn't help kioclient ls baloosearch://?query=foo which continues not to return anything

Revision history for this message
Jonathan Riddell (jr) wrote :

turning on debugging in kdebugdialog gives me:

>kioclient ls baloosearch://?query=foo
unnamed app(2596) ClientApp::doIt: Creating ClientApp
kioclient(2596)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xa54510)
kioclient(2596)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "baloosearch"
kioclient(2596)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-jrmHGm2i/ksycoca4"
kioclient(2596)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 20 m_maxConnectionsPerHost: 20
kioclient(2596)/kio (Slave) KIO::Slave::createSlave: createSlave "baloosearch" for KUrl("baloosearch://?query=foo")
kioclient(2596)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on "local:/run/user/1000/ksocket-jr/kioclientZT2596.slave-socket"
kioclient(2596)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0xa54510) KIO::Slave(0xa6daf0)
QCoreApplication::postEvent: Unexpected null receiver
kioclient(2596)/kio (Slave) KIO::Slave::kill: killing slave pid 2597 ( "baloosearch://" )

Revision history for this message
Jonathan Riddell (jr) wrote :

Seems the issue is the syntax in the io slave is different. After installing qtsqlite plugin it works in dolphin

A query like this does work on the command line
kioclient ls "baloosearch://?json=%7B%20%22customOptions%22%20:%20%7B%20%22includeFolder%22%20:%20%22/home/%22%20%7D,%20%22term%22%20:%20%7B%20%22$and%22%20:%20%5B%20%7B%20%22filename%22%20:%20%7B%20%22$ct%22%20:%20%22foo%22%20%7D%20%7D%20%5D%20%7D,%20%22type%22%20:%20%5B%20%22File%22%20%5D%20%7D&title=Query%20Results%20from%20'foo'"

So once the new baloo4 migrates to vivid problem solved. This is only blocked by a random failing test on kde-baseapps
 which I guess I'll patch out.
https://jenkins.qa.ubuntu.com/job/vivid-adt-kde-baseapps/ARCH=amd64,label=adt/53/console

Jonathan Riddell (jr)
Changed in baloo (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Sherif (ali-sherif10) wrote :

Even after releasing the fix, bug 1432853 is still not fixed.

Revision history for this message
julienV (julv-g) wrote :

I have the same bug as well on kubuntu 15.04

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.