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 681873 - Calendar doesn't exist
Calendar doesn't exist
Status: RESOLVED DUPLICATE of bug 679245
Product: evolution
Classification: Applications
Component: Calendar
3.4.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2012-08-14 18:57 UTC by nospam
Modified: 2012-08-29 08:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot showing the 'Unable to open address book' error. (48.47 KB, image/png)
2012-08-14 18:57 UTC, nospam
Details

Description nospam 2012-08-14 18:57:55 UTC
Created attachment 221182 [details]
Screenshot showing the 'Unable to open address book' error.

I've installed Evolution 3.4.3-1 today on Crunchbang Waldorf (compatible with Debian Wheezy). When trying to use an address to the address book I get the following error:

--
This address book cannot be opened.  Please check that the path /home/robert/.local/share/evolution/addressbook/1344968657.19112.33@crunchbang exists and that permissions are set to access it.

Detailed error message: Cannot open book: Address book does not exist
--


The folder didn't exist:

--
/.local/share/evolution/$ ls
calendar
camel-cert.db
categories.xml
mail
signatures
---


However, when I ran...

--
WEBDAV_DEBUG=1 evolution >& ~/evo.log
--

...the folder was created. As well two others (memos and tasks):

--
/.local/share/evolution/$ ls
addressbook
calendar
camel-cert.db
categories.xml
mail
memos
signatures
tasks
--

There wasn't anything in 'evo.log'.

Even though the folder 'addressbook' has been created I still can't use it. There's nothing inside the folder. And I've now discovered that memos and tasks also aren't working ;(. E-mail and the calendar both work fine.

Finally, I can right-click on an e-mail address and choose 'Add to Address Book...' just fine. Only when I open the address book does the error message appear.
Comment 1 André Klapper 2012-08-15 09:09:56 UTC
Is this a fresh system, or an upgrade? Did you restore data and settings from an Evolution backup file from a previous version/system (if so, which one)?
Really wondering about steps to reproduce...
Comment 2 nospam 2012-08-15 17:48:02 UTC
(In reply to comment #1)
> Is this a fresh system, or an upgrade? Did you restore data and settings from
> an Evolution backup file from a previous version/system (if so, which one)?
> Really wondering about steps to reproduce...

It's a fresh install (of both CrunchBang and Evolution). That said, I only discovered I couldn't use the address book (and memos and tasks) after setting up five e-mail accounts and importing lots of mbox files (exported from Icedove).

I've noticed the address book directory was created after running WEBDAV_DEBUG=1 evolution >& ~/evo.log. The directories for tasks and memos were created after I tried creating a task and memo. I can see the tasks and memos I created if I cat the .ics files but they're not visible on the tasks and memos tabs. The addressbook directory is completely empty.

Would it be feasible for me to copy the ~/.local/share/evolution directory and reinstall Evolution? I'm not sure what this would restore (e-mail accounts, folder structure etc.).

If it would be any help could try installing Crunchbang and Evolution in Virtualbox and keep a closer eye on what's happening?
Comment 3 Milan Crha 2012-08-24 13:29:07 UTC
Thanks for a bug report. The addressbook issue sounds like bug #679245, which is part of 3.4.4, but I'm unaware of the memos/tasks issue. If the event is in your .ics file, then it should be visible in the UI as well, unless:
a) the task/memo is disabled (check-mark beside its name in the left tree)
b) you've setup some filters, which prevent items to show

Try the "Show:" bar, and all its options, same as Search->Clear, whether it'll help.
Comment 4 nospam 2012-08-28 19:49:04 UTC
I created a directory 'system' in ~/.local/share/evolution/addressbook/. When I re-opened Evolution it created three files inside the directory ('addressbook.db', 'contacts.db' and 'log.0000000001', and a directory called 'photos'. I can now use the address book standard address book ('Personal')!

I had earlier created a contact list. When I select the list I still get the same same warning:

--
Unable to open address book

This address book cannot be opened. Please check that the path /home/myusername/.local/share/evolution/addressbook/1344968657.19112.33@crunchbang exists and that permissions are set to access it.

Detailed error message: Cannot open book: Address book does not exist
--

When I try to delete the custom address book I get an alert that says 'Could not remove address book.'

I can rename the contact list but I can't create a new contact list.

Still, it's progress ;).


As an aside, the issue with the tasks and memos is also fixed. Somehow it didn't show any test tasks and memos I had created. However, after entering 'test' in the search bar they suddenly all appeared (and they haven't disappeared since).
Comment 5 Milan Crha 2012-08-29 08:35:25 UTC
(In reply to comment #4)
> I had earlier created a contact list. When I select the list I still get the
> same same warning:
> 
> --
> Unable to open address book
> 
> This address book cannot be opened. Please check that the path
> /home/myusername/.local/share/evolution/addressbook/1344968657.19112.33@crunchbang
> exists and that permissions are set to access it.
> 
> Detailed error message: Cannot open book: Address book does not exist
> --

Does the folder exist where it is looking for it? It seems to me as the same issue as with the 'system' folder, only the folder name is '1344968657.19112.33@crunchbang' now.

> As an aside, the issue with the tasks and memos is also fixed. Somehow it
> didn't show any test tasks and memos I had created. However, after entering
> 'test' in the search bar they suddenly all appeared (and they haven't
> disappeared since).

Hmm, this is weird. I do not recall seeing anything like that earlier.

Anyway, the main reported issue is bug #679245, thus I'm marking this as a duplicate of it. Please update to evolution-dat-aserver-3.4.4 to get the fix.

*** This bug has been marked as a duplicate of bug 679245 ***