GNOME Bugzilla – Bug 571829
Lock-up when attempting open_calendar_source
Last modified: 2009-02-24 11:09:19 UTC
Deriving from bug 571503, something has changed in 2.25.90 version of evolution which results in a lockup when trying to get Tasks from evolution via API. Sample code to reproduce the problem: import evolution from evolution import ecal sources = ecal.list_task_sources() data = ecal.open_calendar_source(sources[0][1],ecal.CAL_SOURCE_TYPE_TODO)
The test case seems to work here Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import evolution >>> from evolution import ecal >>> sources = ecal.list_task_sources() >>> >>> data = ecal.open_calendar_source(sources[0][1],ecal.CAL_SOURCE_TYPE_TODO) ** (process:28752): DEBUG: Opening calendar source uri: file:///home/michaelt/.evolution/tasks/local/system >>> data <ecal.ECal object at 0xb7d6d89c (ECal at 0x88762c0)>
Works for me to. There is a bug here somewhere, and I am convinced this has something to do with running in a threaded environment
Hmmm, now updated to most recent version of Jaunty and now it also doesn't lock up anymore. Now i wonder how do we turn this into something more scientific - wouldn't like to enable evo backend if there is a risk that users of 2.26 will catch the lockup.
can confirm the hang no longer occurs on latest Jaunty updates using the testcase in bug 571829 does gnome-python-desktop have a regression testsuite that this can be added to, in order to prevent the bug returning?
(In reply to comment #4) > can confirm the hang no longer occurs on latest Jaunty updates using the > testcase in bug 571829 > > does gnome-python-desktop have a regression testsuite that this can be added > to, in order to prevent the bug returning? Yes. Test case added. So closing for now. Re-open if it reappears.
Gustavo, can you please run my, *new*, test case from bug #561354 because I am still getting lockups.
Actually, can everyone please run that test and report their results? This reliably triggers the bug on two Ubuntu Intrepid systems I tested.
I can confirm the bug, I'm on Ubuntu Intrepid as well as you. Tomorrow I can try on Fedora 10.
John's test case in bug #561354 (http://bugzilla.gnome.org/show_bug.cgi?id=561354#c17) reliably triggers the problem on Ubuntu Jaunty with latest updates as of 2009/02/23
Turned out to be needing to initialize bonobo before using e-d-s APIs. Should be fixed now, if not reopen.