Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

threads can only be started once #50

Closed
goldyfruit opened this issue Jan 20, 2024 · 1 comment · Fixed by OpenVoiceOS/ovos-plugin-manager#219
Closed

threads can only be started once #50

goldyfruit opened this issue Jan 20, 2024 · 1 comment · Fixed by OpenVoiceOS/ovos-plugin-manager#219

Comments

@goldyfruit
Copy link
Member

2024-01-20 16:48:46.792 - audio - ovos_plugin_manager.tts:create:209 - INFO - Loaded plugin amazon
2024-01-20 16:48:46.794 - audio - ovos_config.config:_on_file_change:321 - ERROR - Error in config update callback handler
Traceback (most recent call last):
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_config/config.py", line 319, in _on_file_change
    handler()
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_audio/service.py", line 314, in _maybe_reload_tts
    self.tts.init(self.bus, self.playback_thread)
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_manager/templates/tts.py", line 325, in init
    self._init_playback(playback)
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_plugin_manager/templates/tts.py", line 336, in _init_playback
    TTS.playback.start()
  File "/usr/lib/python3.11/threading.py", line 952, in start
    raise RuntimeError("threads can only be started once")
RuntimeError: threads can only be started once
@goldyfruit
Copy link
Member Author

@Joergz got the same as well this morning.

2024-01-26 15:37:25.688 - audio - ovos_config.config:_on_file_change:315 - INFO - /home/pi/.config/mycroft/mycroft.conf changed on disk
2024-01-26 15:37:25.692 - audio - ovos_audio.service:_maybe_reload_tts:312 - INFO - (re)loading TTS engine
2024-01-26 15:37:25.742 - audio - ovos_plugin_manager.tts:create:205 - INFO - Found plugin ovos-tts-plugin-server
2024-01-26 15:37:25.877 - audio - ovos_plugin_manager.tts:create:209 - INFO - Loaded plugin ovos-tts-plugin-server
2024-01-26 15:37:25.879 - audio - ovos_config.config:_on_file_change:321 - ERROR - Error in config update callback handler
Traceback (most recent call last):
  File "/home/pi/.venvs/ovos/lib/python3.11/site-packages/ovos_config/config.py", line 319, in _on_file_change
    handler()
  File "/home/pi/.venvs/ovos/lib/python3.11/site-packages/ovos_audio/service.py", line 314, in _maybe_reload_tts
    self.tts.init(self.bus, self.playback_thread)
  File "/home/pi/.venvs/ovos/lib/python3.11/site-packages/ovos_plugin_manager/templates/tts.py", line 326, in init
    self._init_playback(playback)
  File "/home/pi/.venvs/ovos/lib/python3.11/site-packages/ovos_plugin_manager/templates/tts.py", line 337, in _init_playback
    TTS.playback.start()
  File "/usr/lib/python3.11/threading.py", line 952, in start
    raise RuntimeError("threads can only be started once")
RuntimeError: threads can only be started once

JarbasAl added a commit to OpenVoiceOS/ovos-plugin-manager that referenced this issue Apr 17, 2024
JarbasAl added a commit to OpenVoiceOS/ovos-plugin-manager that referenced this issue Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant