such a pain too.. enjoy my weather forecast and coffee in the morning(now I use
HTC weather for android instead).. looks like there is an API change..:
gps
http://developer.yahoo.com/maps/rest/V1/geocode.html
forecast
http://developer.yahoo.com/weather/
code looks to be in
bin/indicator-weather @@331
# Get YAHOO WOEID by english name of location
baseurl = 'http://where.yahooapis.com/geocode?[location]'
params = {'location': displayed_city_name, 'appid': 'mOawLd4s',
'flags': 'J'}
url = '?'.join((baseurl, urlencode(params)))
log.debug("Location: Get Yahoo WOEID, url %s" % url)
f = urllib2.urlopen(url)
s=f.read()
null = None
not sure if its a simple address change or a whole rewrite..
let me know!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1048193
Title:
"Forecast Information Cannot be fetched. Connection cannot be
established"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-weather/+bug/1048193/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs