This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Odd error message about Xapian

Tags: None
(comma "," separated)
User avatar
davidbryant
KDE Developer
Posts
11
Karma
0
OS

Odd error message about Xapian

Sun Apr 25, 2021 6:47 pm
Hi. This is my first post in this forum. I read the rules; I intend to update my profile after I post this.

I run KDE software on a Gentoo system. Kernel is 5.10.27; Plasma 5.20.5; Frameworks 5.80.0; Qt 5.15.2. I have made some contributions to KDE documentation. Currently I'm revising the docs for KMail. I ran across this in the FAQ (Handbook Chapter 6).
6.17. Why does KMail not start up?
Symptom: You want to start KMail from a minimal desktop environment like fvwm2. It does not start.
Reason: You are missing the dbus functionality.
Solution: Start KMail using dbus-launch like this:
dbus-launch kmail


So just to be sure I understood this, I killed KMail, then restarted it with dbus-launch. It generated a lot of messages, including two instances of this one.
Code: Select all
org.kde.pim.akonadi_search_xapian: Could not obtain lock for Xapian Database. This is bad


I'm not worried about this message, just curious. KMail runs OK almost all the time. The thing is, I'm using mysql as the back end for Akonadi, and I think mysql has its own indexing scheme built in. So why is KMail (or Akonadi) trying to find a hook into xapian? Is it just real old code? It's no surprise that it can't lock the xapian database; I haven't installed xapian in my system.

Just for comparison, when I launch kmail from a terminal without invoking dbus-launch, this is all I see.
Code: Select all
# kmail
Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
[19410:7:0425/133906.948960:ERROR:command_buffer_proxy_impl.cc(141)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.


Any insight would be appreciated. Oh, yeah. KMail is pretty current: 5.16.3 (20.12.3)
--
David Bryant
Canyon Lake, Texas
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Odd error message about Xapian

Fri Apr 30, 2021 11:30 am
AFAIK this is just a check whether there is actually a use for xapian. Not necessarily an old code, but to cover all possible information retrieval protocols? Since Akonadi can be used with different kind of databases this would make sense IMHO.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]