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

Current Transcription error when starting #299

Open
benfoley opened this issue Sep 20, 2022 · 1 comment
Open

Current Transcription error when starting #299

benfoley opened this issue Sep 20, 2022 · 1 comment
Assignees
Labels
bug Something isn't working UI Involves working on the elpis/gui front end JS codebase

Comments

@benfoley
Copy link
Contributor

Seen when starting Elpis and loading state dir which has existing state.

Traceback (most recent call last):
  File "/opt/pyenv/versions/3.8.2/lib/python3.8/site-packages/flask/app.py", line 2464, in __call__
    return self.wsgi_app(environ, start_response)
  File "/opt/pyenv/versions/3.8.2/lib/python3.8/site-packages/flask/app.py", line 2450, in wsgi_app
    response = self.handle_exception(e)
  File "/opt/pyenv/versions/3.8.2/lib/python3.8/site-packages/flask/app.py", line 1867, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/opt/pyenv/versions/3.8.2/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/opt/pyenv/versions/3.8.2/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/opt/pyenv/versions/3.8.2/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/opt/pyenv/versions/3.8.2/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/opt/pyenv/versions/3.8.2/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/opt/pyenv/versions/3.8.2/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/pyenv/versions/3.8.2/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/elpis/elpis/endpoints/transcription.py", line 38, in status
    transcription: Transcription = app.config["CURRENT_TRANSCRIPTION"]
KeyError: 'CURRENT_TRANSCRIPTION'
@benfoley benfoley self-assigned this Sep 20, 2022
@benfoley
Copy link
Contributor Author

Seems difficult to reproduce, will revisit this later

@benfoley benfoley added bug Something isn't working UI Involves working on the elpis/gui front end JS codebase labels Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UI Involves working on the elpis/gui front end JS codebase
Projects
None yet
Development

No branches or pull requests

1 participant