python-evolution: unable to get event's start time

Bug #573571 reported by Sergey Klimov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-python-desktop (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

    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

Revision history for this message
Sergey Klimov (nbdarvin) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version.Thanks in advance.

Changed in gnome-python-desktop (Ubuntu):
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in gnome-python-desktop (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.