Created attachment 180569 [details] Screenshot of error. When I try to open the project I'm working on I get and "invalid sequence of clips" and the window in the attached screenshot pops up. I was using Kdenlive 25.04.01 from flatpak repositories on Manjaro. The app crashed and this error started appearing. If I try to restore a backup I get the same error. I'm desperate since this is a big project.
Created attachment 180570 [details] Buggy project file
Thanks for your report and sorry for this bad experience. Did you start the project with an older version of Kdenlive ? This kind of corruption sometimes happened with the 23.12 and 24.03 and 24.05 versions but I haven't seen it in a long time. I am working on better handling this kind of issue on project opening and will get back to you soon.
Created attachment 180572 [details] Corrected project file
So there was indeed a corrupted sequence in the project. After updating the Kdenlive code to handle such cases, I was able to open your file. Keep in mind that a sequence clip was deleted - it looks like it was used in a few places. Please check my attached corrected project and let me know if this is usable. If it is, I will push my changes so that Kdenlive can do this recovery operation without crashing or closing the project file.
It did work! Thanks!
Git commit f94d4ea3c8c17c32b8ad6be5f39c9caf842d3e08 by Jean-Baptiste Mardelle. Committed on 23/04/2025 at 18:54. Pushed by mardelle into branch 'release/25.04'. Allow recovering project files with invalid sequence in bin M +6 -6 src/bin/projectitemmodel.cpp M +2 -2 src/bin/projectitemmodel.h M +11 -5 src/timeline2/model/builders/meltBuilder.cpp https://invent.kde.org/multimedia/kdenlive/-/commit/f94d4ea3c8c17c32b8ad6be5f39c9caf842d3e08
Git commit f3c2030d4e302e6b76f8a2b89d1390c6cba78e6a by Jean-Baptiste Mardelle. Committed on 25/04/2025 at 13:41. Pushed by mardelle into branch 'release/25.04'. Fix project corruption pasting sequences into another project M +3 -0 src/bin/bin.cpp M +1 -1 src/bin/projectclip.cpp M +6 -1 src/bin/projectitemmodel.cpp M +8 -2 src/mltcontroller/clipcontroller.cpp M +1 -1 src/mltcontroller/clipcontroller.h M +62 -0 src/project/projectmanager.cpp M +1 -0 src/project/projectmanager.h M +2 -1 src/timeline2/model/builders/meltBuilder.cpp M +141 -27 src/timeline2/model/timelinefunctions.cpp https://invent.kde.org/multimedia/kdenlive/-/commit/f3c2030d4e302e6b76f8a2b89d1390c6cba78e6a