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 663379 - Cannot configure EWS account on 3.3.1
Cannot configure EWS account on 3.3.1
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Miscellaneous / EWS Core
3.3.x
Other Linux
: Normal blocker
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-11-04 06:47 UTC by Akhil Laddha
Modified: 2011-11-23 10:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed ews patch (1.32 KB, patch)
2011-11-15 15:22 UTC, Milan Crha
committed Details | Review

Description Akhil Laddha 2011-11-04 06:47:10 UTC
Evolution 3.3.1

1. Have an ews account configured
2. Delete it
3. Again configure same account
4. It doesn't ask for password while clicking on fetch url
5. Finish the account configuration
6. Try to expand folder list of ews account
7. Error pops up - Failed to open folder list, no password was provided
8. Many warnings on evolution terminal

(evolution:13103): camel-CRITICAL **: camel_session_build_password_prompt: assertion `user != NULL' failed

(evolution:13103): camel-CRITICAL **: camel_session_get_password: assertion `prompt != NULL' failed

(evolution:13103): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
[Thread 0xac3c4b70 (LWP 13135) exited]
[New Thread 0xac3c4b70 (LWP 13136)]

(evolution:13103): camel-CRITICAL **: camel_session_build_password_prompt: assertion `user != NULL' failed

(evolution:13103): camel-CRITICAL **: camel_session_get_password: assertion `prompt != NULL' failed
[Thread 0xac3c4b70 (LWP 13136) exited]

(evolution:13103): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
[New Thread 0xac3c4b70 (LWP 13137)]
[New Thread 0xab20eb70 (LWP 13138)]

(evolution:13103): evolution-mail-WARNING **: No password was provided

(evolution:13103): evolution-mail-WARNING **: No password was provided

(evolution:13103): e-data-server-CRITICAL **: e_source_group_new: assertion `name != NULL' failed

(evolution:13103): e-data-server-CRITICAL **: e_source_group_set_property: assertion `E_IS_SOURCE_GROUP (source_group)' failed

(evolution:13103): e-data-server-CRITICAL **: e_source_list_add_group: assertion `E_IS_SOURCE_GROUP (group)' failed

(evolution:13103): libeews-WARNING **: Unable to add the group to the source list
Comment 1 Akhil Laddha 2011-11-04 06:47:33 UTC
gdb trace of evolution

(gdb) bt
  • #0 g_logv
    at gmessages.c line 456
  • #1 g_log
    at gmessages.c line 591
  • #2 g_return_if_fail_warning
    at gmessages.c line 600
  • #3 camel_session_get_password
    at camel-session.c line 1037
  • #4 mail_session_authenticate_sync
    at e-mail-session.c line 1225
  • #5 camel_session_authenticate_sync
    at camel-session.c line 1621
  • #6 ews_connect_sync
  • #7 camel_service_connect_sync
    at camel-service.c line 1131
  • #8 ews_get_folder_info_sync
    at camel-ews-store.c line 571
  • #9 camel_store_get_folder_info_sync
    at camel-store.c line 2029
  • #10 store_get_folder_info_thread
    at camel-store.c line 495
  • #11 run_in_thread
    at gsimpleasyncresult.c line 843
  • #12 io_job_thread
    at gioscheduler.c line 180
  • #13 g_thread_pool_thread_proxy
    at gthreadpool.c line 319
  • #14 g_thread_create_proxy
    at gthread.c line 1962
  • #15 start_thread
    at pthread_create.c line 301
  • #16 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 133
(gdb) c
Continuing.

(evolution:13103): camel-CRITICAL **: camel_session_get_password: assertion `prompt != NULL' failed
Comment 2 Akhil Laddha 2011-11-04 06:56:51 UTC
I even tried 'forget passwords'. Then reconfigure account, this time when i click on 'fetch url', it asks for password but even after entering correct password, it gives same warning on terminal and folder list doesn't load at all.
Comment 3 Milan Crha 2011-11-15 15:22:29 UTC
Created attachment 201446 [details] [review]
proposed ews patch

for evolution-ews;

Seems to work fine with current git master of eds, evo, and patch from bug #664001 and this patch.
Comment 4 Chenthill P 2011-11-23 08:29:13 UTC
Review of attachment 201446 [details] [review]:

Looks good. please commit.
Comment 5 Milan Crha 2011-11-23 10:52:22 UTC
Created commit 08cdb4e in ews master (3.3.3+)