GNOME Bugzilla – Bug 670217
Doesn't show all calendar events
Last modified: 2012-04-02 10:57:52 UTC
Cannot view entry in the exchange calendar Cannot make entry too something strange, which is suspicious: if i start manually /usr/lib/evolution-data-server/evolution-calendar-factory with the EWS_DEBUG environment variable i am able to see vcard format entries.. also when starting it manually : /usr/lib/evolution-data-server/evolution-calendar-factory -r EDataFactory is now online. Registering ECalBackendContactsEventsFactory ('contacts:VEVENT') Registering ECalBackendEwsEventsFactory ('ews:VEVENT') Registering ECalBackendEwsJournalFactory ('ews:VJOURNAL') Registering ECalBackendEwsTodosFactory ('ews:VTODO') Registering ECalBackendWeatherEventsFactory ('weather:VEVENT') Registering ECalBackendCalDAVEventsFactory ('caldav:VEVENT') Registering ECalBackendCalDAVJournalFactory ('caldav:VJOURNAL') Registering ECalBackendCalDAVTodosFactory ('caldav:VTODO') Registering ECalBackendFileEventsFactory ('local:VEVENT') Registering ECalBackendFileJournalFactory ('local:VJOURNAL') Registering ECalBackendFileTodosFactory ('local:VTODO') Registering ECalBackendHttpEventsFactory ('webcal:VEVENT') Registering ECalBackendHttpJournalFactory ('webcal:VJOURNAL') Registering ECalBackendHttpTodosFactory ('webcal:VTODO') Server is up and running... Bus name 'org.gnome.evolution.dataserver.Calendar1' acquired. i see org.gnome.evolution.dataserver.Calendar1 but, when trying to debug, why evolution doesn't see the calendar i saw: calendar-gui-WARNING **: gnome-cal.c:1143: Could not create the view: No such interface `org.gnome.evolution.dataserver.Calendar' on object at path /org/gnome/evolution/dataserver/Calendar/28705/3 How can i help :?) (ok it seems that the msg, for which update_query_async is called has msg->gcal just Calendar...
Also when i try to add entry to the exchange calendar, after clicking save, nothing happens... in the terminal the corresponding error is: libecal-WARNING **: Cannot retrieve backend property: Unknown calendar property 'cache-dir' probably the nexts: GLib-GIO-CRITICAL **: g_file_new_for_path: assertion `path != NULL' failed e-attachment-store.c-CRITICAL **: e_attachment_store_save_async: assertion `G_IS_FILE (destination)' failed GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed are just related to the first....
creating calendar entries now seem to work after git show 8039cdb740526ab977e151a82b7b9ce9f9fcb667 commit 8039cdb740526ab977e151a82b7b9ce9f9fcb667 Author: Punit Jain <jpunit@novell.com> Date: Fri Feb 17 16:20:23 2012 +0530 Bug #668174 unable to create appointments and meetings diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c index 67afd8e..48e3c7e 100644 --- a/src/calendar/e-cal-backend-ews.c +++ b/src/calendar/e-cal-backend-ews.c @@ -3553,7 +3553,7 @@ e_cal_backend_ews_get_backend_property (ECalBackend *backend, prop_value = e_cal_component_get_as_string (comp); g_object_unref (comp); } else { - e_data_cal_respond_get_backend_property (cal, opid, e_data_cal_create_error_fmt (NotSupported, _("Unknown calendar property '%s'"), prop_name), + E_CAL_BACKEND_CLASS (parent_class)->get_backend_property (backend, cal, opid, cancellable, prop_name); return; } Thanks Punit Jain
are you not able to see old events ? this might be bug 668425
10x The bug 668425 seems related, but.. Not only can i view the old calendar items, also i am not able to view the new, if they are not filled via evolution
Could you please try to remove cache and enable and disable the account. Start again. Btw It works well for me. I am able to see all events created or evolution or outlook. Thanks!
usually when i have troubles, first to try is to create new user account and to run evolution as this completely new user.. anyway just tried: 1. account disabled 2. evolution exited 3. killed all leftovers (for example /usr/lib/evolution-data-server/evolution-calendar-factory) 4. /.cache/evolution$ rm -rf ./* 5. evolution started 6. account enabled stay in mail and wait for sync (e.g. refreshing to complete) 7. star, stop, refresh etc... but no calendar entries .... after purging cache in the ews calendar folder, folder with long pseudo random name is created and in there is just keys.xml . NO calendar.ics (as in the google calendar, which has issues too, but it is not part of this bug) i then tried to kill /usr/lib/evolution-data-server/evolution-calendar-factory and when tried to view calendar in evolution i noticed: calendar-gui-WARNING **: gnome-cal.c:1149: Could not create the view: No such interface `org.gnome.evolution.dataserver.Calendar then tried to launch /usr/lib/evolution-data-server/evolution-calendar-factory manually /usr/lib/evolution-data-server/evolution-calendar-factory -r EDataFactory is now online. Registering ECalBackendContactsEventsFactory ('contacts:VEVENT') Registering ECalBackendEwsEventsFactory ('ews:VEVENT') Registering ECalBackendEwsJournalFactory ('ews:VJOURNAL') Registering ECalBackendEwsTodosFactory ('ews:VTODO') Registering ECalBackendWeatherEventsFactory ('weather:VEVENT') Registering ECalBackendCalDAVEventsFactory ('caldav:VEVENT') Registering ECalBackendCalDAVJournalFactory ('caldav:VJOURNAL') Registering ECalBackendCalDAVTodosFactory ('caldav:VTODO') Registering ECalBackendFileEventsFactory ('local:VEVENT') Registering ECalBackendFileJournalFactory ('local:VJOURNAL') Registering ECalBackendFileTodosFactory ('local:VTODO') Registering ECalBackendHttpEventsFactory ('webcal:VEVENT') Registering ECalBackendHttpJournalFactory ('webcal:VJOURNAL') Registering ECalBackendHttpTodosFactory ('webcal:VTODO') Server is up and running... Bus name 'org.gnome.evolution.dataserver.Calendar1' acquired. still when trying to view calendar in evolution: calendar-gui-WARNING **: gnome-cal.c:1149: Could not create the view: No such interface `org.gnome.evolution.dataserver.Calendar' then tried, to restart evolution (leaving calendar-factory running) still no calendar, but /usr/lib/evolution-data-server/evolution-calendar-factory produced following: ** WARNING **: Unable to get items The property has an invalid value. ** WARNING **: Unable to get items The property has an invalid value. still no calendar.ics in the ews calendar folder
Created attachment 210948 [details] [review] proposed ews patch for evolution-ews; Could you try with this patch, please? For me the reason was that some items from get_items request were returning error, and the ews code stopped on first of them, even the next item was successfully sent from the server. After a little chat with David Woodhouse we decided to do it in this way (we didn't discuss actual implementation, only what it should roughly be). I guess the above mentioned bug is about the same, or very similar issue. Also note that there is checked for two errors, but I saw more of them, like: <m:GetItemResponseMessage ResponseClass="Error"> <m:MessageText>The property has an invalid value.</m:MessageText> <m:ResponseCode>ErrorCalendarInvalidPropertyValue</m:ResponseCode> <m:DescriptiveLinkKey>0</m:DescriptiveLinkKey> <m:MessageXml> <t:FieldURI FieldURI="calendar:UID"/> </m:MessageXml> <m:Items/> </m:GetItemResponseMessage> and <m:GetItemResponseMessage ResponseClass="Error"> <m:MessageText>The recurrence format was invalid.</m:MessageText> <m:ResponseCode>ErrorInvalidOperation</m:ResponseCode> <m:DescriptiveLinkKey>0</m:DescriptiveLinkKey> <m:Items/> </m:GetItemResponseMessage> still, the surrounding items were fetched successfully.
The proposed patch helps:) I am now able to create (via evolution) calendar items. Also i am able to see newly created via owa .... However, i think there is bug with encoding. If i use Cyrillic, then: 1. Create in evolution calendar entry (with cyrillic chars) 2. Save it. Everything seems ok in evolution 3. In owa every cyrillic chars is converted to 2 question-marks "??" 4. Also if i refresh the calendar in evolution, the cyrillic chars are converted to "?" too... 5. If i create in owa entry with cyrillic chars, and refresh in evolution it appears ok.
(In reply to comment #8) > The proposed patch helps:) > > I am now able to create (via evolution) calendar items. Also i am able to see > newly created via owa .... Thanks for testing this. I'll commit the patch to sources. > However, i think there is bug with encoding. If i use Cyrillic, then: > 1. Create in evolution calendar entry (with cyrillic chars) > 2. Save it. Everything seems ok in evolution > 3. In owa every cyrillic chars is converted to 2 question-marks "??" > 4. Also if i refresh the calendar in evolution, the cyrillic chars are > converted to "?" too... > 5. If i create in owa entry with cyrillic chars, and refresh in evolution it > appears ok. Could you open a new bug report for the above issue, please? I'll be better to deal with it separately. Thanks in advance.
Created commit d768776 in ews master (3.5.1+) Created commit 3a784bd in ews gnome-3-4 (3.4.1+)
10x, i will post here the new bug url: https://bugzilla.gnome.org/show_bug.cgi?id=673349 as usual if i can help somehow, just let me know (compiling with enabled debuging, then gdb, strace etc... will be doable by me)
*** Bug 668425 has been marked as a duplicate of this bug. ***