Mail: BadArgumentsError in Gmail backend

Bug #610088 reported by errietta
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
Medium
Gabor Karsay

Bug Description

When I try to log in in any type of e-mail through the AWN mail applet, nothing happens after I click login, no matter how long I wait. Furthermore, these errors show up in the console:

When I try to do gmail:

Traceback (most recent call last):
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 491, in onsubmit
    t["callback"](t["widgets"], self.__parent.awn))
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 127, in perform_login
    self.mail.update() # Update
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 522, in update
    if not self.key.attrs.has_key("username"):
  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 995, in __getAttrs
    return gnomekeyring.item_get_attributes_sync(None, self.token)
gnomekeyring.BadArgumentsError

When I try to do POP:

Traceback (most recent call last):
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 491, in onsubmit
    t["callback"](t["widgets"], self.__parent.awn))
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 122, in perform_login
    self.mail = self.back(key) # Login
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 721, in __init__
    if key.attrs["usessl"]:
  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 995, in __getAttrs
    return gnomekeyring.item_get_attributes_sync(None, self.token)
gnomekeyring.BadArgumentsError

Interestingly, if I try POP *before* gmail, it seems to just freeze. No error, nothing, but the mail applet freezes and can't be accessed anymore.

I am using Ubuntu 10.04 LTS

Linux Mewtwo 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010 i686 GNU/Linux

Related branches

onox (onox)
tags: added: traceback
removed: awn error
Revision history for this message
Luigi papino (luigi-papino) wrote :

The same for me :\

summary: - Can't get mail on AWN
+ Mail: BadArgumentsError in Gmail backend
Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

These are different bugs, the error in the POP backend is bug #561919, the Gmail bug is new though. Renamed bug title accordingly.

Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

Thanks for your bug report, fix committed in revision 1395.

Changed in awn-extras:
importance: Undecided → Medium
milestone: none → 0.4.2
status: New → Fix Committed
onox (onox)
Changed in awn-extras:
assignee: nobody → Gabor Karsay (gabor-karsay)
Povilas Kanapickas (p12)
Changed in awn-extras:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.