This bug is "Fix Released" but error still happened in 12.04.5 with last updates for Saint-Petersburg city, Russia.
Same with Google and Yahoo weather service:
$ indicator-weather /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed import gobject._gobject Traceback (most recent call last): File "/usr/bin/indicator-weather", line 1883, in on_apply (location_code, location_details) = self.location.export_location_details() File "/usr/bin/indicator-weather", line 405, in export_location_details return (self.location_code, self.location_details) AttributeError: Location instance has no attribute 'location_code' Traceback (most recent call last): File "/usr/bin/indicator-weather", line 1883, in on_apply (location_code, location_details) = self.location.export_location_details() File "/usr/bin/indicator-weather", line 405, in export_location_details return (self.location_code, self.location_details) AttributeError: Location instance has no attribute 'location_code'
indicator-weather ver 11.11.28-0ubuntu1.3.
This bug is "Fix Released" but error still happened in 12.04.5 with last updates for Saint-Petersburg city, Russia.
Same with Google and Yahoo weather service:
$ indicator-weather python2. 7/dist- packages/ gobject/ constants. py:24: Warning: g_boxed_ type_register_ static: assertion `g_type_from_name (name) == 0' failed indicator- weather" , line 1883, in on_apply export_ location_ details( ) indicator- weather" , line 405, in export_ location_ details code, self.location_ details) indicator- weather" , line 1883, in on_apply export_ location_ details( ) indicator- weather" , line 405, in export_ location_ details code, self.location_ details)
/usr/lib/
import gobject._gobject
Traceback (most recent call last):
File "/usr/bin/
(location_code, location_details) = self.location.
File "/usr/bin/
return (self.location_
AttributeError: Location instance has no attribute 'location_code'
Traceback (most recent call last):
File "/usr/bin/
(location_code, location_details) = self.location.
File "/usr/bin/
return (self.location_
AttributeError: Location instance has no attribute 'location_code'
indicator-weather ver 11.11.28- 0ubuntu1. 3.