After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679245 - Local address book not created
Local address book not created
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Contacts
3.4.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
: 681873 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-07-02 07:59 UTC by Milan Crha
Modified: 2012-08-29 08:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
eds patch (676 bytes, patch)
2012-07-02 08:47 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2012-07-02 07:59:29 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=836814

Description of problem:
The Evolution address book is unable to perform basic functions (adding contacts, adding/removing other address books) with local address books.

In most cases, address book operations fail with a message to the effect that the address book "cannot be opened. Please check the path <path in ~/.local/share/evolution/addressbook> exists" etc. The file mentioned does not exist, not is it created by evolution at shutdown.


Example 1: Adding a new contact.

1. Create a new user account to ensure a clean start.
2. Start up Evolution. Follow the wizard with dummy e-mail account settings.
3. Go to the Address Book view.
4. Click to add a new Contact in the Personal address book.

This just fails silently.


Example 2: Adding a new address book.

1. Add a new address book: give it a name, click to create it.
2. Click on the new address book. Note the red banner error message.
   (Screenshot attached.)
3. Attempt to delete this unusable address book by right-clicking on it
   and selecting delete.

This fails with a nondescript "unable to comply" message.


Version-Release number of selected component (if applicable):
evolution-3.4.3-1.fc17.x86_64

How reproducible:
Always.
Comment 1 Milan Crha 2012-07-02 07:59:55 UTC
I can reproduce it too with fresh new account.
Comment 2 Milan Crha 2012-07-02 08:47:52 UTC
Created attachment 217810 [details] [review]
eds patch

for evolution-data-server;

This fixes it. It is only for 3.4, as master had this fixed ~ two weeks ago. Workaround is to create the folder for evolution-data-server, which can be done with a command like this:
   $ mkdir -p -m 0700 ~/.local/share/evolution/addressbook/xxx

The actual path depends on the error message shown in evolution.
Comment 3 Milan Crha 2012-07-02 08:49:17 UTC
Created commit 098fe53 in eds master (3.4.4+)
Comment 4 Milan Crha 2012-07-02 08:50:54 UTC
(In reply to comment #3)
> ... in eds master ...

err, ... in eds gnome-3-4 ..., it is.
Comment 5 Milan Crha 2012-08-29 08:35:25 UTC
*** Bug 681873 has been marked as a duplicate of this bug. ***