Bug 93577 - cannot save to address book
Summary: cannot save to address book
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kresources
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-19 14:19 UTC by Cláudio F. Gil
Modified: 2024-08-11 18:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cláudio F. Gil 2004-11-19 14:19:03 UTC
Version:           1.7 (using KDE 3.3.1,  (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-2)
OS:                Linux (i686) release 2.6.9

When seeing a message, I right click over a contact in the "TO:" header, choose "Add to address book" and get the message:
"Cannot save to addressbook".

If the contact already exists I instead get the usual message "The email ... is already in you addressbook".

If I do copy, go to the address book and add a new contact it works as expected.
Comment 1 Cavailles Antoine 2004-12-24 15:10:10 UTC
I have exactly the same problem under Gentoo Linux with kmail 1.7.2 (kde3.3.2).
Please help us !
Comment 2 Γιώργος Κυλάφας (Giorgos Kylafas) 2005-01-11 10:15:40 UTC
I confirm this for Gentoo GNU/Linux, KMail 1.7.2 and KDE 3.3.2 as well.
Comment 3 Tom Albers 2005-02-17 22:03:50 UTC
I believe this has to do with setting the "default" addressbook.
Comment 4 Georgios E. Kylafas 2005-02-18 23:05:24 UTC
Yes, it has! I was able to fix the problem by setting the correct path of the file where the addresses are stored:
- open the address book,
- select resource "resource-name" and press "Edit..."
- Edit the path for "Location".

The value already set there was about a non-existent directory (a KDE 3.2 one), this is why it could not save it.
Comment 5 Tobias Koenig 2005-02-21 19:31:50 UTC
*** Bug has been marked as fixed ***.
Comment 6 Cláudio F. Gil 2005-02-22 10:21:39 UTC
What about IMAP resourses? I use it and the problem persists.
Comment 7 Cláudio F. Gil 2005-02-22 10:22:20 UTC
What about IMAP resourses? I use it and the problem persists.
Comment 8 Tobias Koenig 2005-03-03 20:25:08 UTC
Hi,

make sure there are no stale lockfiles under
  $HOME/.kde/share/apps/kabc/locks/*

Ciao,
Tobias
Comment 9 Cláudio F. Gil 2005-03-03 22:51:02 UTC
Elaborating on my Comment #5 and #6 (sorry about that, lost connection when submiting).

The problem exists when using only one IMAP resourse in the addressbook. With a local address book there is no problems.

And there are no locks hanging there.
Comment 10 Cavailles Antoine 2005-07-29 11:14:50 UTC
*** This bug has been confirmed by popular vote. ***
Comment 11 Henk Spaaij 2006-03-14 07:28:26 UTC
I can confirm that stale lockfiles causes this bug to occur.
On startup the address book should recover from this, ideally by determining no other instance is running and cleaning up the lockfiles.
Comment 12 Henk Spaaij 2006-03-14 07:29:57 UTC
Sorry, that last comment was on Gentoo-2005.1/kde-3.5.1/kmail-1.9.1/kabc-3.5
Comment 13 Christoph Cullmann 2024-08-11 18:08:30 UTC
Dear reporter, the resources handling got redone for KF5 and KF6 based PIM applications.

If you still encounter the issues you had in the past, please report them to the current maintained and updated PIM applications you use

Thanks a lot!