Bug 476634 - Error moving project folder
Summary: Error moving project folder
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: git-master
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-06 18:56 UTC by Andy
Modified: 2024-06-09 08:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2023-11-06 18:56:11 UTC
Hy

I don’t know if I do something wrong but here is my workflow:
I use kdenlive on windows, the latest version.

I like to have all cachefiles like proxy etc in a subfolder of my project folder.
So I make a new kdenlive project set the option “Project Folder” to “Parent folder of the project file”.
Then I add the first clip and save the project on the disk. I get the question if I like to move the cachefile folder to my project folder so I accept but then I get this error:
"Error moving project folder: "

What am I missing?

Andy
Comment 1 Andy 2023-11-07 13:07:20 UTC
Ok I found the problem.
It only appears when my Project file is saved on another disk then where kdenlive is running from. So kdenlive is installed on my C drive. But I got all my projects on the D drive or even on a Network attached storage. When I try to move the cache files by kdenlive to an external drive (D or network storage) it fails.
However when I move it within the C drive it does work
Comment 2 emohr 2023-11-10 18:34:40 UTC
Thank you for reporting. I can confirm the issue. It seems to be a KIO library issue. 

Workaround: Only for new projects. In Settings -> Configure Kdenlive -> Project Defaults -> Custom project folder: Drive and folder you like to have the project. 
Restart Kdenlive. 
Start editing and have the project in the same folder as you have defined above.
Comment 3 Andy 2023-11-11 08:35:44 UTC
thx and the workaround would work but I'm working on different machines with different paths to the same project therefore "Parent folder of the project file” would be the only solution. But I can wait till the fix is available thx anyway!
Comment 4 Kirby 2023-12-05 22:30:15 UTC
I also have this problem (on windows 10) and I wanted to add that the workaround doesn't work for me, I'll explain:

I want to create a new project in a specific folder (i.e. Parent folder of the project file) because that's the only way I have found that I can have the capture folder to be the same as the project folder (I do a lot of overdubbing, and I don't want to have all the audio captures mixed up in the same folder). What I've tried:

-Moving the folder after using the "default" folder (doesn't work because I can't move from C: to D:)
-Creating the project with "custom project folder" on D:, then moving it to a specific folder in D: (capture folder stays in the original custom folder on D:, not in the moved one).
-Creating the project with "custom project folder", then on the create menu change that folder to D:/correctfolder (capture folder stays in the original custom folder I have on environment settings).
-Choosing "parent folder of project file", which makes the environment option show "always use active project folder" (but then when I save the file on D: it tries to move it from C:, which fails).

If there's a workaround for this, I would love to know, else, I hope this can be fixed soon.

Thank you!
Comment 5 ericswpark 2024-06-09 08:43:28 UTC
I've found a workaround for this bug. I'll assume that the project is under D:\Projects\Project-A, and Kdenlive is installed to C:.

1. (optional) Go to Project Settings -> Cache Data and delete all cached files for a faster transfer. Cache files can always be regenerated.
2. Save the project and close Kdenlive.
3. Create a temporary folder in C:, something like C:\Users\username\Projects\Project-A-temp
4. Copy the .kdenlive project file from your project folder in D: to the temporary folder you just created in C:.
5. Open the project file.
6. Cancel any automatically created pending tasks, then head on over to Project Settings.
7. Change the Project folder option.
8. Kdenlive will reload the project after warning you. Make sure the project file is saved at this point.
9. Close Kdenlive again.
10. Move the Kdenlive project file back to the D: drive, from the temporary folder in the C: drive.
11. Open the Kdenlive project file again.
12. (optional) If you followed 1, re-generate any cache and proxy clips.
Comment 6 ericswpark 2024-06-09 08:44:35 UTC
(In reply to ericswpark from comment #5)
> I've found a workaround for this bug. I'll assume that the project is under
> D:\Projects\Project-A, and Kdenlive is installed to C:.
> 
> 1. (optional) Go to Project Settings -> Cache Data and delete all cached
> files for a faster transfer. Cache files can always be regenerated.
> 2. Save the project and close Kdenlive.
> 3. Create a temporary folder in C:, something like
> C:\Users\username\Projects\Project-A-temp
> 4. Copy the .kdenlive project file from your project folder in D: to the
> temporary folder you just created in C:.
> 5. Open the project file.
> 6. Cancel any automatically created pending tasks, then head on over to
> Project Settings.
> 7. Change the Project folder option.
> 8. Kdenlive will reload the project after warning you. Make sure the project
> file is saved at this point.
> 9. Close Kdenlive again.
> 10. Move the Kdenlive project file back to the D: drive, from the temporary
> folder in the C: drive.
> 11. Open the Kdenlive project file again.
> 12. (optional) If you followed 1, re-generate any cache and proxy clips.

Forgot to mention: in step 10, you must also move the `cachefiles` folder alongside the Kdenlive project file.