Public bug reported:
def get_events_by_date(self, date):
events = evolution.ecal.open_calendar_source('default',
evolution.ecal.CAL_SOURCE_TYPE_EVENT)
for i in events.get_all_objects():
print i.get_summary()
print i.get_dtstart()
get_events_by_date(datetime.datetime.now())
Traceback (most recent call last):
File
"/home/darvin/workspace/indicator-calendar/src/minical/calsource_evolution.py",
line 31, in <module>
csevo.get_events_by_date(datetime.datetime.now())
File
"/home/darvin/workspace/indicator-calendar/src/minical/calsource_evolution.py",
line 26, in get_events_by_date
print i.get_dtstart()
AttributeError: 'ecal.ECalComponent' object has no attribute 'get_dtstart'
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: python-evolution 2.30.0-0ubuntu1
Uname: Linux 2.6.34-999-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun May 2 13:11:58 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
ProcEnviron:
LANGUAGE=ru:ru_UA:en
LANG=ru_UA.utf8
SHELL=/bin/bash
SourcePackage: gnome-python-desktop
** Affects: gnome-python-desktop (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 lucid
--
python-evolution: unable to get event's start time
https://bugs.launchpad.net/bugs/573571
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-python-desktop in ubuntu.
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs