GNOME Bugzilla – Bug 655872
[pst-import] Fails to properly open remote client
Last modified: 2013-09-13 01:04:24 UTC
Evolution 3.1.5 Importing an Outlook 2010 pst (back up of contacts) in local folder tree (On this computer) and i see warning on e-addressbook-factory (gdb) bt
+ Trace 228006
Continuing. (e-addressbook-factory:13780): libebook-CRITICAL **: e_contact_get_const: assertion `E_IS_CONTACT (contact)' failed I see warning on evolution terminal (evolution:13791): eplugin-readpst-DEBUG: pst_process_contact: Failed to add contact: Cannot add contact: Cannot process, book backend is opening and contacts are not imported.
Created attachment 193125 [details] Sample pst
If evolution is not able to import due to any reason, it should show proper error message so user is aware.
I do not see either of these warnings, which might be caused by order of configured addressbooks in the GConf, /apps/evolution/addressbook/sources. The plugin chooses "any" source from it, which means the first available. It is, for me, "On This Computer" source, but for you it is some remote for sure, otherwise it might not claim about "still opening". Could you check what backend it is, please? Also, I do not see the runtime warning about e_contact_get_const with the local file backend.
Even if i select, 'Personal' address book in contact view before import, i see these warning.
Created attachment 193480 [details] [review] evo patch for evolution; I do not see the warning on factory console, but seeing the "is opening" error on evolution's console just means that I made changes towards EClient not the best in pst-importer, especially with remote clients, like the google (you told me on IRC you were most likely importing into google addressbook). This patch makes opening correct and both consoles are free of runtime warnings for me.
Created commit 1dd6dce in evo master (3.1.5+)