SUMMARY *** Loading saved projects results in "Could not recover corrupted file" error *** STEPS TO REPRODUCE 1. Create and save a project 2. Close kdenlive 3. Try to open project to continue work OBSERVED RESULT Project starts to open, loading clips in the project window then... Error - kdenlive Could not recover corrupted file Continuing opens kdenlive with a blank project EXPECTED RESULT kdenlive should not corrupt the file and/or Project should open or at the very least Project should give more details on where the corruption occurs in the file as it is not at the beginning of the loading process SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Ubuntu 22.04.2 LTS (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION Project folder is Parent of Project file
Thank you for reporting. Seems to be similar to Bug 469040
(In reply to emohr from comment #1) > Thank you for reporting. Seems to be similar to Bug 469040 Thanks Looks exactly the same. Funny, I didn't come across other bug reports. I guess I don't know how to filter properly. Mine has a little bit more detail if that helps. Same frustration level...I lost a project and have had to revert to another open source editing software that shall go unnamed for the time being as rolling back caused other problems.
Never change the video editor version during a project (even not on other video editors). Version 23.04.0 has a new project file version which is not backwards compatible. I just realized we don’t have mentioned that.
(In reply to emohr from comment #3) > Never change the video editor version during a project (even not on other > video editors). > > Version 23.04.0 has a new project file version which is not backwards > compatible. > > I just realized we don’t have mentioned that. Excellent advice. I think it came through the Ubuntu update. I'm going to make sure I don't confirm the update without checking the content from now on. Actually, as the version went from 22 to 23 I had a thought there might be file compatibility issues. But that wasn't the main problem. When I used the flatpak to downgrade I couldn't save without crashing. I could open the corrupted file in the older version even though it said corrupted in 23.04.0 but the timeline was empty so it wasn't helpful. Hopefully 23.04.1 fixes this. It's a really risky thing to try though. Corrupted save files means you can't trust making a project on the software.
This is the reason why we provide all Kdenlive versions ever published in the attic (https://docs.kdenlive.org/en/getting_started/installation.html). And you have always an AppImage or a Windows standalone version which you can save together with the project.
(In reply to emohr from comment #5) > This is the reason why we provide all Kdenlive versions ever published in > the attic (https://docs.kdenlive.org/en/getting_started/installation.html). > And you have always an AppImage or a Windows standalone version which you > can save together with the project. Apologies, I meant the 22.04.03 appimage, not flatpak, from the attic crashed when saving projects. The idea of saving the appimage is good though, if it worked for me. I tried flatpak installs instead of deb, and downgrading using synaptic package manager (to 21.?.?). All had issues of some sort or another. Essentially, I can't install an older version that works. I'm more interested in switching back to 23.04.? when it's working in any case.
Sorry for this poor experience . Could you please attach a .kdenlive project file that doesn't open correctly to this bug report ? Thanks
Created attachment 158514 [details] Corrupted File Here is a link to a screencast video showing the creation of this corrupted file https://youtu.be/Qfjp2bolxgM
(In reply to Jean-Baptiste Mardelle from comment #7) > Sorry for this poor experience . Could you please attach a .kdenlive project > file that doesn't open correctly to this bug report ? Thanks Hi I've attached the file and have also linked a video showing its creation. Additionlly, in the video you can see the problem described in Bug 468998 where kdenlive moves the goPro LRV files to the proxy save location. Corrupting the file required closing and opening it twice, however there was a proxy error on the first save.
Created attachment 158610 [details] Screenshot of Crash This attachment shows what KDENLive looks like when it crashes. Project Bin is populated and Loading Clips reaches 46% before the "Could not recover corrupted file" error pops up.
I'm encountering this same issue, I'm running Archlinux which is fully up to date. I am unable to open files created on the previous version of KDENLive. When opening a project file, it looks like it successfully loads all of the clips into the Project Bin, it then asks if I want to rebuild proxies (I tried deleting the cache for the project). When I click okay, it process for a moment before dying at 46% on the "Loading Clips" dialogue box. While the Project Bin is populated, the Project Timeline is completely empty.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Unfortunately an undetected regression caused major issues in Kdenlive 23.04.0, including the described errors. This should now be fixed with Kdenlive 23.04.1, you should now be able to open and recover your project files.
Confirmed that the problem appears to be resolved. Upgraded to KDENLIVE 23.04.1 and opened a file created in 22.12.3 and it opened as it should. Thank you for addressing the problem!
Created attachment 159036 [details] Missing File Issue after reloading upgraded project file
It seems to be fixed! Created a new project and opened and closed several times without errors. Opened an older project. Made a small change and saved. A backup was created due to the project format upgrade. Odd behaviour: Opened up the resaved old project and had to search for one video file recursively (?). The file hadn't been moved. Was not the first file or the last. See attachment for image of error. There seems to be an incorrect path duplication. Once file is recursively found project seems to work fine on reloads.