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 655872 - [pst-import] Fails to properly open remote client
[pst-import] Fails to properly open remote client
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Plugins
3.2.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-plugin-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-08-03 04:27 UTC by Akhil Laddha
Modified: 2013-09-13 01:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample pst (265.00 KB, application/octet-stream)
2011-08-03 04:41 UTC, Akhil Laddha
  Details
evo patch (13.83 KB, patch)
2011-08-09 11:10 UTC, Milan Crha
committed Details | Review

Description Akhil Laddha 2011-08-03 04:27:37 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
  • #0 g_logv
    at gmessages.c line 439
  • #1 g_log
    at gmessages.c line 573
  • #2 g_return_if_fail_warning
  • #3 e_contact_get_const
    at e-contact.c line 1617
  • #4 e_data_book_respond_create
    at e-data-book.c line 932
  • #5 e_book_backend_create_contact
    at e-book-backend.c line 468
  • #6 operation_thread
    at e-data-book.c line 146
  • #7 g_thread_pool_thread_proxy
    at gthreadpool.c line 319
  • #8 g_thread_create_proxy
    at gthread.c line 1954
  • #9 start_thread
    at pthread_create.c line 297
  • #10 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130
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.
Comment 1 Akhil Laddha 2011-08-03 04:41:51 UTC
Created attachment 193125 [details]
Sample pst
Comment 2 Akhil Laddha 2011-08-03 05:30:31 UTC
If evolution is not able to import due to any reason, it should show proper error message so user is aware.
Comment 3 Milan Crha 2011-08-08 07:13:13 UTC
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.
Comment 4 Akhil Laddha 2011-08-08 07:46:18 UTC
Even if i select, 'Personal' address book in contact view before import, i see these warning.
Comment 5 Milan Crha 2011-08-09 11:10:40 UTC
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.
Comment 6 Milan Crha 2011-08-09 11:12:59 UTC
Created commit 1dd6dce in evo master (3.1.5+)