You are not logged in.

#1 2015-05-28 19:38:05

ggg377
Member
Registered: 2015-02-20
Posts: 43

Openshot fails to start (MLT error)

Hi,

I have a problem with my almost brand new Arch install with minimal system level customization. Openshot fails to start and outputs the following error message:

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
--------------------------------
   OpenShot (version 1.4.3)
--------------------------------
Process no longer exists: 1249.  Creating new pid lock file.
mlt_repository_init: failed to dlopen /usr/lib/mlt/libmltvidstab.so
  (libvidstab.so.0.9: cannot open shared object file: No such file or directory)
mlt_repository_init: failed to dlopen /usr/lib/mlt/libmltsox.so
  (libsox.so.3: cannot open shared object file: No such file or directory)
mlt_repository_init: failed to dlopen /usr/lib/mlt/libmltsdl.so
  (libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory)
mlt_repository_init: failed to dlopen /usr/lib/mlt/libmltqt.so
  (libQt5Xml.so.5: cannot open shared object file: No such file or directory)

The same thing happened on another Arch install a few days ago. I have never had trouble with Openshot or MLT in my previous systems nor does my current system have any other problems or errors. I already tried 1) reinstalling openshot, mlt and ffmpeg, 2) deleting ~/.openshot and running the program to no avail. Is anyone else experiencing this? I didn't notice any complaints with this particular error on Google.

Last edited by ggg377 (2015-05-28 19:40:06)

Offline

#2 2015-05-28 21:47:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Openshot fails to start (MLT error)

Are these files present? /usr/lib/mlt/libmltsdl.so etc. is provided by mlt.

Offline

#3 2015-05-28 21:49:46

ggg377
Member
Registered: 2015-02-20
Posts: 43

Re: Openshot fails to start (MLT error)

@karol

I forgot to mention this, but I verified all these files are indeed present in the given location.

Offline

#4 2015-05-28 21:59:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Openshot fails to start (MLT error)

Post the output of

uname -a
file /usr/lib/mlt/libmltvidstab.so

Offline

#5 2015-05-28 22:08:17

ggg377
Member
Registered: 2015-02-20
Posts: 43

Re: Openshot fails to start (MLT error)

Here:

$ uname -a
Linux host 4.0.4-2-ARCH #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015 x86_64 GNU/Linux

$ file /usr/lib/mlt/libmltvidstab.so
/usr/lib/mlt/libmltvidstab.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=da40c64385ee16e452882407658e391a186712e9, stripped

Here's something curious from journalctl:

May 28 22:34:04 sys systemd-coredump[5192]: Process 5184 (openshot) of user 1000
-- Subject: Process 5184 (openshot) dumped core
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
-- 
-- Process 5184 (openshot) crashed and dumped core.
-- 
-- This usually indicates a programming error in the crashing program and
-- should be reported to its vendor as a bug.

Last edited by ggg377 (2015-05-31 11:07:24)

Offline

#6 2015-05-31 11:07:32

ggg377
Member
Registered: 2015-02-20
Posts: 43

Re: Openshot fails to start (MLT error)

Opened a bug report

Offline

#7 2015-06-03 04:28:40

ggg377
Member
Registered: 2015-02-20
Posts: 43

Re: Openshot fails to start (MLT error)

Manually installing sdl_image has my Openshot working again. I was also able to remove the other error messages by manually installing sox, vid.stab etc - packages which aren't marked as Openshot's (even optional) dependencies. This weird behavior is probably not intended. Openshot also complains about not being able to load frei0r-plugins and wants me to install them.

I saw something similar described in the Arch bug tracker.

Offline

#8 2015-07-14 16:48:56

PTBM133A4X
Member
Registered: 2011-10-30
Posts: 33

Re: Openshot fails to start (MLT error)

Thanks very much ggg377! This just fixed it for me too! Why is sdl_image not a dependency if openshot crashes without it?


Arch x86_64 as of 01/01/2013

Offline

Board footer

Powered by FluxBB