Skip to content

Cannot open project file created with Openshot 2.4.4 on Debian 10 #3242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cometchaserde opened this issue Feb 23, 2020 · 13 comments · Fixed by #3283 or #3305
Closed

Cannot open project file created with Openshot 2.4.4 on Debian 10 #3242

cometchaserde opened this issue Feb 23, 2020 · 13 comments · Fixed by #3283 or #3305

Comments

@cometchaserde
Copy link

Describe the bug
Cannot open Openshot.osp created with Openshot 2.4.4 on Debian 10

To check if it is a problem, I created an new project with a video + music file with Openshot 2.4.4 and saved it. Next I tried to open it with Openshot 2.5.0.

Openshot doesn't open the file. Openshot 2.5.0 just crashes. It happens also with the latest build.

Expected behavior
Open the project file

System Details

Log Files

Exception / Stacktrace
No stacktrace found in log files

Screenshots (Optional)
If applicable, add screenshots to help explain your problem. You can include screenshots by
copy/pasting them on GitHub or dragging-and-dropping into the GitHub page. All images are public,
so please don't post screenshots containing personal information.

@SuslikV
Copy link
Contributor

SuslikV commented Feb 23, 2020

Can you still open it in v2.4.4?

@cometchaserde
Copy link
Author

Hi,

yes I can still open it in 2.4.4

@SuslikV
Copy link
Contributor

SuslikV commented Feb 24, 2020

Can you share a copy of the .osp file that you are unable to open with the OpenShot?

@cometchaserde
Copy link
Author

TestOpenshot-Projekt.zip

Hope you can use it.

@SuslikV
Copy link
Contributor

SuslikV commented Feb 26, 2020

I didn't found issues with the project itself. Are you sure that you have issues exactly with this project (1 video clip + 1 audio clip)?

@cometchaserde
Copy link
Author

Hi,
yes, but I did some more tests. I tried to create a new project with just a 1 video clip and 1 audio clip and Openshot 2.5 crashed while adding the files to the timeline. Then I checked the system logs and found a entry every time when Openshot crashed.
Feb 26 17:50:25 debian-t410 org.gnome.Nautilus[6334]: 140501142838144:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory

I did a search and found some entries and the trick described is, to do a
export OPENSSL_CONF=/etc/ssl/

When I do this within a terminal and start Openshot 2.5 from this terminal, it works.
Openshot 2.4.4 doesn't need this. It just works.

I will check what's going on with OPENSSL and it this export command solves the problem on my main computer as well. The problem with Openshot happens on my main desktop computer and on my laptop, both running Debian 10.

@cometchaserde
Copy link
Author

@cometchaserde
Copy link
Author

The described trick works also on my desktop computer with Debian 10

@ferdnyc
Copy link
Contributor

ferdnyc commented Mar 8, 2020

Hrm. Presumably this is only an issue with the AppImage builds?

It sounds like the core issue is that they're linked/bundled with an older version of libssl, one incompatible with /etc/ssl/openssl.cnf (as described in the debian bug @cometchaserde linked to above).

That's unfortunate, because both libssl.so and libcrypto.so appear on the master list of libraries that cannot be included in AppImage bundles.

I guess our only recourse is probably going to be setting OPENSSL_CONF in the AppImage sandbox environment, for when OpenShot is run on newer Debian-based systems.

One thing struck me as odd, @cometchaserde : You said you worked around the issue by setting OPENSSL_CONF=/etc/ssl/ in your environment? The workaround presented in the Debian bug was to set OPENSSL_CONF=/dev/null — the impression I got was that /etc/ssl was the default location of the config, and it was a too-new /etc/ssl/openssl.cnf file that led to the original crash. So, I'm surprised specifying a location where that same file is found would actually work.

Regardless, would you be able to confirm that OPENSSL_DIR=/dev/null is effective (or also effective) as a workaround for this issue? If so, I think that's what we'll go with in the AppImage environment.

@ferdnyc
Copy link
Contributor

ferdnyc commented Mar 9, 2020

@cometchaserde I had a reply from you in my email notifications, but I don't see it now. I'm guessing it was a deleted comment, should I disregard?

@cometchaserde
Copy link
Author

Hi,
setting set OPENSSL_CONF=/dev/null does work as well.

@ferdnyc
Copy link
Contributor

ferdnyc commented Mar 9, 2020

@cometchaserde Great, thanks! I'll leave #3283 the way it is, then.

@ferdnyc
Copy link
Contributor

ferdnyc commented Mar 17, 2020

Fix merged. If you'd like you can try downloading the next Daily Build AppImage package (which should be ready in a few minutes) from https://openshot.org/download/ and see if that does indeed fix the problem internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants