MycroftAI / skill-weather

Mycroft AI official Weather Skill, providing weather conditions and forecasts.
https://mycroft.ai/skills
Apache License 2.0
19 stars 59 forks source link

Gui screens not staying up long enough to rea #199

Open builderjer opened 2 years ago

builderjer commented 2 years ago

When I ask for today's weather, the first screen should be the current temp. The second screen should show today's forecast.

Instead, both screens show, but only for less than 1 second and then continues to the weekly forecast.

I think that when just asking for the weather "today", there should only be the two screens shown, and they need to stay up long enough to read.

This happens every time today's weather is asked, in any form that I have tried.

Environment (please complete the following information):

builderjer commented 2 years ago

I got this error also.

`15:23:39.350 | INFO | 2188 | WeatherSkill | Speaking dialog: current-weather-local 15:23:39.368 | INFO | 2188 | Mark2 | Cancelling idle override 15:23:39.781 | INFO | 2188 | WeatherSkill | Speaking dialog: current-temperature-high-low


Traceback (most recent call last):
  File "/home/mycroft/mycroft-core/mycroft/skills/mycroft_skill/event_container.py", line 73, in wrapper
    handler(message)
  File "/opt/mycroft/skills/mycroft-weather.mycroftai/__init__.py", line 122, in handle_current_weather
    self._report_current_weather(message)
  File "/opt/mycroft/skills/mycroft-weather.mycroftai/__init__.py", line 675, in _report_current_weather
    self._display_more_current_conditions(weather, weather_location)
  File "/opt/mycroft/skills/mycroft-weather.mycroftai/__init__.py", line 756, in _display_more_current_conditions
    self.gui.replace_page(page_name)
AttributeError: 'SkillGUI' object has no attribute 'replace_page'`