← Back to team overview

openshot.developers team mailing list archive

[Bug 624850] Re: Crash when previewing OSP files from an older version of OpenShot

 

I can see that OpenShot already contains a loop to check for missing
files when a project is opened.  However, it only currently checks for
missing project files (which are displayed in the Project Files list).

I've attached a patch which also checks the transitions in the project
file, and it displays a similar warning message.

It doesn't automatically change any paths, but at least it can provide a
hint to the user before the application segfaults.

** Patch added: "Patch to warn if transition files are not available."
   https://bugs.launchpad.net/openshot/+bug/624850/+attachment/1521260/+files/check-transitions.patch

-- 
Crash when previewing OSP files from an older version of OpenShot
https://bugs.launchpad.net/bugs/624850
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:
My old OSP project files no longer work.  The application segfaults when previewing at the point it reaches certain transitions.

I have identified that the OSP files include references to paths such as '/usr/share/openshot/transitions/sand.svg' which no longer exists.  I think the paths have since changed to something like '/usr/share/pyshared/openshot/transitions'.

Could we make it so OpenShot scans these paths when the project is opened to make sure they exist?  Maybe it could then show a dialogue for resolving missing files.  I think the same dialogue would be useful for finding other missing resources, for example, in the scenario where someone has moved the folder which contains their source video.

The dialogue could offer options such as fully automatic scanning for the files, or offer the ability to point to a base path to scan.





References