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

Kaddressbook inoperant

Tags: None
(comma "," separated)
stonebroken
Registered Member
Posts
5
Karma
0

Kaddressbook inoperant

Mon Sep 22, 2014 8:07 pm
Hello,
When I start "kaddressbook" by a terminal window or by the graphic incon of KDE (4.13.3) no panel is displayed. For example with a terminal session I obtain immediately a new Linux prompt but nothing more. Where can I find a log to debug ?
2 tries:
1 - With "kcclient" all seems ok.
2 - If I start "sudo kaddressbook" I obtain an error message saying that the uid of the datafile is not correct (of course) but a default panel is displayed.
Has somebody any idea ?
Thanks
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Kaddressbook inoperant

Tue Sep 23, 2014 7:24 am
You can try enabling kaddressbook debug output by running "kdebugdialog" and writing "kaddressbook" in the search box, followed by ticking its name (don't forget to untick "disable all debug output") and clicking on OK, then running it in the terminal.

Other sources of possible information are in ~/.xsession-errors.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
stonebroken
Registered Member
Posts
5
Karma
0

Re: Kaddressbook inoperant

Tue Sep 23, 2014 8:28 pm
Thanks for your answer. None of both .xsession-errors and xsession-errors.old are documented after invoking "kaddressbook" grafically or by line command. However when I use the second method, the following message is displayed before return prompt:
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
When I select "kaddressbook" in the kdebugdialog box and I try "kaddressbook", nothing appears except "QDBusConnection ..." message.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Kaddressbook inoperant

Fri Sep 26, 2014 5:45 am
Ok, let's go for plan B. Close KAddresbook, open a terminal and write "akonadictl restart". Then try to open KAddressbook again. Some output should be written to the terminal where you typed that command. See if there's anything pertaining KAddressbook after you launched it.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
stonebroken
Registered Member
Posts
5
Karma
0

Re: Kaddressbook inoperant

Fri Sep 26, 2014 8:10 am
Hello,
I have restarted akonadi as you say. All seems ok. Last of the 3 messages about kaddressbook is :
Akonadi::Server::NotificationManager(0x99965a8) "kaddressbook_2338_15og0p" true
Database "akonadi" opened using driver "QMYSQL"
Thanks for your help
Pierre
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Kaddressbook inoperant

Fri Sep 26, 2014 2:47 pm
If you're knowledgeable enough you can try using "strace" to see if there's something going on when kaddressbook starts:

strace -p $(pidof kaddressbook)


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
stonebroken
Registered Member
Posts
5
Karma
0

Re: Kaddressbook inoperant

Fri Sep 26, 2014 8:39 pm
I have started strace then typed in "kaddressbook". Every 3 seconds a series of messages is displayed:
poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, events=POLLIN}], 7, -1) = 1 ([{fd=7, revents=POLLIN}])
recvmsg(7, {msg_name(0)=NULL, msg_iov(1)=[{"\34\0Z\4\271\2\0\0002\1\0\0\2263\t\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 64
recvmsg(7, 0xbfd4fb84, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(7, 0xbfd4fa84, 0) = -1 EAGAIN (Resource temporarily unavailable)
It is looping and never ending.
Pierre
stonebroken
Registered Member
Posts
5
Karma
0

Re: Kaddressbook inoperant  Topic is solved

Sun Sep 28, 2014 8:38 pm
Hello,
I have applied new patches to Kde and the problem was resolved. My addressbook is now accessible. Thank you very much for your help einar. Topic can be closed.
Pierre


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell