IOError in Weather: [Errno socket error] timed out

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

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 0.3.2.1-0ubuntu2

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/awn/extras/awnlib.py", line 1220, in __run
    self.__callback()
  File "/usr/share/avant-window-navigator/applets/weather/weather.py", line 365, in onRefreshMap
    self.fetchMap()
  File "/usr/share/avant-window-navigator/applets/weather/weather.py", line 381, in fetchMap
    rawImg = urllib.urlopen(imgSrc)
  File "/usr/lib/python2.6/urllib.py", line 87, in urlopen
    return opener.open(url)
  File "/usr/lib/python2.6/urllib.py", line 203, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.6/urllib.py", line 345, in open_http
    errcode, errmsg, headers = h.getreply()
  File "/usr/lib/python2.6/httplib.py", line 1024, in getreply
    response = self._conn.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 950, in getresponse
    response.begin()
  File "/usr/lib/python2.6/httplib.py", line 390, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.6/httplib.py", line 348, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.6/socket.py", 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 0.3.2.2?

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: - weather.py 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
     settings.
   - 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