← Back to team overview

gtg-contributors team mailing list archive

[Bug 1024942]

 

The attachment "bug1024942.patch" of this bug report has been identified
as being a patch.  The ubuntu-reviewers team has been subscribed to the
bug report so that they can review the patch.  In the event that this is
in fact not a patch you can resolve this situation by removing the tag
'patch' from the bug report and editing the attachment so that it is not
flagged as a patch.  Additionally, if you are member of the ubuntu-
reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

-- 
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to gtg in Ubuntu.
https://bugs.launchpad.net/bugs/1024942

Title:
  gtg crashed with AttributeError in checkTomboyPresent(): pluginTomboy
  instance has no attribute 'plugin_api'

Status in Getting Things GNOME!:
  Fix Committed
Status in “gtg” package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce:
  1, Make sure the system doesn't have Tomboy/Gnote
  2, Start GTG, Enable Tomboy Plugin
  3, Open a new task. Because the system doesn't have any Tomboy/Gnote, GTG attempts to show an error message (No Tomboy/Gnote). Plugin_api is not set and the traceback is raised.

  <traceback>
  Traceback (most recent call last):
    File "/usr/share/gtg/GTG/gtk/browser/browser.py", line 1039, in on_add_task
      self.vmanager.open_task(uid,thisisnew=True)
    File "/usr/share/gtg/GTG/gtk/manager.py", line 177, in open_task
      clipboard = self.clipboard)
    File "/usr/share/gtg/GTG/gtk/editor/editor.py", line 160, in __init__
      self.pengine.onTaskLoad(self.plugin_api)
    File "/usr/share/gtg/GTG/core/plugins/engine.py", line 252, in onTaskLoad
      plugin.instance.onTaskOpened(plugin_api)
    File "/usr/share/gtg/GTG/plugins/tomboy/tomboy.py", line 162, in onTaskOpened
      if not self.checkTomboyPresent() or not plugin_api.is_editor():
    File "/usr/share/gtg/GTG/plugins/tomboy/tomboy.py", line 75, in checkTomboyPresent
      self.plugin_api.get_ui().get_window(),
  AttributeError: pluginTomboy instance has no attribute 'plugin_api'
  </traceback>

  Reason:
  self.plugin_api is initialized after calling self.checkTomboyPresent(). However, it needs self.plugin_api for showing the error message.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtg/+bug/1024942/+subscriptions