Mail applet (network) login error

Bug #381152 reported by TZRick on 2009-05-28
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Awn Extras
Medium
Grega Podlesek

Bug Description

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/awn/extras/awnlib.py", line 1580, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 74, in __init__
    self.login()
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 96, in login
    self.submitPWD(key)
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 106, in submitPWD
    self.mail = self.back(key) # Login
  File "/usr/share/avant-window-navigator/applets/mail/mail.py", line 600, in __init__
    self.server = poplib.POP3(key.attrs["url"])
  File "/usr/lib/python2.6/poplib.py", line 83, in __init__
    self.sock = socket.create_connection((host, port), timeout)
  File "/usr/lib/python2.6/socket.py", line 498, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known

TZRick (t-rick-geo) wrote :

Ubuntu 9.04

Mark Lee (malept) wrote :

Was your network functioning at the time the error occurred? The mail applet does not currently handle being offline very gracefully.

summary: - AWN Mail applet login error
+ Mail applet (network) login error
tags: added: applet mail traceback
Changed in awn-extras:
status: New → Incomplete
TZRick (t-rick-geo) wrote :

I'm running on wireless. The problem occurred immediately after login, so maybe the wireless was not connected as yet, so you might be right.

smirkos (smirkos) on 2009-06-29
Changed in awn-extras:
assignee: nobody → smirkos (smirkos)
status: Incomplete → New
Mark Lee (malept) wrote :

@smirkos:
Please don't assign yourself to a bug unless you plan on working on fixing it, and announce that you are doing so. Additionally, please answer my question in the second comment:

> Was your network functioning at the time the error occurred?

Changed in awn-extras:
assignee: smirkos (smirkos) → nobody
status: New → Incomplete
TZRick (t-rick-geo) wrote :

Mark Lee:

Please see my response two above yours:
"I'm running on wireless. The problem occurred immediately after login, so maybe the wireless was not connected as yet, so you might be right."

There should be a better way to notify of a connection problem. And when a connection made, the problem should automatically go-away. Maybe the icon should change if there is no connection.

Mark Lee (malept) wrote :

@TZRick: for what it's worth, comment 4 was directed at smirkos, not you.

Yes, the mail applet does need to handle the "no network connection" case more gracefully. Unfortunately, this applet does not currently have a maintainer.

Changed in awn-extras:
importance: Undecided → Medium
status: Incomplete → Confirmed
onox (onox) on 2009-11-12
Changed in awn-extras:
assignee: nobody → Grega Podlesek (muscardinus)
Grega Podlesek (muscardinus) wrote :

This was fixed quite some time ago and haws now been improved (the notifications on network errors), so i'm closing this bug

Changed in awn-extras:
status: Confirmed → Fix Committed
onox (onox) on 2010-04-12
Changed in awn-extras:
milestone: none → 0.4.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers