Mail Applet 0.4.1 not checking for new mail

Bug #708015 reported by Ben Kirkley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
Medium
Gabor Karsay

Bug Description

I received an update to AWN and AWN Extras this morning. With the update I now have a problem with the Mail Applet (0.4.1). I am using it with Gmail and I have left the update interval at the default 2 minutes. However, I never get any new mail notifications. If I do a manual update then new mail comes in fine, but the auto-update does not work.

I have tried adjusting the update interval to 1, 3 and 5 minutes, but these do not work either. Previous to this morning I had no problems with the Mail Applet.

According to About AWN, I am running AWN 0.4.1-rewrite-bzr820+201101220038.
According to About Mail Applet I am running 0.4.1
My OS is Ubuntu 10.10.

Traceback (most recent call last):
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 581, in onsubmit
    self.callback["callback"](self.callback["widgets"]))
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 264, in login
    self.save_key(data)
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 222, in save_key
    type='generic')
  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 1023, in new
    k = self.Key(keyring)
  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 1066, in __init__
    raise KeyringError("No default keyring set")
awn.extras.awnlib.KeyringError: No default keyring set

Related branches

onox (onox)
Changed in awn-extras:
assignee: nobody → Gabor Karsay (gabor-karsay)
Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

Thanks for your bug report. I can't reproduce it here. First, please make sure all awn related packages are updated. Then log out from your session and login again.

Does the problem then still exist? If yes: Is this only about the notification, or about the applet's icon that doesn't change and the list with new mails?

Revision history for this message
Ben Kirkley (bakirkley) wrote :

The applet's icon doesn't change and there are no new messages shown in the list when I left click the tray icon. However, clicking the Refresh button pulls in new messages as expected.

I have removed AWN, rebooted, then reinstalled it from the awn-testing PPA. Here is a list of the packages I have installed (please excuse any formatting issues, I've just done a copy and paste):

ben-desktop:~$ dpkg -l | grep avant
ii avant-window-navigator-data-trunk 0.4.1~bzr820+201101220038~maverick1 Common files for avant-window-navigator
ii avant-window-navigator-trunk 0.4.1~bzr820+201101220038~maverick1 A MacOS X like panel for GNOME
ii awn-applets-c-core-trunk 0.4.1~bzr1504+201101250009~maverick1 A collection of applets for avant-window-navigator
ii awn-applets-c-extras-trunk 0.4.1~bzr1504+201101250009~maverick1 A collection of applets for avant-window-navigator
ii awn-applets-common-trunk 0.4.1~bzr1504+201101250009~maverick1 A collection of applets for avant-window-navigator - debug symbols
ii awn-applets-python-core-trunk 0.4.1~bzr1504+201101250009~maverick1 A collection of applets for avant-window-navigator
ii awn-applets-python-extras-trunk 0.4.1~bzr1504+201101250009~maverick1 A collection of applets for avant-window-navigator
ii awn-settings-trunk 0.4.1~bzr820+201101220038~maverick1 A preferences manager for avant-window-navigator
rc libawn1 0.4.0-2ubuntu1 library for avant-window-navigator
ii libawn1-trunk 0.4.1~bzr820+201101220038~maverick1 library for avant-window-navigator
ii python-awn-extras-trunk 0.4.1~bzr1504+201101250009~maverick1 Python functions used by avant-window-navigator's applets
ii python-awn-trunk 0.4.1~bzr820+201101220038~maverick1 Python bindings for avant-window-navigator library

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

Seems o.k. If you start it from command line (avant-window-navigator), are there any error messages? And do I understand right, the applet logs in to your Gmail account? You don't have to type your username and password?

Revision history for this message
Ben Kirkley (bakirkley) wrote :

I do get an error message, yes:

  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 1066, in __init__
    raise KeyringError("No default keyring set")
awn.extras.awnlib.KeyringError: No default keyring set

When I first start AWN, the mail applet doesn't automatically login. It asks for my username/password and then uses those details whenever I lift-click -> Open Webmail. Each time I restart AWN, however, I have to enter my login credentials again. All of this was not the case before yesterday. Mail Applet remembered these details and would log in automatically after a restart.

Revision history for this message
Ben Kirkley (bakirkley) wrote :

EDIT: Sorry, I made a mistake in the comment above. I meant to say that Mail Applet uses my login credentials during a Left Click -> Refresh.

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

Thanks, I see the problem. It will work as usual if you start seahorse (seems like it's not in Maverick's menu, start it from terminal), select any keyring (probably you have only "login"), right click on it and set it as default. Mail applet will remember credentials if you enter them after that.

Changed in awn-extras:
status: New → In Progress
Revision history for this message
Ben Kirkley (bakirkley) wrote :

Yes, that's fixed it. Thank you very much :-)

onox (onox)
Changed in awn-extras:
milestone: none → 0.4.2
importance: Undecided → Medium
Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

Fix committed in rev. 1505.

description: updated
tags: added: traceback
Changed in awn-extras:
status: In Progress → Fix Committed
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.