Bug 405784 - Cannot reopen project when videos are in same folder as project.
Summary: Cannot reopen project when videos are in same folder as project.
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-23 15:08 UTC by michael
Modified: 2021-02-28 10:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:
fritzibaby: timeline_corruption+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael 2019-03-23 15:08:15 UTC
STEPS TO REPRODUCE
1. Open kdenlive, import a video 
2. Save the project in exactly the same folder as where the video is
3. Close kdenlive.
4. Reopen kdenlive and load the project.

OBSERVED RESULT
The videos are not loaded correctly (invalid video)

EXPECTED RESULT
Videos should be correctly loaded

WHAT I FOUND OUT SO FAR:
It appears that when saving the project in the same folder as the video, kdenlive will not use the absolute path of the video but the relative path. Then it fails finding these videos with relative paths when reopening the project.

I tested this on Ubuntu 18.10 and Fedora 29 with the AppImage packages (stable and refactoring), as well as with the native Ubuntu package. Result is always the same. 

As soon, as I store the project in another folder as where the videos are, everything is fine (project-file uses now absolute paths).
Comment 1 emohr 2019-03-24 18:44:22 UTC
Tested as you descript (source footage and Kdenlive-file in same folder) with the refactoring version (Windows, AppImage). It loads the complete project. 

With which version do you work? 

Is this a Fedora issue?
Comment 2 michael 2019-03-24 20:19:53 UTC
Thanks for testing. 
I also tested with Ubuntu, completely new installation. AppImages of refactoring as well as stable version. Also the version from the ubuntu repositories. All show the same result.

HOWEVER, I took the time and tested on another computer! Here it works fine!!! It is also Ubuntu 18.10, but other Desktop (budgie instead of gnome). So, I am sorry, that this is not really reproducable :-(. 

For completeness, I added again a description of the problem, but note, that even I cannot produce it on other computers! 

I opened the project file with an editor and when I store the project in the same folder as the video, the project file refers to the plain file name of the video (no prepended path).

When saving the project at another place and then open the project file, I can see the absolute path of the video there. 

First case fails to reopen. Actually it opens and shows the video still there, but it won't play. When trying to reload the video I get the message, that the video is invalid and it will be removed ...
Comment 3 farid 2021-02-28 00:57:10 UTC
Hi 

Can you please try with latest appimage and see if you can reproduce the issue? Otherwise please close it.
Comment 4 michael 2021-02-28 10:15:23 UTC
sorry, that I cannot test this anymore, since I don't have the computer with the issue available anymore. So I will close it. thanks for asking!