Web query gives Error, Correct Answer and then 'Weather'

Saying, “Hey MyCroft”… “What is the factorial of 5?” (any number, but lower numbers take less time) gives odd results. Results are…

Error in DuckDuckGo Skill
The factorial of 5 is 120
Today's weather is.....

I wanted to report this as I saw where the main skills are getting a work over for the Mark II and thought this might be a good test to run as well.

1 Like

Here are the log entries for the above request…

2021-05-15 02:52:47.610 | INFO     |   792 | QuestionsAnswersSkill | Searching for what's the factorial of 5
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
2021-05-15 02:52:48.290 | ERROR    |   792 | mycroft.skills.mycroft_skill.mycroft_skill:on_error:835 | An error o$
2021-05-15 02:52:47.610 | INFO     |   792 | QuestionsAnswersSkill | Searching $
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
2021-05-15 02:52:48.290 | ERROR    |   792 | mycroft.skills.mycroft_skill.mycro$
Traceback (most recent call last):
  File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/mycroft/skills/mycr$
    handler(message)
  File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/mycroft/skills/comm$
    result = self.CQS_match_query_phrase(search_phrase)
  File "/opt/mycroft/skills/mycroft-fallback-duck-duck-go.mycroftai/__init__.py$
    answer = self.respond(query[len(test):])
  File "/opt/mycroft/skills/mycroft-fallback-duck-duck-go.mycroftai/__init__.py$
    r = ddg.query(query)
Traceback (most recent call last):
  File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/mycroft/skills/mycroft_skill/event_container.py", lin$
    handler(message)
  File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/mycroft/skills/common_query_skill.py", line 76, in __$
    result = self.CQS_match_query_phrase(search_phrase)
File "/opt/mycroft/skills/mycroft-fallback-duck-duck-go.mycroftai/__init__.py", line 133, in CQS_match_query_ph$
    answer = self.respond(query[len(test):])
  File "/opt/mycroft/skills/mycroft-fallback-duck-duck-go.mycroftai/__init__.py", line 109, in respond
    r = ddg.query(query)
  File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/ddg3.py", line 29, in query
    xml = ElementTree.fromstring(response)
  File "/opt/python/lib/python3.7/xml/etree/ElementTree.py", line 1315, in XML
    parser.feed(text)
  File "<string>", line None
xml.etree.ElementTree.ParseError: mismatched tag: line 45, column 2
5 factorial is 120
2021-05-15 02:52:49.031 | INFO     |   792 | QuestionsAnswersSkill | Answer from fallback-wolfram-alpha.mycroftai
Removing event fallback-query.mycroftai:QuestionQueryTimeout
2021-05-15 02:52:49.031 | INFO     |   792 | QuestionsAnswersSkill | Answer from fallback-wolfram-alpha.mycroftai
Removing event fallback-query.mycroftai:QuestionQueryTimeout
2021-05-15 02:52:57.155 | INFO     |   792 | QuestionsAnswersSkill | Timeout occured check responses
2021-05-15 02:52:57.162 | INFO     |   792 | QuestionsAnswersSkill | Handling with: fallback-wolfram-alpha.mycrof$
2021-05-15 02:52:57.204 | INFO     |   792 | WolframAlphaSkill | Setting information for source
2021-05-15 02:52:59.148 | WARNING  |   792 | WeatherSkill | No temperature available (ValueError('Invalid value f$
2021-05-15 02:52:59.149 | WARNING  |   792 | WeatherSkill | No temperature available (ValueError('Invalid value f$
2021-05-15 02:52:59.149 | WARNING  |   792 | WeatherSkill | No temperature available (ValueError('Invalid value f$