AttributeError: 'NoneType' object has no attribute 'data' for pywapi 0.3.7

Bug #1278494 reported by Andreas Angerer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python Weather API
Unknown
Critical
Weather Indicator
Triaged
Critical
Joshua Tasker

Bug Description

when using pywapi 0.3.7 (latest version from ppa). I can do

pywapi.get_location_ids('Vienna')

and get a return value of {u'AUXX0025': u'Vienna, 9, Austria'}, which seems to be fine. But then

pywapi.get_weather_from_weather_com('AUXX0025')

fails with the error in the description.

pywapi.get_weather_from_weather_com('USNY0996') works fine however (New York as an example).

Joshua Tasker (jtasker)
Changed in python-weather-api:
importance: Unknown → Critical
Changed in weather-indicator:
importance: Undecided → Critical
Changed in python-weather-api:
milestone: none → 0.3.8
Changed in weather-indicator:
milestone: none → 13.8.1
status: New → Triaged
assignee: nobody → Joshua Tasker (jtasker)
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.