Bug 283965 - Akonadi doesn't work due to kwallet problem
Summary: Akonadi doesn't work due to kwallet problem
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 1.6.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 07:24 UTC by Gregor Petrin
Modified: 2017-01-07 22:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor Petrin 2011-10-14 07:24:04 UTC
Version:           1.6.0 (using KDE 4.7.1) 
OS:                Linux

I don't have much to go on, but Akonadi doesn't work properly.

KMail and choqok don't show any accounts. KMail's system tray icon is there, but transparent (the only reason I know it's KMail's icon is by right clicking on it and seeing the context menu). Kopete sees my accounts but cannot get online with them.

I've tried restarting the machine a couple of times and sometimes I can get my previous email accounts in KMail, though it refuses to download any new messages or delete IMAP email messages. Calendar isn't showing my WebDAV calendars, though that has been a bit flaky in the past when the rest worked anyway.

Basket notes work, though I'm not sure how much they are integrated with Akonadi  so this may be irrelevant.

If I open akonadi configuration, it says 'The akonadi server is running' and pressing the 'Test' button reports only previous error logs (will paste them), the rest is OK. Akonadiconsole used to be able to browse my email messages (though not get new ones), but now doesn't see them anymore (so I am a bit scared my mail is gone.. again - thank god for IMAP :)).

dmesg and /var/log/messages look clean. .xsessionerrors is a mess - no times and no message sources in there, so I'm usually a bit reluctant to look in there. Although, now that I'm looking a bit deeper, there is some interesting stuff in there (please tell me if I should rename this bug report or provide more info):

"/usr/bin/nepomukservicestub(20804)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('akonadicontrol', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 ?v4 . FILTER(bif:contains(?v4, "'akonadicontrol'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'akonadicontrol'")) . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but the supplied string not wide)"
"/usr/bin/nepomukservicestub(20804)" Soprano: "Invalid iterator."



Previous server error log:

ItemRetrieverException :  Unable to contact resource 
ItemRetrieverException :  Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. 
D-Bus session bus went down - quitting 


Previous control error log:

Unable to register service as org.freedesktop.Akonadi.Control.lock Maybe it's already running? 
"[
0: akonadi_control(_Z11akBacktracev+0x37) [0x4198c7]
1: akonadi_control() [0x419cc2]
2: /lib64/libc.so.6(+0x32b30) [0x7f2e2a991b30]
3: /lib64/libc.so.6(gsignal+0x35) [0x7f2e2a991ab5]
4: /lib64/libc.so.6(abort+0x186) [0x7f2e2a992fb6]
5: /usr/lib64/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74) [0x7f2e2bb7ce44]
6: akonadi_control(_ZN15FileDebugStream9writeDataEPKcx+0xab) [0x41bd0b]
7: /usr/lib64/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x77) [0x7f2e2bc0aa97]
8: /usr/lib64/libQtCore.so.4(+0x106e16) [0x7f2e2bc12e16]
9: /usr/lib64/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b) [0x7f2e2bc1bcfb]
10: akonadi_control(main+0x466) [0x432946]
11: /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f2e2a97dbfd]
12: akonadi_control() [0x414049]
]
" 
D-Bus session bus went down - quitting 


Reproducible: Always

Steps to Reproduce:
No idea.. log into my machine? :)


Expected Results:  
The programs should start working again and ideally, my accounts should remain intact..
Comment 1 Gregor Petrin 2011-10-14 07:51:24 UTC
So I've investigated .xsession-errors further and it seems the problem could like in KWallet (updated the bug title)!

Here's some more relevant lines from .xsession-errors - they all seem to come from kwallet:


[/usr/bin/nepomukservicestub] "/usr/bin/nepomukservicestub(32370)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?
_n_f_t_m_ex_ where { { ?r ?v2 ?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(
?v4, "'walle'")) . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but
 the supplied string not wide)"
 
 
 
[/usr/bin/nepomukservicestub] Query failed: "sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 ?v4 . FILTER(bif:contains(?v4, "'
walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'walle'")) . } . ?r <http://www.semanticdesktop.org/ontol
ogies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10"
[/usr/bin/nepomukservicestub] "/usr/bin/nepomukservicestub(32370)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?
_n_f_t_m_ex_ where { { ?r ?v2 ?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(
?v4, "'walle'")) . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but
 the supplied string not wide)"
"/usr/bin/nepomukservicestub(32370)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 
?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'walle'")) . } . ?r <htt
p://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but the supplied string not wide)
"
"/usr/bin/nepomukservicestub(32370)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 
?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'walle'")) . } . ?r <htt
p://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but the supplied string not wide)
"
"/usr/bin/nepomukservicestub(32370)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 
?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'walle'")) . } . ?r <htt
p://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but the supplied string not wide)
"
"/usr/bin/nepomukservicestub(32370)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 
?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'walle'")) . } . ?r <htt
p://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but the supplied string not wide)
"
[/usr/bin/nepomukservicestub] "/usr/bin/nepomukservicestub(32370)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 ?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'walle'")) . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but the supplied string not wide)"
"/usr/bin/nepomukservicestub(32370)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 ?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'walle'")) . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but the supplied string not wide)"
[/usr/bin/nepomukservicestub] "/usr/bin/nepomukservicestub(335)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 ?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'walle'")) . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but the supplied string not wide)"
"/usr/bin/nepomukservicestub(335)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 ?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'walle'")) . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but the supplied string not wide)"
[/usr/bin/nepomukservicestub] "/usr/bin/nepomukservicestub(335)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 ?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'walle'")) . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but the supplied string not wide)"
"/usr/bin/nepomukservicestub(335)" Soprano: "SQLExecDirect failed on query 'sparql select distinct ?r (bif:concat(bif:search_excerpt(bif:vector(bif:charset_recode('walle', '_WIDE_', 'UTF-8')), ?v4))) as ?_n_f_t_m_ex_ where { { ?r ?v2 ?v4 . FILTER(bif:contains(?v4, "'walle'")) . } UNION { ?r ?v2 ?v5 . ?v5 ?v3 ?v4 . ?v3 <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> <http://www.w3.org/2000/01/rdf-schema#label> . FILTER(bif:contains(?v4, "'walle'")) . } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . } LIMIT 10' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]IN013: Wide source charset specified, but the supplied string not wide)"
"/usr/bin/nepomukservicestub(335)" Soprano: "Invalid iterator."
Comment 2 Gregor Petrin 2011-10-14 08:04:58 UTC
OK, confirmed, the problem was kwallet - killing the kwalletd process suddenly jolted all my applications as if they were waiting for a reply from kwallet: all the apps suddenly started asking for passwords and once I entered them, I was online in kopete and could see my tweets & identi.ca messages. I had to restart akonadi before I got my mail back, but it is back now!

So before I go testing & gathering information for a kwallet bug report, the main problem regarding akonadi is probably that it did not tell me what the problem was. Maybe the various akonadi resources should display something along the lines of 'waiting for credentials' instead of 'ready' which could prompt a person to the right culprit?
Comment 3 Bobby 2011-11-14 07:33:15 UTC
I am having similar issues with kwallet. have you been able to file a bug report about the problem?
Comment 4 Gregor Petrin 2011-11-14 08:42:54 UTC
No, sorry - after that restart, kwallet managed to sort out its issues and worked perfectly ever since, so I wasn't able to gather enough data for a bug report.
Comment 5 Bobby 2011-11-14 08:56:38 UTC
I have been having this issue now for close to a week now. I have tried
everything including removing all kwallet config files in
.kde/share/config/ and .kde/share/apps and still no go. I am still having
the same issues. I really don't want to have to re install the laptop :/
On Nov 14, 2011 9:42 AM, "Gregor Petrin" <gregap@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=283965
>
>
>
>
>
> --- Comment #4 from Gregor Petrin <gregap gmail com>  2011-11-14 08:42:54
> ---
> No, sorry - after that restart, kwallet managed to sort out its issues and
> worked perfectly ever since, so I wasn't able to gather enough data for a
> bug
> report.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
Comment 6 Denis Kurz 2016-09-24 20:38:45 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 7 Denis Kurz 2017-01-07 22:17:00 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.