Ubuntu 11.10 - Kdenlive 0.8.2 - Project open error: The project file contains missing clips or files and clip duration mismatch

Hi, I am a newbie to Kdenlive.

Installed Kdenlive using repository ppa:sunab/kdenlive-release.

Saved a project and then tried to open it and I get the above error.

This error is repeatable.

Ciao
Yogan

So if I understood, you created the project with Kdenlive 0.8.2, saved it and the error appears when trying to re-open it?
Did you use clips from a removable drive? Kdenlive should tell you which clips are missing, so are they really missing or not?

Hi, thanks for the response.

The clip exists on my hard-drive, in the same directory of the Project file. I have attached the clip error screen. It however does not tell much. I looked at the permissions of the files and they seem ok. Is there a more detailed log that one can look at?

Ciao

Ok, if I search recursively and point it to the correct directory. I get the following error message, before it crashes.

Can you please mail me the .kdenlive project file at: jb at kdenlive.org

Having also seen this problem with a fresh project after upgrading to 0.8.2. Also several other problems, such as clips dragged to the timeline not being properly appearing there albeit they seem to be in the timeline and are rendered as if they were there. For me, 0.8.2 is a step back compared to the svn/bleeding edge versions ten days ago.

Nevertheless: many thanks for your hard work on kdenlive!

Hi Jean-Baptiste,

I have sent the requested project file.

Thanks
Yogan

Oh, took me some time to understand, and it's a bug in Ubuntu. I reported ot here:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/887395

The problem is with the South African locale, because on Ubuntu, the system locale says the decimal separator is a dot '.' but Qt's locale definitions give a comma ','. This conflict generates the problem you see.

I am waiting for some feedback for the bug I reported to Ubuntu. As a workaround, you can force your system to use a dot as numeric separator with the following command in a terminal:

sudo update-locale LANG=en_ZA.UTF-8 LC_NUMERIC=en_US.UTF-8

After that, reboot and the problem should be fixed for new Kdenlive projects. To revert your system to the previous config, do:

sudo update-locale LANG=en_ZA.UTF-8

But this change might have unexpected consequences on some other programs, so use at your own risk.

regards
jb

Hi Jean-Baptiste,

That works. Thank you so much.

Ciao
Yogan

I can confirm the problem.

The previous version of Kdenlive produced a project file in which decimal values were totally mixed up using point and comma. For example (all from the same project file):
(property name="meta.media.0.stream.frame_rate")12,000000"(/property)
(property name="meta.media.0.codec.frame_rate")12.000000"(/property)
or even:
(kdenlivedoc profile="atsc_1080p_25" kdenliveversion="0.8" version="0,85" projectfolder="....")

(I had to exchange the brackets because otherwise the line wouldn't be displayed properly)

The old version was able to open this project file, but Kdenlive 0.8.2 complaint about missing clips as described above and crashed. None of the proposed solutions from the "Clip problem" dialog (remove selected clips, etc.) was able to solve the problem.

As I had put a lot of work in some of my videos, I took the time to search for a solution. With the hints above and the help of a text editor I was able to fix my project files, exchanging all commas in decimal values with point, so I finally managed to open my projects again.

Thanks for this great program!