Refreshing when no weather data is found crashes the app

Bug #1287982 reported by Nicholas Skaggs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Weather App
Fix Released
Undecided
Unassigned

Bug Description

Pressing refresh after seeing the message " No weather data available at the moment, please try to refresh later again!" causes the app to crash.

I'm not sure of an easy way to reproduce this as of yet, but the crash is reproducible.

Perhaps the easiest way is to invoke the StateNotFoundError: State not found for class 'QQuickItem' and filters {'focus': True} by running the tests. Running the 5 ubuntu_weather_app.tests.test_settings.TestSettings tests is enough to recreate. Once the orange screen shows, press refresh to see the message. Press refresh again to have the application close.

description: updated
Revision history for this message
Sam Bull (dreamsorcerer) wrote :

I had that error several times yesterday, but refresh just caused the message to redisplay, it did not crash after tapping refresh several times. This was on mako, last promoted image.

Changed in ubuntu-weather-app:
status: New → Incomplete
Changed in ubuntu-weather-app:
status: Incomplete → Fix Released
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.