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

[BUG] Error when activating Debug recording #64

Closed
DenisMartin0 opened this issue Jan 1, 2024 · 2 comments
Closed

[BUG] Error when activating Debug recording #64

DenisMartin0 opened this issue Jan 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@DenisMartin0
Copy link

When activating the "Debug Recording" option (see below), it generate an error when starting a recording session.

image

image

Error log is:
2024-01-01 20:35:11.178 | ERROR | record.py:944 [Thread-28 (record_session)] - TypedDict does not support instance and class checks
Traceback (most recent call last):
File "D:\Codes_Projects\Python\Speech-Translate\speech_translate\utils\audio\record.py", line 860, in record_session
File "D:\Codes_Projects\Python\Speech-Translate\speech_translate\utils\whisper\helper.py", line 57, in stablets_verbose_log
File "C:\Users\PC.pyenv\pyenv-win\versions\3.11.6\Lib\typing.py", line 3010, in subclasscheck
TypeError: TypedDict does not support instance and class checks

It seems that it comes from a call to isinstance in helper.py
record.py
image

helper.py
image

@DenisMartin0 DenisMartin0 added the bug Something isn't working label Jan 1, 2024
@DenisMartin0 DenisMartin0 changed the title [BUG] [BUG] Error when activating Debug recording Jan 1, 2024
Dadangdut33 added a commit that referenced this issue Jan 2, 2024
@Dadangdut33
Copy link
Owner

got it thanks for the bug report

@Dadangdut33
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants