Closed JarbasAl closed 1 year ago
This is not the error I get with wikipedia. I get
2023-03-30 07:50:36.580 - skills - mycroft.skills.intent_services.commonqa_service:handle_question:119 - INFO - Searching for ask wikipedia about elon musk
2023-03-30 07:50:36.847 - skills - ovos_workshop.skills.base:_on_event_error:1230 - ERROR - not enough values to unpack (expected 4, got 2)
Traceback (most recent call last):
File "/home/ovos/.local/lib/python3.10/site-packages/ovos_utils/messagebus.py", line 351, in wrapper
handler(message)
File "/home/ovos/.local/lib/python3.10/site-packages/mycroft/skills/common_query_skill.py", line 106, in __handle_question_query
result = self.CQS_match_query_phrase(search_phrase)
File "/home/ovos/.local/lib/python3.10/site-packages/skill_ovos_wikipedia/__init__.py", line 94, in CQS_match_query_phrase
summary = self.ask_the_wiki(utt)
File "/home/ovos/.local/lib/python3.10/site-packages/skill_ovos_wikipedia/__init__.py", line 113, in ask_the_wiki
self.results = self.wiki.long_answer(query, lang=self.lang)
File "/usr/lib/python3.10/site-packages/neon_solvers/solver.py", line 195, in long_answer
steps = self.get_expanded_answer(query, context)
File "/home/ovos/.local/lib/python3.10/site-packages/neon_solver_wikipedia_plugin/__init__.py", line 129, in get_expanded_answer
data = self.get_data(query, context)
File "/home/ovos/.local/lib/python3.10/site-packages/neon_solver_wikipedia_plugin/__init__.py", line 95, in get_data
"short_answer": wikipedia_for_humans.tldr(query, lang=lang),
File "/home/ovos/.local/lib/python3.10/site-packages/wikipedia_for_humans/__init__.py", line 397, in tldr
return short_answer(query, lang)
File "/home/ovos/.local/lib/python3.10/site-packages/wikipedia_for_humans/__init__.py", line 356, in short_answer
answer = summary(query, lang)
File "/home/ovos/.local/lib/python3.10/site-packages/wikipedia_for_humans/__init__.py", line 346, in summary
results = search_wikipedia(query, limit=1)
File "/home/ovos/.local/lib/python3.10/site-packages/wikipedia_for_humans/__init__.py", line 130, in search_wikipedia
_, results, _, urls = r.json()
ValueError: not enough values to unpack (expected 4, got 2)
2023-03-30 07:50:47.628 - skills - mycroft.skills.intent_services.commonqa_service:_query_timeout:173 - INFO - Timeout occurred check responses