[Reboot] App erroneously reports network error

Bug #1494760 reported by Alan Pope 🍺🐧🐱 🦄
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Weather App
Confirmed
High
Unassigned

Bug Description

Added 7 cities to my list of locations, went back to front screen and now I get a "Network Error".

qml: [Farnborough] {"date":11,"hours":13,"minutes":49,"month":8,"year":2015}
qml: Exception: TypeError: Cannot read property 'speed' of undefined
qml: retry of http://api.openweathermap.org/data/2.5/forecast?id=2649672&units=metric&lang=en
qml: Sent request URL: http://api.openweathermap.org/data/2.5/forecast?id=2649672&units=metric&lang=en
qml: [Beijing] {"date":11,"hours":21,"minutes":49,"month":8,"year":2015}
qml: [Amsterdam] {"date":11,"hours":14,"minutes":49,"month":8,"year":2015}
qml: [Bogotá] {"date":11,"hours":8,"minutes":49,"month":8,"year":2015}
qml: [Buenos Aires] {"date":11,"hours":10,"minutes":49,"month":8,"year":2015}
qml: [Cairo] {"date":11,"hours":15,"minutes":49,"month":8,"year":2015}
qml: [Caracas] {"date":11,"hours":9,"minutes":19,"month":8,"year":2015}
qml: [Chicago] {"date":11,"hours":7,"minutes":49,"month":8,"year":2015}
qml: [Chicago] {"date":11,"hours":7,"minutes":49,"month":8,"year":2015}
qml: Exception: TypeError: Cannot read property 'speed' of undefined
qml: retry of http://api.openweathermap.org/data/2.5/forecast?units=metric&lat=41.85003&lon=-87.65005&lang=en
qml: Sent request URL: http://api.openweathermap.org/data/2.5/forecast?units=metric&lat=41.85003&lon=-87.65005&lang=en
qml: [Farnborough] {"date":11,"hours":13,"minutes":49,"month":8,"year":2015}
qml: Exception: TypeError: Cannot read property 'speed' of undefined
qml: {"msg":"wrong response data format","request":{"type":"forecast","url":"http://api.openweathermap.org/data/2.5/forecast?id=2649672&units=metric&lang=en"}}
qml: wrong response data format / http://api.openweathermap.org/data/2.5/forecast?id=2649672&units=metric&lang=en
qml: [Hamburg] {"date":11,"hours":14,"minutes":49,"month":8,"year":2015}
qml: [Dehli] {"date":11,"hours":19,"minutes":19,"month":8,"year":2015}
qml: [Chicago] {"date":11,"hours":7,"minutes":49,"month":8,"year":2015}
qml: Exception: TypeError: Cannot read property 'speed' of undefined
qml: {"msg":"wrong response data format","request":{"type":"forecast","url":"http://api.openweathermap.org/data/2.5/forecast?units=metric&lat=41.85003&lon=-87.65005&lang=en"}}
qml: wrong response data format / http://api.openweathermap.org/data/2.5/forecast?units=metric&lat=41.85003&lon=-87.65005&lang=en

Looks like there is a data problem, not a network problem as such.
Or possibly OWM being broken again?

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

http://termbin.com/15ds is the full log

summary: - App erroneously reports network error
+ [Reboot] App erroneously reports network error
description: updated
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I just ran into this. I deleted the database and it worked again. Restoring this db breaks it.

Changed in ubuntu-weather-app:
importance: Undecided → High
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.