cPickle doesn't seem to make any difference in de-serializing a binary or text 
format: it seems to get recognized without problems, so there's no need for a 
try-except routine in opening the file, I think.
If you set "ascii" as your user preference, you can open a binary project file 
with no apparent problem (and vice-versa), and when you re-save it it will be 
saved in ascii mode.
Anyway, it seems to work, but I intended it mainly as a workaround, I'm not 
sure it doens't give problems in some occasion.
WHat I can say is that it helped me in tranfering a project folder, as I saved 
in ascii format and then edited the file to fix the paths, and it worked.
Maybe in the long run it would be more flexible to introduce an XML based 
project file format.

-- 
Project file should be a plain text file
https://bugs.launchpad.net/bugs/499733
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: New

Bug description:
The OpenShot project file should be a plain text file. It is now a binary, thus 
not human readable nor adjustable.

Advantages of using clear text:
- you can clearly see what and how things are organised
- things can be easily adjusted when something goes wrong
- you can do automated text operations with grep/sed/awk etc.

This is related (technically) to the problem where the path of the thumbnails 
of imported clips are registered in an absolute way. Moving the project file to 
another location or renaming the folder containing this project file, leads to 
not properly display of the thumbnails within the clips on the IDE. This could 
be adjusted, as a workaround, if the project file was in plain text.
https://bugs.launchpad.net/openshot/+bug/423948



_______________________________________________
Mailing list: https://launchpad.net/~openshot.developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openshot.developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to