jliljebl / flowblade

Video Editor for Linux
GNU General Public License v3.0
2.65k stars 180 forks source link

opening flb and autosave files not working #1038

Closed masc-git closed 1 year ago

masc-git commented 2 years ago

1) Flowblade version (Help->About): 2.8.0.3-3

2) MLT version (Help->Runtime Environment): 7.4.0

3) Your distribution (Ubuntu, Debian, Mint etc.): debian bookworm/sid

4) If possible, try to provide step-by-step instructions on how to reproduce the issue. From developer point of view this is the easieast way to understand what is happening.:

the opening of older (3-5 month) .flb files and autosave-files does not work, the window 'loading project' is endles looping at 'Unpickling' and never finishes. when starting flowblade from a terminal the following error is printed:

~:$ GDK_BACKEND=x11 flowblade FLOWBLADE MOVIE EDITOR 2.8

Launch script dir: /usr/bin Running from installation... modules path: /usr/share/flowblade/Flowblade MLT found, version: 7.4.0 numpy version: 1.21.5 Application version: 2.8.0 OS: Debian GNU/Linux bookworm/sid Python 3.9.9 (main, Dec 16 2021, 23:13:29) [GCC 11.2.0] GTK+ version: 3.24.31 XDG user data exists. Locale: de_AT Translations at /usr/share/locale were not found, using program root directory translations. Use OS locale language. Valid shortcut files found: ['flowblade.xml', 'premiere.xml'] Keyboard shortcuts file: flowblade.xml Gtk version is 3.24.31, Flowblade theme is available. Using Full Screen size for layout: 1920 x 1080 Small height: False Small width: False Detecting environment...

video_codecs:

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/usr/share/flowblade/Flowblade/projectaction.py", line 132, in run project = persistance.load_project(self.filename) File "/usr/share/flowblade/Flowblade/persistance.py", line 388, in load_project project = utils.unpickle(file_path) File "/usr/share/flowblade/Flowblade/utils.py", line 729, in unpickle return pickle.load(f, encoding='latin1') ModuleNotFoundError: No module named 'mlt'

ratherlargerobot commented 2 years ago

It looks like the root cause of this problem is that it's trying to load the "mlt" module, which is not found. You mention that you have MLT 7 installed. I believe there was a fix in more recent versions of the code to work around this by importing the "mlt7" Python module as "mlt".

I'm not the lead developer, and I'm not entirely sure how to fix this offhand with the currently installed program. I think it's likely that if you had the "mlt" module from MLT 6 installed, or had a more recent version of Flowblade installed, that it might work.

jliljebl commented 1 year ago

Fixed in repo and upcoming release 2.10.