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 
[]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1041785

Title:
  python-evolution evolution.ecal has NoneType

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-python-desktop/+bug/1041785/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to