[cities] fails due to worldweatheronline suspended account key?

Bug #1377478 reported by Xavier Alvarez on 2014-10-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
One Hundred Scopes
Undecided
Unassigned

Bug Description

I've recently installed the cities scope and although the calculator works fine, weather info is no go... so I decided to do some checking in its files trying to discover what may be wrong in how I was using it (as the expected method of typing a city name just didn't produce anything suggesting that it was even alive).

Finally I located the file /usr/lib/unity-scope-cities/unity-scope-cities and found it had the following URLs:
http://www.worldweatheronline.com/feed/tz.ashx?key=7e70df21c3150016112010&format=json&%s
http://free.worldweatheronline.com/feed/weather.ashx?key=7e70df21c3150016112010&format=json&%s

which when tested (ignoring the query replacement string) both resulted in errors. The first one retrieved the JSON :
{ "data": { "error": [ {"msg": "User account is in suspended mode. Contact support team at <email address hidden>" } ] }}

while the second one is a bit more terminal given that the free.worldweatheronline.com domain doesn't exist! Replacing 'free' for 'www' spits an HTML page saying "Unexpected Error Occured".

My alternatives are:
1) ditch the whole thing
2) register myself in worldweatheronline, generate my own key & patch the files
3) hope that some day the hardcoded key will get unsuspended

I think that option 3 is wishful thinking. 2 is a hassle for something I don't if I want to keep, and 1 is quite tempting...

Suggestions?

/X

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

Other bug subscribers