| Summary: | No more voice recognition functionality | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | ludo0565 <ludo0565> |
| Component: | Setup & Installation | Assignee: | Jean-Baptiste Mardelle <jb> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 23.08.4 | ||
| Target Milestone: | --- | ||
| Platform: | Debian stable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Screenshot situation in kdenlive-23.08.4-x86_64-A.AppImage | ||
I found this notice: Kdenlive 24.02.0 RC ready for testing And apparently this latest release candidate solves my problem: ludo0565 13m Hello everyone, Well, looking for solutions, I found the light of day at the end of the tunnel! Wondering why I had noticed nothing new for a while here, I decided to look closer. I found this notice: Kdenlive 24.02.0 RC ready for testing And apparently this latest release candidate solves my problem: I just had to make a copy of the already installed and standing "python_virtual_env" directory right where kdenlive settings were telling they're expecting it, renaming it as shown - and there it went: kdenlive found it, and all is ready for use, just like I knew it! A first test gave a speeech recognition as I knew it from previous versions. I consider this bug as solved. |
Created attachment 165190 [details] Screenshot situation in kdenlive-23.08.4-x86_64-A.AppImage On Debian 12 Bookworm: In both kdenlive-22.12.2-x86_64.AppImage and kdenlive-23.08.4-x86_64-A.AppImage , the configuration procedure for voice recognition does not come to terms with the presence of a Python virtual environment installed in the /home/user directory. In Kdenlive configuration, Voice recognition, as kdenlive does not immediately "find" vosk and SRT, when you want to "install the missing dependencies", it says : Message---------------------- error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.11/README.venv for more information. note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. Traceback (most recent call last): File "/tmp/.mount_kdenliTTA4Vt/usr/share/kdenlive/scripts/checkpackages.py", line 50, in <module> subprocess.check_call([python, '-m', 'pip', 'install', *missing], stdout=subprocess.DEVNULL) File "/usr/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', 'install', 'vosk', 'srt']' returned non-zero exit status 1. End message---------------------- which the user of Debian 12 first gets to read when he wants to install a non-Debian-packed python package. But all goes well when the above instructions are followed and a virtual python environment is set up in the /home/user directory. I managed to get vosk to work - but not in any of the above two versions of kdenlive. I tend to think a procedure should be put in place that allows the user to indicate the path up to his or her vosk and srt programmes. Thank you very much for your attention and great work to make this a fantastic program. STEPS TO REPRODUCE 1. Go to Kdenlive "Configuration", go to "Voice recognition", look for "vosk" and "srt", they have not been found by the system 2. Press "check configuration", "vosk" and "srt", still not found, 3. Press "install missing dependencies", still no installation, instead message as above OBSERVED RESULT vosk and srt are not found nor installed. EXPECTED RESULT vosk and srt should be found, or a way should be created for the user to indicate the path up to his vosk and srt programmes. SOFTWARE/OS VERSIONS GNU-Linux Debian 12 ADDITIONAL INFORMATION