← Back to team overview

gwibber-bugs team mailing list archive

[Bug 663948] Re: Gwibber throws an error if you hit delete button when no accounts are added

 

It has just happened to me.

-- 
You received this bug notification because you are a member of Gwibber
Bug Heros, which is subscribed to Gwibber.
https://bugs.launchpad.net/bugs/663948

Title:
  Gwibber throws an error if you hit delete button when no accounts are
  added

Status in Gwibber:
  Fix Released
Status in “gwibber” package in Ubuntu:
  Fix Released

Bug description:
  Originally reported here:
  https://bugzilla.redhat.com/show_bug.cgi?id=644042

  accounts.py:166:on_account_delete:AttributeError: 'GwibberAccountManager'
  object has no attribute 'account'

  Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/gwibber/accounts.py", line 166, in
  on_account_delete
      if "id" in self.account:
  AttributeError: 'GwibberAccountManager' object has no attribute 'account'

  Local variables in innermost frame:
  widget: <gtk.Button object at 0x873fd24 (GtkButton at 0x83220f8)>
  self: <gwibber.accounts.GwibberAccountManager object at 0x873b4cc>

  How to reproduce
  -----
  1. Open gwibber for the first time
  2. Go to menu Edit->Accounts
  3. Then press the Remove button in the bottom left.

  I've attached a patch to resolve this issue.