What steps will reproduce the problem?
1. Call pywapi.get_weather_from_yahoo('CAXX1978')
What is the expected output? What do you see instead?
Expect correctly-parsed weather data to be returned. Instead, pywapi crashes
with traceback:
File "/usr/lib/python2.7/dist-packages/pywapi.py", line 317, in
get_weather_from_yahoo
weather_data['geo']['lat'] = dom.getElementsByTagName('geo:lat')[0].firstChild.data
AttributeError: 'NoneType' object has no attribute 'data'
This has been fixed as of 0.3.1, reporting here for posterity.
Original issue reported on code.google.com by jtas...@gmail.com on 24 May 2013 at 6:41
Original issue reported on code.google.com by
jtas...@gmail.com
on 24 May 2013 at 6:41