IOError in Weather: [Errno socket error] timed out

Bug #359668 reported by marios on 2009-04-11
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Awn Extras
awn-extras-applets (Ubuntu)

Bug Description

i was just listening to music when this crash came up...

Architecture: amd64
DistroRelease: Ubuntu 9.04
InterpreterPath: /usr/bin/python2.6
Package: awn-applets-python-core

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/awn/extras/", line 1220, in __run
  File "/usr/share/avant-window-navigator/applets/weather/", line 365, in onRefreshMap
  File "/usr/share/avant-window-navigator/applets/weather/", line 381, in fetchMap
    rawImg = urllib.urlopen(imgSrc)
  File "/usr/lib/python2.6/", line 87, in urlopen
  File "/usr/lib/python2.6/", line 203, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.6/", line 345, in open_http
    errcode, errmsg, headers = h.getreply()
  File "/usr/lib/python2.6/", line 1024, in getreply
    response = self._conn.getresponse()
  File "/usr/lib/python2.6/", line 950, in getresponse
  File "/usr/lib/python2.6/", line 390, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.6/", line 348, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.6/", line 395, in readline
    data = recv(1)
IOError: [Errno socket error] timed out

Related branches

marios (marioszou) wrote :
tags: removed: need-duplicate-check
Julien Lavergne (gilir) wrote :

Thanks fro your bug report.
Forwarded upstream.

visibility: private → public
Michael Rooney (mrooney) wrote :

Thanks for this report, I'll take a look. Did this actually crash the applet or have any adverse effects?

Changed in awn-extras:
assignee: nobody → Michael Rooney (mrooney)
status: New → In Progress
status: In Progress → Incomplete
Michael Rooney (mrooney) wrote :

I've linked to a branch which should hopefully stop the crash. Obviously it still won't have the updated weather map but if the network is good will get it on the next automatic or manual refresh.

Mark Lee (malept) wrote :

Is this fix appropriate for

Also, is there a reason why you didn't just commit it to trunk? :)

Changed in awn-extras:
status: Incomplete → In Progress

On Sun, Apr 19, 2009 at 12:13 AM, Mark Lee
<email address hidden> wrote:
> Also, is there a reason why you didn't just commit it to trunk? :)

I wasn't at a place where I could build and actually test to see if
worked as expected, but figured I might as well commit it in case
someone wanted to review or test it.

Michael, are you still working on the issue ? Or is it committed to trunk or rewrite ?

onox (onox) wrote :

Refactored network code in rewrite branch. Exceptions will now be catched and handled.

Changed in awn-extras:
assignee: Michael Rooney (mrooney) → onox (onox)
importance: Undecided → Medium
milestone: none → 0.4.0
status: In Progress → Fix Committed
description: updated
tags: added: applet traceback weather
onox (onox) on 2010-01-06
summary: - crashed with IOError in readline()
+ IOError in Weather: [Errno socket error] timed out
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package awn-extras-applets - 0.3.9~bzr1944-0ubuntu1

awn-extras-applets (0.3.9~bzr1944-0ubuntu1) lucid; urgency=low

  * New upstream snapshot.
   - Catch error in weather applet (LP: #359668)
  * debian/patches: Refresh.
  * debian/*.install:
   - Update to new location and new applets.
   - Disable dialect applet until python-xklavier is in the archive.
   - Disable MiMenu and Pandora applets, there are unmaintained and not stable.
  * debian/awn-applets-c-core: Dropped, not needed.
  * debian/control:
   - Update description with new applets.
   - Remove libawn-extras and python-awnlib, all merged in python-awn-extras.
   - Replace awn-manager by awn-settings.
   - Drop build-depends on libgnome-desktop-dev, python*-dev, python2.5,
     awn-manager, libglade2-dev and libgnomeui-dev.
   - Add build-depends on libdesktop-agnostic-bin and vala-awn.
   - Bump build-depends of libawn-dev (>= 0.3.9~bzr1890), valac (>= 0.7.7) and
     debhelper (>= 7.0.50~).
   - Bump Standards-Version to 3.8.3 (no change needed).
   - Demote gconf-editor to Suggest, it's only needed for very advanced
   - Update Recommends for python applets with new applets.
   - Suggest python-gconf for notification-area and alacarte for YAMA.
   - Add a debug package for C applets.
  * debian/libawn-extras*: Removed, libawn-extras was removed upstream.
  * debian/python-awnlib*: Merged with python-awn-extras.
  * debian/rules:
   - Rewrite to use overrides.
  * debian/copyright:
   - Update copyright and licenses.
  * debian/README.source: Added.
 -- Julien Lavergne <email address hidden> Wed, 13 Jan 2010 21:50:33 +0100

Changed in awn-extras-applets (Ubuntu):
status: New → Fix Released
Mark Lee (malept) on 2010-04-12
Changed in awn-extras:
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