Geolocation fails with IPv6

Bug #1406395 reported by Daniel Gimpelevich
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
my-weather-indicator
Fix Released
Undecided
Lorenzo Carbonell

Bug Description

If the default path to the Internet is over IPv6, the local weather reported is for an undefined location. The indicator applet should restrict itself to IPv4 connectivity only.

Changed in my-weather-indicator:
status: New → Confirmed
Changed in my-weather-indicator:
status: Confirmed → Fix Released
Revision history for this message
Daniel Gimpelevich (daniel-gimpelevich) wrote :

How is it Fix Released when the new version doesn't even start? See the open bugs that say "stopped working."

Changed in my-weather-indicator:
status: Fix Released → Confirmed
Revision history for this message
Daniel Gimpelevich (daniel-gimpelevich) wrote :
Changed in my-weather-indicator:
status: Confirmed → Fix Released
Revision history for this message
Daniel Gimpelevich (daniel-gimpelevich) wrote :

<gettext.GNUTranslations object at 0x7f0a89c95c88>
#####################################################
System: Linux
Machine: x86_64
Node: chimera
Release: 3.13.0-85-generic
Version: #129-Ubuntu SMP Thu Mar 17 20:50:15 UTC 2016
Platform: Linux-3.13.0-85-generic-x86_64-with-Ubuntu-14.04-trusty
#####################################################

My-Weather-Indicator version: 0.7.7-0extras15.10.5
#####################################################
****** Requesting timezone identificacion
******* Adquiring woeids *******
****** Requesting timezone identificacion
******* Adquiring woeids *******
***** refreshing weather *****
--- Updating data in location 0 ---
******* Adquiring inv direction *******
****** Updating weather
****** Calculating rawOffset
********************************************************
********************************************************
06:43 << 14:10 << 19:40
********************************************************
********************************************************
****** Updated weather
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator", line 63, in <module>
    mwi = MWI()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 151, in __init__
    self.load_preferences()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 354, in load_preferences
    self.start_weather_updater()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 375, in start_weather_updater
    self.work()
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 164, in work
    self.update_menu(i)
  File "/opt/extras.ubuntu.com/my-weather-indicator/share/my-weather-indicator/myweatherindicator.py", line 629, in update_menu
    _('Location') + ': ' + self.preferences[index]['location'])
TypeError: Can't convert 'dict' object to str implicitly

Changed in my-weather-indicator:
status: Fix Released → In Progress
Changed in my-weather-indicator:
assignee: nobody → Lorenzo Carbonell (lorenzo-carbonell)
status: In Progress → Fix Released
Revision history for this message
Daniel Gimpelevich (daniel-gimpelevich) wrote :

Thank you!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.