Skip to content

[BUG] skill-weather thinks St. Louis, MO doesn't exist #49

@strugee

Description

@strugee

Description

The query what's the weather in st louis claims that the city st louis is not in my memory banks; please try again.

This city does exist. See https://en.wikipedia.org/wiki/St._Louis.

Steps to Reproduce

  • hey mycroft, what's the weather in st louis

Relevant Code

No response

Other Notes

skill.log:

2023-09-19 22:47:09.850 - skills - neon_core.skills.intent_service:handle_utterance:248 - INFO - lang=en-us ['what is the weather in st louis', 'what is weather in st louis', "what's the weather in st. louis"]
2023-09-19 22:47:09.956 - skills - neon_utils.skills.neon_skill:NeonSkill.preference_skill - WARNING - Deprecation version=2.0.0. Caller=skill_synonyms:182. reference `self.settings` directly
2023-09-19 22:47:12.266 - skills - skill_weather:_get_weather:1214 - ERROR - City not found.
Traceback (most recent call last):
  File "/home/neon/venv/lib/python3.10/site-packages/skill_weather/__init__.py", line 1206, in _get_weather
    latitude, longitude = self._determine_weather_location(intent_data)
  File "/home/neon/venv/lib/python3.10/site-packages/skill_weather/__init__.py", line 1252, in _determine_weather_location
    latitude = intent_data.geolocation["latitude"]
  File "/home/neon/venv/lib/python3.10/site-packages/skill_weather/skill/intent.py", line 78, in geolocation
    raise LocationNotFoundError(self.location + " is not a city")
skill_weather.skill.util.LocationNotFoundError: st louis is not a city

voice.log:

2023-09-19 22:47:04.210 - voice - ovos_dinkum_listener.voice_loop.voice_loop:run:205 - INFO - Wakeword detected
2023-09-19 22:47:09.223 - voice - ovos_dinkum_listener.voice_loop.voice_loop:run:235 - INFO - speech finished
2023-09-19 22:47:09.301 - voice - ovos_dinkum_listener.voice_loop.voice_loop:_after_cmd:640 - INFO - transcribed: what's the weather in st. Louis
2023-09-19 22:49:49.655 - voice - ovos_utils.file_utils:resolve_resource_file:153 - WARNING - Deprecation version=0.1.0. Caller=ovos_dinkum_listener.service:500. Expected a dict config and got None.
2023-09-19 22:49:54.661 - voice - ovos_dinkum_listener.voice_loop.voice_loop:run:205 - INFO - Wakeword detected
2023-09-19 22:49:54.982 - voice - ovos_dinkum_listener.voice_loop.voice_loop:run:235 - INFO - speech finished
2023-09-19 22:49:55.059 - voice - ovos_dinkum_listener.voice_loop.voice_loop:_after_cmd:640 - INFO - transcribed: what's the weather in St Louis

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Other Helpful Tasks

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions