https://bugs.kde.org/show_bug.cgi?id=480278
Bug ID: 480278 Summary: No more voice recognition functionalitiy Classification: Applications Product: kdenlive Version: 23.08.4 Platform: Debian stable OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Installation Assignee: j...@kdenlive.org Reporter: ludo0...@caramail.com Target Milestone: --- Created attachment 165190 --> https://bugs.kde.org/attachment.cgi?id=165190&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.