OpenVoiceOS / ovos-gui

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

You must execute run_forever() before emitting messages #30

Closed goldyfruit closed 1 year ago

goldyfruit commented 1 year ago

The service doesn't stay up anymore.

2023-09-29 10:07:10.463 - gui - ovos_gui.__main__:main:26 - DEBUG - GUI websocket created
2023-09-29 10:07:10.480 - gui - ovos_bus_client.conf:load_message_bus_config:28 - DEBUG - Loading message bus configs
2023-09-29 10:07:10.482 - gui - ovos_gui.bus:create_gui_service:60 - INFO - Starting message bus for GUI...
2023-09-29 10:07:10.486 - gui - ovos_gui.bus:create_gui_service:72 - INFO - GUI Message bus started!
2023-09-29 10:07:10.487 - gui - ovos_gui.namespace:_get_idle_display_config:99 - INFO - Got idle_display_skill from config: skill-ovos-homescreen.openvoiceos
2023-09-29 10:07:10.487 - gui - ovos_gui.namespace:_get_active_gui_extension:111 - INFO - Got extension from config: ovos-gui-plugin-shell-companion
2023-09-29 10:07:10.492 - gui - ovos_gui.namespace:_upload_system_resources:1012 - DEBUG - Copied system resources to /home/ovos/.cache/ovos_gui_file_server
2023-09-29 10:07:10.494 - gui - ovos_bus_client.session:from_message:508 - DEBUG - Creating default session on reference
2023-09-29 10:07:10.495 - gui - ovos_bus_client.session:reset_default_session:549 - INFO - New Default Session Start: 03dce365-c452-4f7d-b8fd-780b0e9c72bb
2023-09-29 10:07:20.496 - gui - ovos_gui.__main__:on_error:18 - ERROR - GUI websocket failed: ValueError('You must execute run_forever() before emitting messages')
NeonDaniel commented 1 year ago

Interesting; I thought the bus was already running before init here. I'll take a look as this is probably caused by #29