Bug 423083

Summary: Inadequate error instructions
Product: [Applications] kdenlive Reporter: Leon Arundell <leon.arundell>
Component: DocumentationAssignee: Roger Morton <ttguy1>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Leon Arundell 2020-06-17 06:04:46 UTC
SUMMARY

When I try to import a project, I get a message to install OpenTimelineIO (which I have done) and to "check the scripts are installed in a directory listed in PATH environment variable."

It does not explain how to identify or locate a "script," how to install it in a directory listed in PATH environment variable, or in which directory it may be safely installed


STEPS TO REPRODUCE
1. From the menu, select "File > Import project"
2. Error message appears:
Could not find "otioconvert" script.
You need to install OpenTimelineIO,
through your package manager if available,
or by "pip3 install opentimelineio",
and check the scripts are installed in a directory listed in PATH environment variable

3. Install OpenTimelineIO

4. Repeat above.

4. From the menu, select Settings > Configure kdenlive > MLT environment

OBSERVED RESULT

A list of potential PATH directories

EXPECTED RESULT



SOFTWARE/OS VERSIONS
Linux Ubuntu 20.04 LTS
Comment 1 Julius Künzel 2022-01-16 20:07:07 UTC
Git commit 315e3bb3b5a7a476a6cd5b5d3f9e37556e26161c by Julius Künzel.
Committed on 16/01/2022 at 20:07.
Pushed by jlskuz into branch 'master'.

Add python interface

This adds a new python interface class that is now used by text to speech and otioconvertions. One of the main goals is to offer dependency management for otio in a the same why it is already possible for text to speech.

Other achievements are

* reduce duplicated code
* make it easier to add more python based features in the future
* more detailed error messages in some situations

M  +2    -1    data/scripts/CMakeLists.txt
A  +61   -0    data/scripts/checkpackages.py
D  +0    -23   data/scripts/checkvosk.py
A  +8    -0    data/scripts/otiointerface.py
M  +1    -0    src/CMakeLists.txt
M  +0    -2    src/core.h
M  +24   -166  src/dialogs/kdenlivesettingsdialog.cpp
M  +4    -5    src/dialogs/kdenlivesettingsdialog.h
M  +7    -55   src/dialogs/speechdialog.cpp
M  +3    -1    src/dialogs/speechdialog.h
M  +11   -52   src/dialogs/textbasededit.cpp
M  +2    -1    src/dialogs/textbasededit.h
M  +0    -8    src/kdenlivesettings.kcfg
M  +1    -1    src/mainwindow.cpp
M  +1    -1    src/mainwindow.h
A  +7    -0    src/pythoninterfaces/CMakeLists.txt
A  +260  -0    src/pythoninterfaces/abstractpythoninterface.cpp     [License: GPL(3+eV) GPL(v3.0)]
A  +70   -0    src/pythoninterfaces/abstractpythoninterface.h     [License: GPL(3+eV) GPL(v3.0)]
A  +152  -0    src/pythoninterfaces/otioconvertions.cpp     [License: GPL(3+eV) GPL(v3.0)]
R  +7    -1    src/pythoninterfaces/otioconvertions.h [from: src/utils/otioconvertions.h - 067% similarity]
A  +59   -0    src/pythoninterfaces/speechtotext.cpp     [License: GPL(3+eV) GPL(v3.0)]
A  +38   -0    src/pythoninterfaces/speechtotext.h     [License: GPL(3+eV) GPL(v3.0)]
M  +50   -47   src/ui/configspeech_ui.ui
M  +0    -1    src/utils/CMakeLists.txt
D  +0    -144  src/utils/otioconvertions.cpp

https://invent.kde.org/multimedia/kdenlive/commit/315e3bb3b5a7a476a6cd5b5d3f9e37556e26161c