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 634897 - >=evolution-2.32.0: Unable to open address book
>=evolution-2.32.0: Unable to open address book
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
2.32.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-11-15 11:39 UTC by Pacho Ramos
Modified: 2011-05-11 16:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evolution.png (84.91 KB, image/png)
2010-11-15 11:39 UTC, Pacho Ramos
Details

Description Pacho Ramos 2010-11-15 11:39:16 UTC
Created attachment 174500 [details]
evolution.png

Looks like a migration issue from evolution-2.30 and 2.32, I am getting the following error when clicking on "Contacts":
Unable to open address book

This address book cannot be opened.  Please check that the path /home/pacho/.evolution/addressbook/local/system exists and that permissions are set to access it.

Detailed error message: Invalid source

(You can see the error window in attached screenshot).

This is the output of "evolution" when executed on terminal:

$ LC_ALL=C evolution
Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: No such file or directory
(evolution:3389): e-data-server-DEBUG: Loading categories from "/home/pacho/.local/share/evolution/categories.xml"
(evolution:3389): e-data-server-DEBUG: Loaded 29 categories

** (evolution:3389): CRITICAL **: categories_icon_theme_hack: assertion `filename != NULL && *filename != '\0'' failed
Migrating cached data
Migrating config data
Migrating local user data
  mv /home/pacho/.evolution/mail/local/folders.db /home/pacho/.local/share/evolution/mail/local/folders.db
  FAILED: Destination file already exists
  rmdir /home/pacho/.evolution/mail/local
  FAILED: Directory not empty (contents follows)
          folders.db
  rmdir /home/pacho/.evolution/mail
  FAILED: Directory not empty (contents follows)
          local
  rmdir /home/pacho/.evolution/memos
  FAILED: Directory not empty (contents follows)
          views
  rmdir /home/pacho/.evolution/tasks
  FAILED: Directory not empty (contents follows)
          tasks
          views
  rmdir /home/pacho/.evolution/calendar
  FAILED: Directory not empty (contents follows)
          views
  rmdir /home/pacho/.evolution/addressbook
  FAILED: Directory not empty (contents follows)
          views

(evolution:3389): camel-WARNING **: Could not open converter for 'UNKNOWN' to 'UTF-8' charset

(evolution:3389): libebook-WARNING **: e-book.c:3090: cannot get book from factory: Invalid source

(evolution:3389): e-utils-WARNING **: Something called e_alert_dialog_constructed() with a NULL parent window.  This is no longer legal, please fix it.

Thanks for your help
Comment 1 Pacho Ramos 2010-11-22 17:46:14 UTC
Still the same with 2.32.1
Comment 2 André Klapper 2010-12-12 14:13:55 UTC
(In reply to comment #0)
> Unable to open address book
> This address book cannot be opened.  Please check that the path
> /home/pacho/.evolution/addressbook/local/system exists and that permissions are
> set to access it.
> 
> Detailed error message: Invalid source

Also see bug 634794 comment 1.

>   FAILED: Directory not empty (contents follows)

That is bug 631762.

Can you try to rename ~/.evolution to something else and check whether it still happens?
Comment 3 Pacho Ramos 2010-12-12 15:48:44 UTC
(In reply to comment #2)
> Can you try to rename ~/.evolution to something else and check whether it still
> happens?

Thanks for taking care :-)

But after renaming .evolution to .evolution.old, the same problem is still happening :-/
Comment 4 André Klapper 2010-12-12 16:12:40 UTC
See bug 634794 comment 1 how to fix (if you need help please ask on the evolution users mailing list). And backups can save your day, as usual. ;-)
Comment 5 Pacho Ramos 2011-01-01 18:13:29 UTC
After applying all patches from 2.32 branch for evolution and evolution-data-server, error message is gone, but I still see two "On this machine" nodes even both working ok. Is this the expected behavior after applying all patches? Does I need to "play" with gconf-editor to remove one of them or anything else needs to be fixed?

Thanks :-)
Comment 6 André Klapper 2011-01-01 18:28:45 UTC
(In reply to comment #5)
> Does I need to "play" with gconf-editor to remove one of them

See comment 4
Comment 7 Pacho Ramos 2011-01-01 18:40:39 UTC
OK, I already read it and highly appreciate it :-), but I saw that bug report was marked as a duplicate of bug 632962 and that one was fixed with some commits to 2.32 branch.

I guess then people how got the bug will need to fix their setups themselves using gconf-editor since that commits will only prevent people coming from evolution-2.30 to get the error, or not?
Comment 8 Pacho Ramos 2011-01-14 10:34:47 UTC
This is fixed when applying all patches from 2.32 branch, thanks :-)
Comment 9 Juergen Rose 2011-05-11 13:07:44 UTC
I still have the same issue with:

rose_test@orca ~ $ qlist -Iv evo
dev-python/evolution-python-2.32.0
gnome-extra/evolution-data-server-2.32.2-r1
gnome-extra/evolution-webcal-2.32.0
mail-client/evolution-2.32.2-r3

more details are described as comment 22 of https://bugs.gentoo.org/348063.

Are there any news?
Comment 10 André Klapper 2011-05-11 13:21:54 UTC
(In reply to comment #9)
> mail-client/evolution-2.32.2-r3
> 
> Are there any news?

Run 2.32.3, or see comment 4 to fix it yourself?
Comment 11 Juergen Rose 2011-05-11 16:45:08 UTC
I tried to follow comment 4. I editing with gconf-editor /apps/evolution/addressbook/sources. After logout and login again gconftool-2 shows the following:

rose_test@orca ~ $ gconftool-2 -g /apps/evolution/addressbook/sources
[<?xml version="1.0"?>
<group uid="1305131760.6680.0@orca" name="On This Computer" base_uri="local:" readonly="no"/><source uid="1305128982.5386.0@orca" name="Personal" relative_uri="system"><properties><property name="completion" value="true"/></properties></source></group>
,<?xml version="1.0"?>
<group uid="1305114827.18002.20@orca" name="WebDAV" base_uri="webdav://" readonly="no"/>
,<?xml version="1.0"?>
<group uid="1305114827.18002.19@orca" name="Google" base_uri="google://" readonly="no"/>
,<?xml version="1.0"?>
<group uid="1305114825.18002.1@orca" name="On LDAP Servers" base_uri="ldap://" readonly="no"/>
]

Is this OK? Then I start evolution and see:

(evolution:6902): evolution-network-manager-WARNING **: network_manager_check_initial_state: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
Entity: line 2: parser error : Extra content at the end of the document
305131760.6680.0@orca" name="On This Computer" base_uri="local:" readonly="no"/>
                                                                               ^
Entity: line 2: parser error : Extra content at the end of the document
305131760.6680.0@orca" name="On This Computer" base_uri="local:" readonly="no"/>
                                                                               ^
Entity: line 2: parser error : Extra content at the end of the document
305131760.6680.0@orca" name="On This Computer" base_uri="local:" readonly="no"/>
                                                                               ^

(evolution:6902): e-data-server-CRITICAL **: e_source_group_equal: assertion `E_IS_SOURCE_GROUP (a)' failed

(evolution:6902): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Entity: line 2: parser error : Extra content at the end of the document
305131760.6680.0@orca" name="On This Computer" base_uri="local:" readonly="no"/>
                                                                               ^

(evolution:6902): e-data-server-CRITICAL **: e_source_group_equal: assertion `E_IS_SOURCE_GROUP (a)' failed

(evolution:6902): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Entity: line 2: parser error : Extra content at the end of the document
305131760.6680.0@orca" name="On This Computer" base_uri="local:" readonly="no"/>
                                                                               ^

(evolution:6902): e-data-server-CRITICAL **: e_source_group_equal: assertion `E_IS_SOURCE_GROUP (a)' failed

(evolution:6902): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Entity: line 2: parser error : Extra content at the end of the document
305131760.6680.0@orca" name="On This Computer" base_uri="local:" readonly="no"/>
                                                                               ^

(evolution:6902): e-data-server-CRITICAL **: e_source_group_equal: assertion `E_IS_SOURCE_GROUP (a)' failed

(evolution:6902): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(evolution:6902): evolution-addressbook-CRITICAL **: e_book_shell_content_get_current_view: assertion `widget != NULL' failed

(evolution:6902): eab-widgets-CRITICAL **: e_addressbook_view_get_model: assertion `E_IS_ADDRESSBOOK_VIEW (view)' failed

(evolution:6902): eab-widgets-CRITICAL **: e_addressbook_view_get_selection_model: assertion `E_IS_ADDRESSBOOK_VIEW (view)' failed

(evolution:6902): eab-widgets-CRITICAL **: e_addressbook_model_can_stop: assertion `E_IS_ADDRESSBOOK_MODEL (model)' failed

(evolution:6902): eab-widgets-CRITICAL **: e_addressbook_model_get_editable: assertion `E_IS_ADDRESSBOOK_MODEL (model)' failed

(evolution:6902): evolution-addressbook-CRITICAL **: e_book_shell_content_get_current_view: assertion `widget != NULL' failed

(evolution:6902): eab-widgets-CRITICAL **: e_addressbook_view_get_model: assertion `E_IS_ADDRESSBOOK_VIEW (view)' failed

(evolution:6902): eab-widgets-CRITICAL **: e_addressbook_model_set_query: assertion `E_IS_ADDRESSBOOK_MODEL (model)' failed

(evolution:6902): eab-widgets-CRITICAL **: e_addressbook_view_set_search: assertion `view != NULL' failed

(evolution:6902): evolution-addressbook-CRITICAL **: e_book_shell_content_get_current_view: assertion `widget != NULL' failed

(evolution:6902): Gtk-CRITICAL **: IA__gtk_widget_grab_focus: assertion `GTK_IS_WIDGET (widget)' failed


I don't know, what is wrong. When I then try to import a vcf file with contacts in vcard format, evolution crashes with:

 
eplugin-readdbx-Message: DBX Plugin enabled

(evolution:6902): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(evolution:6902): GLib-CRITICAL **: g_datalist_id_set_data_full: assertion `destroy_func == NULL' failed

(evolution:6902): e-data-server-ui-CRITICAL **: e_source_selector_set_primary_selection: assertion `source != NULL' failed

(evolution:6902): libebook-CRITICAL **: file e-book.c: line 3075 (e_book_new): assertion `E_IS_SOURCE (source)' failed
Evolution-Importer-Message: evolution-vcard-importer.c:498:Couldn't create EBook.


Any help is deeply appreciated!



If I show again /apps/evolution/addressbook/sources I see now:
Comment 12 Juergen Rose 2011-05-11 16:46:21 UTC
rose_test@orca ~ $ gconftool-2 -g /apps/evolution/addressbook/sources
[<?xml version="1.0"?>
<group uid="1305114827.18002.20@orca" name="WebDAV" base_uri="webdav://" readonly="no"/>
,<?xml version="1.0"?>
<group uid="1305114827.18002.19@orca" name="Google" base_uri="google://" readonly="no"/>
,<?xml version="1.0"?>
<group uid="1305114825.18002.1@orca" name="On LDAP Servers" base_uri="ldap://" readonly="no"/>
,<?xml version="1.0"?>
<group uid="1305132119.6902.0@orca" name="On This Computer" base_uri="local:" readonly="no"/>
]