vscode
vscode copied to clipboard
"VS Code Speech" Extension Crashes on Activation
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version:
- OS Version:
Bugreport: "VS Code Speech" Extension Crashes on Activation
Description
The "VS Code Speech" extension for VS Code crashes as soon as it is activated. The crash occurs during the speech-to-text session after recognizing the keyword "Hey Code".
Steps to Reproduce
- Activate the "VS Code Speech" extension.
- Start a keyword-recognition session.
- Say the keyword "Hey Code".
- The speech-to-text session starts and then crashes with an error code 0x8 (SPXERR_FILE_OPEN_FAILED).
Expected Behavior
The extension should recognize the keyword and execute the speech-to-text functionality without errors.
Actual Behavior
The extension recognizes the keyword, attempts to start the speech-to-text session, and then crashes with the error code 0x8 (SPXERR_FILE_OPEN_FAILED).
Environment
- Hardware Model: ASUSTeK Computer INC. SABERTOOTH P67
- Memory: 8.0 GiB
- Processor: Intelยฎ Coreโข i7-2600K ร 8
- Graphics: NVIDIA GeForce GTX 1060 6GB
- Operating System: Ubuntu 24.04 LTS
- GNOME Version: 46
- Window Manager: X11
- Kernel Version: Linux 6.8.0-35-generic
Extension Version
- VS Code Speech Version: 0.10.0
- Speech Language Pack Version: de-de-0.4.0
Error Log
2024-06-25 16:51:19.561 [trace] [vscode-speech-0] starting keyword-recognition session
2024-06-25 16:51:34.672 [trace] [vscode-speech-0] keyword recognized: Hey Code
2024-06-25 16:51:34.675 [trace] [vscode-speech-0] aborting keyword-recognition session
2024-06-25 16:51:34.753 [trace] [vscode-speech-1] starting keyword-recognition session
2024-06-25 16:51:34.754 [trace] [vscode-speech-2] starting speech-to-text session (language: de-DE, model: Microsoft Speech Recognizer de-DE FP Model V2, path: /home/sascha/.vscode/extensions/ms-vscode.vscode-speech-language-pack-de-de-0.4.0/assets/stt)
2024-06-25 16:51:34.808 [error] [vscode-speech-2] speech-to-text error: Exception with an error code: 0x8 (SPXERR_FILE_OPEN_FAILED)
[CALL STACK BEGIN]
...
[CALL STACK END]
2024-06-25 16:51:34.809 [trace] [vscode-speech-2] disposed speech-to-text session
2024-06-25 16:51:41.858 [trace] [vscode-speech-2] aborting speech-to-text session
Directory Structure and Permissions
/home/sascha/.vscode/extensions/ms-vscode.vscode-speech-language-pack-de-de-0.4.0/assets/stt
.
โโโ ciphone.list
โโโ config.yaml
โโโ decoder.quantuint8.onnx
โโโ de-de_explicitPuncRules.txt
โโโ de-de_ProfanityList.enc
โโโ encoder.quantint8.onnx
โโโ joint.quantuint8.onnx
โโโ lid.quants8u8.onnx
โโโ lp.config
โโโ model_onnx_quant.config
โโโ model_sentence
โโโ model_word
โโโ prongen
โ โโโ grph1031.lxa
โ โโโ l1031.phn
โ โโโ lsr1031.lxa
โ โโโ tn1031.bin
โโโ sr.ini
โโโ svad.quantized.onnx
โโโ tokens.list
โโโ version.txt
Permissions
drwxrwxr-x 3 sascha sascha 4096 Jun 25 16:46 speechmodel.de-DE.cpu.2.0.40100365
Additional Information
I have verified that all files in the directory /home/sascha/.vscode/extensions/ms-vscode.vscode-speech-language-pack-de-de-0.4.0/assets/stt are present and readable.
Steps Taken
- Reinstalled the extension to ensure all files are correctly installed.
- Verified file permissions to ensure no access issues.
- The problem persists after these steps.
Request for Assistance
Could you please help resolve this issue? Any guidance or fixes would be greatly appreciated.
Thank you!
Best regards, [Sascha]
Hello dear development team,
I hope this message finds you well. I wanted to follow up on the status of my previously submitted bug report. Since I haven't received any feedback yet, I wanted to ensure that the report has not been overlooked.
Does it work when the language is english and not german in settings?
No, that makes no difference. I have tried all sorts of variations. It's probably not because of the German language package.
Benjamin Pasero @.***> schrieb am Sa. 29. Juni 2024 um 08:12:
Does it work when the language is english and not german in settings?
โ Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/218202#issuecomment-2197999636, or unsubscribe https://github.com/notifications/unsubscribe-auth/BILO2SESQGMQFMNNLFTTZSDZJZF4XAVCNFSM6AAAAABJ4PZQKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXHE4TSNRTGY . You are receiving this because you authored the thread.Message ID: @.***>
How about the latest version of the speech extension?
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!