Bug 226400 - Contact details are always empty, though data exists and is shown in contactlist
Summary: Contact details are always empty, though data exists and is shown in contactlist
Status: RESOLVED WORKSFORME
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 226948 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-11 22:00 UTC by Felix Tiede
Modified: 2010-05-07 16:09 UTC (History)
5 users (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 Felix Tiede 2010-02-11 22:00:02 UTC
Version:           4.4 (using KDE 4.4.0)
Compiler:          gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4 
OS:                Linux
Installed from:    Gentoo Packages

If I try to edit a contact's details in Kaddressbook all fields (Name, eMail, Address) are empty. Entering data, storing and re-opening the contact shows empty fields again. The contact list shows data as requested (selected fields are Name, Work Address and email and contacts with these data have it displayed).

Expected results:
If I open a contact, all fields should show data as stored in the backend.

So far I know of two Gentoo-Installations and one Fedora-Installation having the same problem.
Comment 1 Christian (Fuchs) 2010-02-11 22:04:26 UTC
unfortunately I am able to confirm this with: 

KDE SC 4.4.0   (kdelibs is definitely the final released one) 
Qt 4.6.1 
Gentoo Linux x86_64 

The details are shown in the middle column, however, the column on the right does not show any details. The edit dialogue as well shows no details, and changes are not saved. 

The data is definitely there, as it is possible to show it in the middle column. 

Akonadi uses a vcf file for the data. 

Please ask if you need further information. 

Thanks in advance for fixing this. 

Kind regards, 

Christian
Comment 2 Eike Hein 2010-02-11 22:04:43 UTC
Same happens here.
Comment 3 Tobias Koenig 2010-02-12 08:25:18 UTC
Hej,

Have you tried the steps described in
  http://userbase.kde.org/Akonadi#I_can.27t_see_any_details_in_my_Address_Book
to solve this issue?

Ciao,
Tobias
Comment 4 Eike Hein 2010-02-12 08:31:23 UTC
I don't use contact -- I use KAddressBook standalone. So this doesn't apply. Thanks though :).
Comment 5 Eike Hein 2010-02-12 08:32:07 UTC
Arf - s/contact/Kontact/.
Comment 6 Tobias Koenig 2010-02-12 10:13:08 UTC
Does it help to remove the configured address book resource and
re-add it again?
Comment 7 Christian (Fuchs) 2010-02-12 10:43:38 UTC
Hi Tobias, 

Thanks for the quick reply, while re-adding the source to akonadi / kaddressbook did not help, launching kaddressbook stand-alone and then in kontact helped. I was able to see and edit contact details again. 

Now I wonder why this doesn't work for Eike Hein ...

But thanks for the quick reply, "solved" for me, or at least workarounded. 

Kind regards, 

Christian
Comment 8 Martin Koller 2010-02-12 11:17:44 UTC
Having now the same problem on openSuse 11.2, 4.4.0.
kmail and kaddressbook as standalone app both run since 2 days, laptop was suspended during the night.
kmail can still access akonadiserver (checked with akonadiconsole and activated job-tracker).
kaddressbook results in Akonadi::ItemFetchJob Failed: Unknown error (Unable to list Items) and ~/.xsession-errors gives:
[akonadiserver] Error during executing query "SELECT PimItemTable.id, PimItemTable.rev, PimItemTable.remoteId, MimeTypeTable.name, ResourceTable.name, PimItemTable.size, PimItemTable.datetime, PimItemTable.collectionId FROM PimItemTable, MimeTypeTable, CollectionTable, ResourceTable WHERE ( PimItemTable.mimeTypeId = MimeTypeTable.id AND PimItemTable.collectionId = CollectionTable.id AND CollectionTable.resourceId = ResourceTable.id AND ( PimItemTable.id = :0 ) ) ORDER BY PimItemTable.id ASC" :  "MySQL server has gone away QMYSQL: Unable to execute query"
[akonadiserver] Error during executing query "SELECT PimItemTable.id, PimItemTable.rev, PimItemTable.remoteId, MimeTypeTable.name, ResourceTable.name, PimItemTable.size, PimItemTable.datetime, PimItemTable.collectionId FROM PimItemTable, MimeTypeTable, CollectionTable, ResourceTable WHERE ( PimItemTable.mimeTypeId = MimeTypeTable.id AND PimItemTable.collectionId = CollectionTable.id AND CollectionTable.resourceId = ResourceTable.id AND ( PimItemTable.id = :0 ) ) ORDER BY PimItemTable.id ASC" :  "MySQL server has gone away QMYSQL: Unable to execute query"

mysqld is still running, and kmail can access akonadiserver, which I see in akonadiconsole job-tracker with  Akonadi::ContactSearchJob - Ended
Comment 9 Eike Hein 2010-02-12 21:15:00 UTC
> Does it help to remove the configured address book resource and
re-add it again?

Yes, that helped.

However, to get the address book to disappear from the list after deleting it from the context menu, I had to restart KAddressBook first.

Afterwards I re-added it and can now edit existing and add new contacts.
Comment 10 Felix Tiede 2010-02-15 10:16:18 UTC
I took the radical approach and deleted the entire nepomuk repository directory. Nepomuk recreated the database, imported old data and now all works well.
Comment 11 Tobias Koenig 2010-02-15 12:23:57 UTC
*** Bug 226948 has been marked as a duplicate of this bug. ***
Comment 12 Tobias Koenig 2010-05-07 16:09:16 UTC
Ok, so we several problems here that show the same symptom:

@eike this seems to be a migration bug, as readding the address book helped (aka clean setup)

@martin this is a known 'connection to mysqld dropped because of timeout' which has been fixed in recent version already

@felix seems to be a migration bug as well