Trying to add a custom widget to Task Editor by a plugin gives error

Bug #1242083 reported by Parin Porecha on 2013-10-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Getting Things GNOME!
Parin Porecha

Bug Description

Hamster plugin tries to add a custom widget to the Task Editor to show activity details of a task,
Opening the task editor results in the following traceback -

Traceback (most recent call last):
  File "/home/manhattan/GTG/trunk/GTG/gtk/browser/", line 1016, in on_edit_active_task
  File "/home/manhattan/GTG/trunk/GTG/gtk/", line 189, in open_task
  File "/home/manhattan/GTG/trunk/GTG/gtk/editor/", line 168, in __init__
  File "/home/manhattan/GTG/trunk/GTG/core/plugins/", line 261, in onTaskLoad
  File "/home/manhattan/GTG/trunk/GTG/plugins/hamster/", line 307, in onTaskOpened
    self.vbox = plugin_api.add_widget_to_taskeditor(vbox)
  File "/home/manhattan/GTG/trunk/GTG/core/plugins/", line 182, in add_widget_to_taskeditor
    self.taskwidget_id += 1
AttributeError: PluginAPI instance has no attribute 'taskwidget_id'

Parin Porecha (parinporecha) wrote :

Tested on GTG 0.3 rev1317

Changed in gtg:
milestone: none → 0.3.1
Parin Porecha (parinporecha) wrote :

Fixed in revision 1318

Changed in gtg:
status: New → Fix Committed
Nimit Shah (nimit-svnit) on 2013-11-25
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