Opened 11 years ago
Closed 8 years ago
#11950 closed Bug Report - General (Works for me)
Mythweather - Wunderground maps broken
Reported by: | Owned by: | beirdo | |
---|---|---|---|
Priority: | minor | Milestone: | 30.0 |
Component: | Plugin - MythWeather | Version: | 0.27-fixes |
Severity: | low | Keywords: | mythweather |
Cc: | Ticket locked: | no |
Description
I have upgraded version .27 and just aquired a wonderground.key. Mythweater maps do not work.
I have found the following workaround.
For static maps the source wunderground_maps.pl creates the URL that MythWeather? uses to display data with this code....
my $url = "http://api.wunderground.com/api/$apikey/radar/q/$loc.png?" .
"width=1024&height=768&newmaps=1";
I can get static maps to work if I change the scripT as follows...
my $url = "http://api.wunderground.com/api/$apikey/radar/q/$loc.gif";
Please note that in the modified script, I have changed $loc.png to $loc.gif, AND remvoved the question mark. If the trailing '?' is left in place MythWeather? will not display the map. Also, the map does not dispaly if using png.
Similarily, I can get animated maps to work if I change the lines in wunderground-animaps.pl as follows:
my $url = "http://api.wunderground.com/api/$apikey/radar/q/$loc.png?" .
"width=1024&height=768&newmaps=1";
becomes:
my $url = "http://api.wunderground.com/api/$apikey/radar/q/$loc.png";
note, no '?'
my diagnoses is that Mythweather is choking on the ? in the URL, and it may also have problemes using png formated images.
Change History (5)
comment:1 Changed 11 years ago by
comment:2 Changed 8 years ago by
I just tested this on 0.28 and master, and I don't have any problem downloading data/maps from Weather Underground.
comment:3 Changed 8 years ago by
Milestone: | unknown → 30.0 |
---|---|
Status: | new → infoneeded_new |
David,
Did you apply any patches to get this to work, or is it just working "as is"?
Regards Stuart
comment:5 Changed 8 years ago by
Resolution: | → Works for me |
---|---|
Status: | infoneeded_new → closed |
Reported to be working, so closing
Broken here as well; removing the query string allows the radar to appear but in a much lower resolution than desired.