Evolution plugin crashes GTG 0.2.1-rc1+

Bug #515665 reported by Darvin on 2010-02-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Getting Things GNOME!
Medium
Luca Invernizzi

Bug Description

When I activate Evolution plugin, console shows:
Traceback (most recent call last):
  File "/usr/share/gtg/GTG/core/plugins/manager.py", line 153, in colToggledClicked
    self.pengine.activatePlugins([plgin], self.plugin_apis)
  File "/usr/share/gtg/GTG/core/plugins/engine.py", line 172, in activatePlugins
    plugin['instance'].activate(api)
  File "/usr/share/gtg/GTG/plugins/evolution_sync/evolutionSync.py", line 40, in activate
    self.sync_engine = SyncEngine(self)
  File "/usr/share/gtg/GTG/plugins/evolution_sync/syncEngine.py", line 60, in __init__
    self.remote_proxy = EvolutionProxy()
  File "/usr/share/gtg/GTG/plugins/evolution_sync/evolutionProxy.py", line 41, in __init__
    evolution.ecal.list_task_sources())[0][1]
IndexError: list index out of range
/usr/share/gtg/GTG/core/plugins/api.py:133: GtkWarning: Can't set a parent on widget which has a parent

  widget.get_submenu().append(item)
Error: list index out of range

After activation, GTG doesn't start:
darvin@darvin-laptop:~$ gtg
Traceback (most recent call last):
  File "/usr/bin/gtg", line 40, in <module>
    sys.exit(GTG.gtg.main(options, args))
  File "/usr/share/gtg/GTG/gtg.py", line 120, in main
    tb = TaskBrowser(req, config, logger=logger)
  File "/usr/share/gtg/GTG/taskbrowser/browser.py", line 140, in __init__
    self._init_plugin_engine()
  File "/usr/share/gtg/GTG/taskbrowser/browser.py", line 559, in _init_plugin_engine
    self.pengine.activatePlugins(self.plugins, self.p_apis)
  File "/usr/share/gtg/GTG/core/plugins/engine.py", line 172, in activatePlugins
    plugin['instance'].activate(api)
  File "/usr/share/gtg/GTG/plugins/evolution_sync/evolutionSync.py", line 40, in activate
    self.sync_engine = SyncEngine(self)
  File "/usr/share/gtg/GTG/plugins/evolution_sync/syncEngine.py", line 60, in __init__
    self.remote_proxy = EvolutionProxy()
  File "/usr/share/gtg/GTG/plugins/evolution_sync/evolutionProxy.py", line 41, in __init__
    evolution.ecal.list_task_sources())[0][1]
IndexError: list index out of range

Related branches

Luca Invernizzi (invernizzi) wrote :

Hi,
it seems you don't have the default evolution "personal" calendar.
I'm fixing the plugin in order to make gtg work also with that condition.
Could you run the attached python script and post here the output (stripping eventual personal data)?

in a terminal, run "python evolution_cal.py"

Changed in gtg:
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Luca Invernizzi (invernizzi)
milestone: none → 0.3
Luca Invernizzi (invernizzi) wrote :

After updating gtg, you should be able to run it without problems (of course, the evolution plugin will not work).
I'm lowering the bug level (since it should no longer crash gtg). I will wait for your output. I

Changed in gtg:
importance: Critical → Medium
Luca Invernizzi (invernizzi) wrote :

Actually, try to run also the evolution plugin (please wait an hour for the package to be ready in the PPA). I may have figured out what is the problem.

Darvin (darvin2000) wrote :

After updating from PPA. Evolution plugin works fine! No more errors. Thank you for your quick response!

Changed in gtg:
status: In Progress → Fix Committed
Changed in gtg:
milestone: 0.3 → 0.2.2
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers