Installing python-gnome2 does not solve all the issues. Although ecal is imported properly, it does not function in every way it should.
For example, this is correct:
>>> calendars = evolution.ecal.list_calendars()
>>> calendars
[('Personal', 'local:system')]
But this is not (calendar does have events in it):
>>> cal = calendars[0]
>>> events = evolution.ecal.open_calendar_source(cal[1], evolution.ecal.CAL_SOURCE_TYPE_EVENT)
libecal-WARNING **: Cannot get cal from factory: GDBus.Error: the name org.gnome.dbus.evolution.Calendar1 is not provided by any .service files
>>> events
[]
Installing python-gnome2 does not solve all the issues. Although ecal is imported properly, it does not function in every way it should. ecal.list_ calendars( )
For example, this is correct:
>>> calendars = evolution.
>>> calendars
[('Personal', 'local:system')]
But this is not (calendar does have events in it): ecal.open_ calendar_ source( cal[1], evolution. ecal.CAL_ SOURCE_ TYPE_EVENT) dbus.evolution. Calendar1 is not provided by any .service files
>>> cal = calendars[0]
>>> events = evolution.
libecal-WARNING **: Cannot get cal from factory: GDBus.Error: the name org.gnome.
>>> events
[]