mmattDonk / AI-TTS-Donations

🦆💰 A bot that uses Uberduck (and FakeYou) AI to make bit donations have an AI voice.
https://staging.solrock.mmattDonk.com
GNU Affero General Public License v3.0
82 stars 16 forks source link

KeyError: 'state' #244

Closed sentry-io[bot] closed 2 years ago

sentry-io[bot] commented 2 years ago

Sentry Issue: AI-TTS-DONATIONS-1Q

KeyError: 'state'
  File "threading.py", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "bot.py", line 679, in test_tts
    request_tts(message=message, failed=False)
  File "bot.py", line 372, in request_tts
    check_tts_response: dict = tts_provider.check_tts(job_response["uuid"])
  File "~\ai-tts-donations\API\fakeyou.py", line 74, in check_tts
    if response.json()["state"]["status"] == "attempt_failed":
mmattbtw commented 2 years ago

closing in favor for v5