Mail Applet crashes after changing the default keyring
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Awn Extras |
Fix Released
|
Low
|
Gabor Karsay |
Bug Description
If a Gnome keyring is made default other than the one where Mail applet's password is stored or if the key or the whole keyring is deleted, the applet will crash with BadArgumentsError or KeyError. (Depending on the new default keyring: KeyError if it has a key with the same id, else it's BadArgumentError.) The tracebacks are different for each backend.
If you use GMail BadArgumentsError only:
Traceback (most recent call last):
File "/usr/local/
applet_
File "/usr/local/
self.login()
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
if not "username" in self.key.attrs:
File "/usr/local/
return gnomekeyring.
BadArgumentsError
If you use IMAP either KeyError or BadArgumentsError:
Traceback (most recent call last):
File "/usr/local/
applet_
File "/usr/local/
self.login()
File "/usr/local/
self.
File "/usr/local/
self.mail = self.back(key) # Login
File "/usr/local/
args = key.attrs[
KeyError: 'url'
Traceback (most recent call last):
File "/usr/local/
applet_
File "/usr/local/
self.login()
File "/usr/local/
self.
File "/usr/local/
self.mail = self.back(key) # Login
File "/usr/local/
args = key.attrs[
File "/usr/local/
return gnomekeyring.
BadArgumentsError
If you use POP either KeyError or BadArgumentsError:
Traceback (most recent call last):
File "/usr/local/
applet_
File "/usr/local/
self.login()
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
if self.key.
KeyError: 'usessl'
Traceback (most recent call last):
File "/usr/local/
applet_
File "/usr/local/
self.login()
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
if self.key.
File "/usr/local/
return gnomekeyring.
BadArgumentsError
Related branches
- onox (community): Approve
-
Diff: 1305 lines (+513/-316)5 files modifiedapplets/maintained/feeds/classes.py (+3/-3)
applets/maintained/mail/awn-applet-mail.schema-ini.in (+14/-5)
applets/maintained/mail/mail.py (+402/-231)
applets/maintained/mail/mail.ui (+2/-20)
shared/python/awnlib.py (+92/-57)
tags: | added: mail traceback |
summary: |
- BadArgumentsError in Mail Applet: + BadArgumentsError in Mail Applet |
Changed in awn-extras: | |
status: | Incomplete → Confirmed |
status: | Confirmed → Fix Committed |
Changed in awn-extras: | |
status: | Triaged → In Progress |
description: | updated |
summary: |
- BadArgumentsError in Mail Applet + Mail Applet crashes after changing the default keyring |
Changed in awn-extras: | |
assignee: | nobody → Gabor Karsay (gabor-karsay) |
milestone: | none → 0.4.2 |
Changed in awn-extras: | |
status: | Fix Committed → Fix Released |
Please provide the following information (in the future try to read the guidelines below the bug report form): (something here). Name depends on which distro you have
- which distribution and version you use
- version of awn-extras or awn-applets-
- which e-mail backend did you use
- how to reproduce this bug (which steps the developer should follow)
If you use ubuntu and you're using Awn 0.4.0, then try to uninstall everything and then install the testing PPA (See https:/ /launchpad. net/~awn- testing/ +archive/ ppa). If you cannot reproduce the bug in the testing PPA version, then please tell us that. Even then you should provide the information requested above.
Without this information I'm going to guess it's either a duplicate of bug #669135 or bug #610088.