OpenVoiceOS / ovos-gui

ovos-core metapackage for gui daemon
Apache License 2.0
1 stars 2 forks source link

Empty pages cause empty GUI #43

Open goldyfruit opened 3 months ago

goldyfruit commented 3 months ago

When no pages are available the GUI gets empty (just the background)

Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.196 - skills - ovos_core.intent_services.commonqa_service:handle_question:155 - INFO - Searching for who is Steve Job
Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.221 - skill-ovos-wolfie.openvoiceos - DEBUG - WolframAlpha query: who is Steve Job
Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.226 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:200 - DEBUG - skill-ovos-ddg.openvoiceos is searching
Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.236 - skill-ovos-ddg.openvoiceos - DEBUG - skipping auto translation for DuckDuckGo, en-us is supported
Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.237 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:200 - DEBUG - skill-ovos-wolfie.openvoiceos is searching
Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.243 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:200 - DEBUG - skill-ovos-wikipedia.openvoiceos is searching
Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.325 - skill-ovos-wolfie.openvoiceos - DEBUG - skipping auto translation for wolfram alpha, en-us is supported
Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.375 - skills - padacioso:calc_intent:255 - DEBUG - {'entities': {'keyword': 'Steve Job'}, 'conf': 0.96, 'name': 'question'}
Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.378 - skills - skill_ovos_wikipedia:extract_keyword:61 - DEBUG - Wikipedia Keyword: Steve Job - Confidence: 0.96
Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.382 - skills - skill_ovos_wikipedia:get_data:74 - DEBUG - WikiSolver query: Steve Job
Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.791 - skills - padacioso:calc_intent:255 - DEBUG - {'entities': {'keyword': 'Steve Job'}, 'conf': 0.96, 'name': 'question'}
Aug 05 16:21:13 mark2 ovos-core[47058]: 2024-08-05 16:21:13.795 - skills - skill_ovos_ddg:match_infobox_intent:116 - DEBUG - DDG Intent: question Keyword: Steve Job - Confidence: 0.96
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.010 - skills - skill_ovos_wikipedia:get_data:97 - DEBUG - Found image: https://upload.wikimedia.org/wikipedia/commons/d/dc/Steve_Jobs_Headshot_2010-CROP_%28cropped_2%29.jpg
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.012 - skill-ovos-wikipedia.openvoiceos - INFO - Wikipedia answer: Steven Paul Jobs was an American businessman, inventor, and investor best known for co-founding the technology company Apple Inc.
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.024 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:209 - INFO - Answer from skill-ovos-wikipedia.openvoiceos
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.027 - skill-ovos-wolfie.openvoiceos - DEBUG - WolframAlpha response: Steven Paul Jobs (February 24, 1955 – October 5, 2011) was an American businessman, inventor, and investor best known for co–founding the technology giant Apple Inc.
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.030 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:216 - DEBUG - Done waiting for skill-ovos-wikipedia.openvoiceos
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.033 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:226 - DEBUG - Waiting up to 2.214053153991699s for other skills
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.044 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:209 - INFO - Answer from skill-ovos-wolfie.openvoiceos
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.047 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:216 - DEBUG - Done waiting for skill-ovos-wolfie.openvoiceos
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.049 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:226 - DEBUG - Waiting up to 2.1977813243865967s for other skills
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.185 - skill-ovos-ddg.openvoiceos - INFO - DDG answer: Steven Paul Jobs was an American businessman, inventor, and investor best known for co-founding the technology company Apple Inc.
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.200 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:209 - INFO - Answer from skill-ovos-ddg.openvoiceos
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.202 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:216 - DEBUG - Done waiting for skill-ovos-ddg.openvoiceos
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.203 - skills - ovos_core.intent_services.commonqa_service:handle_query_response:221 - DEBUG - All skills answered
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.207 - skills - ovos_core.intent_services.commonqa_service:_query_timeout:244 - INFO - Check responses with 3 replies
Aug 05 16:21:14 mark2 ovos-core[47058]: 2024-08-05 16:21:14.219 - skills - ovos_core.intent_services.commonqa_service:_query_timeout:271 - DEBUG - Tied skills: ['skill-ovos-wikipedia.openvoiceos', 'skill-ovos-wolfie.openvoiceos', 'skill-ovos-ddg.openvoiceos']
Aug 05 16:21:17 mark2 ovos-core[47058]: 2024-08-05 16:21:17.278 - skills - ovos_core.intent_services.commonqa_service:_query_timeout:282 - INFO - ReRanked score: 0.0001580840180395171 - {'phrase': 'who is Steve Job', 'skill_id': 'skill-ovos-wolfie.openvoiceos', 'answer': 'Steven Paul Jobs (February 24, 1955 – October 5, 2011) was an American businessman, inventor, and investor best known for co–founding the technology giant Apple Inc.', 'handles_speech': True, 'callback_data': {'query': 'who is Steve Job', 'answer': 'Steven Paul Jobs (February 24, 1955 – October 5, 2011) was an American businessman, inventor, and investor best known for co–founding the technology giant Apple Inc.'}, 'conf': 1.72}
Aug 05 16:21:17 mark2 ovos-core[47058]: 2024-08-05 16:21:17.284 - skills - ovos_core.intent_services.commonqa_service:_query_timeout:282 - INFO - ReRanked score: 0.00012666151451412588 - {'phrase': 'who is Steve Job', 'skill_id': 'skill-ovos-ddg.openvoiceos', 'answer': 'Steven Paul Jobs was an American businessman, inventor, and investor best known for co-founding the technology company Apple Inc.', 'handles_speech': True, 'callback_data': {'query': 'who is Steve Job', 'answer': 'Steven Paul Jobs was an American businessman, inventor, and investor best known for co-founding the technology company Apple Inc.'}, 'conf': 1.2799999999999998}
Aug 05 16:21:17 mark2 ovos-core[47058]: 2024-08-05 16:21:17.287 - skills - ovos_core.intent_services.commonqa_service:_query_timeout:287 - INFO - Handling with: skill-ovos-wolfie.openvoiceos
Aug 05 16:21:17 mark2 ovos-core[47058]: 2024-08-05 16:21:17.313 - skills - ovos_core.intent_services.commonqa_service:handle_question:178 - DEBUG - answered=True|remaining active_queries=0
Aug 05 16:21:17 mark2 ovos-core[47058]: 2024-08-05 16:21:17.320 - skills - ovos_core.intent_services:handle_utterance:370 - INFO - common_qa match: IntentMatch(intent_service='CommonQuery', intent_type=True, intent_data={}, skill_id='skill-ovos-wolfie.openvoiceos', utterance='who is Steve Job')
Aug 05 16:21:17 mark2 ovos-core[47058]: 2024-08-05 16:21:17.345 - skills - ovos_core.intent_services:handle_utterance:388 - DEBUG - intent matching took: 4.7890098094940186
Aug 05 16:21:17 mark2 ovos-core[47058]: 2024-08-05 16:21:17.423 - skills - ovos_bus_client.client.client:on_default_session_update:166 - DEBUG - synced default_session
Aug 05 16:21:17 mark2 ovos-core[47058]: 2024-08-05 16:21:17.425 - skills - ovos_bus_client.client.client:on_default_session_update:166 - DEBUG - synced default_session
Aug 05 16:21:20 mark2 ovos-core[47058]: 2024-08-05 16:21:20.265 - skills - ovos_bus_client.util.scheduler:check_state:186 - DEBUG - Call scheduled event: skill-ovos-homescreen.openvoiceos:skill-ovos-homescreen.openvoiceosupdate_dt
Aug 05 16:21:21 mark2 ovos-core[47058]: 2024-08-05 16:21:21.386 - skills - ovos_bus_client.apis.gui:_pages2uri:375 - DEBUG - Requested page not resolved to a file: None
Aug 05 16:21:21 mark2 ovos-core[47058]: 2024-08-05 16:21:21.389 - skills - ovos_bus_client.apis.gui:_pages2uri:376 - DEBUG - Resolved pages: []
Aug 05 16:21:21 mark2 ovos-core[47058]: 2024-08-05 16:21:21.391 - skills - ovos_bus_client.apis.gui:show_pages:448 - DEBUG - Updating gui data: {'wolfram_image': '/tmp/who_is_Steve_Job.gif', '__from': 'skill-ovos-wolfie.openvoiceos'}
JarbasAl commented 3 months ago

this is expected, what isnt expected is getting a empty page to begin with....

i guess this issue may be skill specific or belong in other repo (workshop?)