No weather information is reported

Bug #790623 reported by Oier Mees
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
my-weather-indicator
Fix Released
High
Lorenzo Carbonell

Bug Description

Eventhough I click on refresh weather, no temperature is displayed. See attached screenshot. I am using Natty and the version 0.4.0.5

Revision history for this message
Oier Mees (oier) wrote :
Revision history for this message
Thiago (tclahr) wrote :

Same here.

I am using v0.4.0.5 as well.

Changed in my-weather-indicator:
assignee: nobody → atareao (lorenzo-carbonell)
Revision history for this message
Oier Mees (oier) wrote :

any idea on what is going on?

Revision history for this message
Lorenzo Carbonell (lorenzo-carbonell) wrote :

What location do you have selected?,

Revision history for this message
Oier Mees (oier) wrote : Re: [Bug 790623] Re: No weather information is reported

I tryed several locations, cities in Germany and Spain mostly but it has
never worked.

Revision history for this message
Thiago (tclahr) wrote :

I have tryed several locations as well. Never worked.

I am using Ubuntu Natty + My-Weather-Indicator v0.4.0.5

Revision history for this message
Thiago (tclahr) wrote :

I have just printed out the URL my-weather-indicator is trying to get the weather from:

My location is Campinas, Brazil:

http://www.google.com/ig/api?weather=,,,-22907104,-47063239&hl=pt

Look at the results:

<xml_api_reply version="1"><weather module_id="0" tab_id="0" mobile_row="0" mobile_zipped="1" row="0" section="0"><problem_cause data=""/></weather></xml_api_reply>

No weather is returned from Google API.

Revision history for this message
Thiago (tclahr) wrote :

I have fixed it removing the &hl=pt parameter

Now it is working well.

Revision history for this message
Thiago (tclahr) wrote :

Or you can force hl=en at:

Edit my-weather-indicator.py and replace the following line:

IDIOMA = locale.getlocale()[0][:2]

by:

IDIOMA = 'en'

Changed in my-weather-indicator:
status: New → Fix Committed
milestone: none → 0.4.1.0
importance: Undecided → High
Oier Mees (oier)
Changed in my-weather-indicator:
status: Fix Committed → 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.