dictation-toolbox / Caster

Dragonfly-Based Voice Programming and Accessibility Toolkit
Other
336 stars 122 forks source link

HUD doesn't load on computer startup. #920

Open termx88 opened 2 years ago

termx88 commented 2 years ago

Describe the bug When automatically running Caster on computer startup. The HUD fails to connect. It's most likely, because the HUD's GUI doesn't load quickly enough on startup. Manually loading it a bit after startup loads it up fine. As does closing Caster and the HUD and restarting.

To Reproduce

  1. Make Caster run on startup (on windows one way to do that, is adding a link to Run_Caster_Kaldi.bat into %AppData%\Microsoft\Windows\Start Menu\Programs\Startup)
  2. Boot / Reboot computer
  3. Get error

Hud not available. [WinError 10061] No connection could be made because the target machine actively refused it

Expected behavior HUD loads on startup without having to restart caster or delaying starting Caster.

System: