flowblade
flowblade copied to clipboard
MLT not found, exiting...
Please include the following information.
- Flowblade version (Help->About): 2.8.0.3
- MLT version (Help->Runtime Environment): 7.0.1
- Your distribution (Ubuntu, Debian, Mint etc.): Pisi GNU/Linux
In Debian testing/unstable python3-mlt, the import module is mlt7:
# dpkg -L python3-mlt
/.
/usr
/usr/lib
/usr/lib/python3
/usr/lib/python3/dist-packages
/usr/lib/python3/dist-packages/_mlt7.cpython-39-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/mlt7.py
/usr/share
/usr/share/doc
/usr/share/doc/python3-mlt
/usr/share/doc/python3-mlt/changelog.Debian.gz
/usr/share/doc/python3-mlt/copyright
As quick fix I changed all files with:
sudo find /usr/share/flowblade/ -type f -name "*.py" -exec sed -i 's/import mlt$/import mlt7 as mlt/g' {} +
sudo sed -i 's/import mlt$/import mlt7 as mlt/g' /usr/bin/flowblade
Ok. I'll try to set up VM for Debian maybe next week to take look at this.
@jliljebl I don't think this is your problem, unless upstream mlt really calls their mlt mlt7 from version 7 on. if so you'll need to add the fix, otherwise i have to in just the packaging.
In Debian testing/unstable python3-mlt, the import module is mlt7:
# dpkg -L python3-mlt /. /usr /usr/lib /usr/lib/python3 /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages/_mlt7.cpython-39-x86_64-linux-gnu.so /usr/lib/python3/dist-packages/mlt7.py /usr/share /usr/share/doc /usr/share/doc/python3-mlt /usr/share/doc/python3-mlt/changelog.Debian.gz /usr/share/doc/python3-mlt/copyright
As quick fix I changed all files with:
sudo find /usr/share/flowblade/ -type f -name "*.py" -exec sed -i 's/import mlt$/import mlt7 as mlt/g' {} + sudo sed -i 's/import mlt$/import mlt7 as mlt/g' /usr/bin/flowblade
Thank you, sudo find /usr/share/flowblade/ -type f -name "*.py" -exec sed -i 's/import mlt$/import mlt7 as mlt/g' {} + sudo sed -i 's/import mlt$/import mlt7 as mlt/g' /usr/bin/flowblade When we compiled the commands after making them suitable for our system, the problem was solved.
We need to get both 'import mlt' and 'import mlt7 as mlt' since we cannot know what is being presented to us.
sed -i 's/import mlt$/import mlt7 as mlt/' flowblade
sed -i 's/import mlt$/import mlt7 as mlt/' Flowblade/*py
sed -i 's/import mlt$/import mlt7 as mlt/' Flowblade/tools/*py
Fixed the problem
Ok, this is the mlt -> mlt7 related issue that has been fixed.
Thank you I will update RPMFusion packages soon , add see if now is eligible for Fedora