weather applet segfaults -- no apparent cause

Bug #791594 reported by Jon Wilson
This bug report is a duplicate of:  Bug #774406: Insufficient http-proxy detection. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Weather Indicator
Fix Released
High
Unassigned
indicator-weather (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: indicator-weather

When I start indicator-weather via the unity dash, it starts just fine, and runs for a while, then disappears from the indicator area. I've run it from a terminal to see if it generates any output. Sometimes, it throws an exception and keeps running. Other times, it segfaults with no other message than "Segmentation fault".

user@host:~$ indicator-weather
Exception in thread Fetcher:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/bin/indicator-weather", line 1148, in get_new_weather_data
    weather = self.get_weather()
  File "/usr/bin/indicator-weather", line 1210, in get_weather
    self.current_location.update_weather_data(self.weather_source)
  File "/usr/bin/indicator-weather", line 327, in update_weather_data
    self.weather = Weather(self.location_details['google id'], source, self.metric_system, self.wind_unit, self.location_details['latitude'], self.location_details['longitude'])
  File "/usr/bin/indicator-weather", line 505, in __init__
    self.__report = pywapi.get_weather_from_google (location_id, hl = 'en')
  File "/usr/lib/pymodules/python2.7/pywapi.py", line 55, in get_weather_from_google
    handler = urllib2.urlopen(url)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1185, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1160, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 111] Connection refused>

Segmentation fault
user@host:~$ indicator-weather
Segmentation fault

What I expected to happen:
I start indicator-weather, and it runs indefinitely, providing weather information.

What happens instead:
I start indicator-weather, and it runs for a while, then exits due to a segmentation violation.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: indicator-weather 11.04.10+repack-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.39-0.5~20110427-generic 2.6.39-rc5
Uname: Linux 2.6.39-0-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Jun 1 18:18:02 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: indicator-weather
UpgradeStatus: Upgraded to natty on 2011-05-13 (19 days ago)

Revision history for this message
Jon Wilson (j85wilson) wrote :
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Please try updating to 11.05.31 version from Weather Indicator Team PPA - the issue is related to incorrect proxy settings

Changed in weather-indicator:
importance: Undecided → High
milestone: none → 11.05.31
status: New → 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.