FS#41007 - [evolution-ews] Initial setup of evolution-ews doesn't sync email, but upgraded versions still sync

Attached to Project: Arch Linux
Opened by David Gabriel (b2c) - Friday, 27 June 2014, 13:56 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 06 July 2015, 05:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I ran into strange phenomena with evolution-ews lately, (see here: https://bugzilla.gnome.org/show_bug.cgi?id=728942) which led me to delete my evolution-ews setup, to test if the failure was gone with a fresh setup.

However, after deleting all of my evolution configuration and data, I couldn't manage to get it to work again. The account setup wizard guided my through all the setup stages, but in the end evolution-ews spammed a lot of error messages into the logs but didn't sync any email. Calendar and address book however worked. At first I thought this was some quirk with my setup, but two of my colleagues at work now experience the same problem, so there seems to be some problem with the latest evolution release.

If I downgrade to evolution-3.10 (version from here: http://seblu.net/a/arm/2014/03/01/extra/os/x86_64/) everything works as expected.

Funny thing is: on my laptop, which I only updated from 3.10 to 3.12, everything works fine.

Additional info:
* package version(s):
evolution-{data-server,ews}-3.12.3-1


These errors appear when the setup is complete and evolution tries to sync email from exchange for the first time:

-------------
(evolution:12821): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.gnome.SessionManager was not provided by any .service files

(evolution:12821): camel-WARNING **: CamelMaildirStore::get_folder_sync()
reported failure without setting its GError

(evolution:12821): camel-local-provider-CRITICAL **:
camel_local_folder_construct: assertion 'fi != NULL' failed
** (evolution:12821): CRITICAL **: e_mail_session_get_local_folder: assertion
'CAMEL_IS_FOLDER (folder)' failed

(evolution:12821): camel-ews-provider-WARNING **:
camel_ews_folder_update_thread: You must be working online to complete this
operation
** (evolution:12821): CRITICAL **: e_mail_session_get_local_folder: assertion
'CAMEL_IS_FOLDER (folder)' failed
-------------

Steps to reproduce:
- start with a newly created user account
- install evolution-ews-3.12
- start evolution from the shell, configure evolution-ews account
- settings:
-- activate OAB and GAL
-- set 'check for messages in all folders'
-- set 'automatically synchronize remote mail locally'
-- set 'cache offline address book'
- finish the setup wizard, no email is synced
- address book
- check shell for error messages

-OR-
- install evolution-3.10
- repeat steps above
- email gets synced
- upgrade to 3.12
- everything still works
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 06 July 2015, 05:41 GMT
Reason for closing:  Fixed
Comment by Arthur (Arthur_W) - Friday, 27 June 2014, 14:41 GMT
I had the same problem with exchange and evolution-ews on an new arch installation.
I was not able to connect to exchange
Comment by David Gabriel (b2c) - Friday, 27 June 2014, 14:44 GMT
Update - after playing around a bit I recognized that the error appeared first in 3.12.2, not in 3.12.1 as I thought before, so you might want to investigate what changed between 3.12.1 and 3.12.2. After updating from 3.12.1 to 3.12.2 or 3.12.3 I can reproduce this error every time.

Errors like these are displayed on evolution startup when the problem accurs:
-------------
(evolution:10033): e-data-server-WARNING **: build_categories_filename: Failed to rename '/home/b2c/.evolution/categories.xml' to '/home/b2c/.local/share/evolution/categories.xml': No such file or directory
(evolution:10033): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(evolution:10033): camel-WARNING **: CamelMaildirStore::get_folder_sync() reported failure without setting its GError
(evolution:10033): camel-local-provider-CRITICAL **: camel_local_folder_construct: assertion 'fi != NULL' failed
(evolution:10033): camel-WARNING **: CamelMaildirStore::create_folder_sync() reported failure without setting its GError
(evolution:10033): camel-WARNING **: CamelMaildirStore::get_folder_sync() reported failure without setting its GError
** (evolution:10033): CRITICAL **: e_mail_session_get_local_folder: assertion 'CAMEL_IS_FOLDER (folder)' failed
-------------
Comment by Chester Wisniewski (chetwisniewski) - Friday, 27 June 2014, 20:47 GMT
This is fixed in 3.13.3. I updated to the AUR unstable and git cloned evolution-ews and compiled it and now it works. See https://git.gnome.org/browse/evolution-ews/commit/?h=evolution-ews-3-12

I had to comment out the line 123 in configure.ac to get it to compile though:

dnl -Werror-implicit-function-declaration

Chester

Loading...