← Back to team overview

gtg team mailing list archive

[Bug 593396] Re: Task instance has no attribute 'is_workable'

 

Yep, the "is_workable" has been deprecated in favour of using the
filters. It was anyway not used anymore in the code (I didn't check the
plugin)

** Summary changed:

- Task instance has no attribute 'is_workable'
+ Notification plugin should use filters

-- 
Notification plugin should use filters
https://bugs.launchpad.net/bugs/593396
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: New

Bug description:
Traceback (most recent call last):
  File "/home/liori/Studia/Projekty/gtg/gtg/GTG/plugins/notification_area/notification_area.py", line 237, in on_task_added
    if self._is_task_wanted_in_menu(tid):
  File "/home/liori/Studia/Projekty/gtg/gtg/GTG/plugins/notification_area/notification_area.py", line 121, in _is_task_wanted_in_menu
    return task.is_workable() and task.is_started()\
AttributeError: Task instance has no attribute 'is_workable'

Rev 805. Just after startup I've got +∞ number of windows trying to show me this traceback.





References