Skip to content

[Bug] API Key Window will not open #73

@mpagels

Description

@mpagels

Steps to reproduce

I tried to set the OpenAI API Key and clicked the Set OpenAI API Key Button, but nothing happens

  • Windows 10
  • audiotext v.2.3.
  • german transcription is selected
  • file as audio source is selected
  • whisper API as method is selected

Error message:

Traceback (most recent call last):
  File "handlers\audio_handler.py", line 124, in process_audio_chunks
  File "handlers\openai_api_handler.py", line 23, in transcribe
  File "utils\env_keys.py", line 26, in get_value
OSError: Environment variable OPENAI_API_KEY not set and no default value provided.

Expected behaviour

That the API Setting Window is shown, like in the readme.

Actual behaviour

I click the button, nothing happens.

Traceback (most recent call last):
  File "handlers\audio_handler.py", line 124, in process_audio_chunks
  File "handlers\openai_api_handler.py", line 23, in transcribe
  File "utils\env_keys.py", line 26, in get_value
OSError: Environment variable OPENAI_API_KEY not set and no default value provided.

System information

(Delete all statements that don't apply.)

  • System: "Windows 10x64
  • System language: German
  • Audiotext version: 2.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions