← Back to team overview

openshot.developers team mailing list archive

[Bug 537431] Re: Openshot fails to import mlt and then fails to start

 

Looks like it might be a problem with mlt

$ ldd /usr/lib/python2.6/dist-packages/_mlt.so
	linux-vdso.so.1 =>  (0x00007ffff39ff000)
	libmlt++.so.2 => not found
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f063976c000)
	libc.so.6 => /lib/libc.so.6 (0x00007f06393ea000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f0639c10000)

$ locate libmlt++.so.3
/usr/lib/libmlt++.so.3
$ locate libmlt++.so.2
$ 

Depends shows that it depends on  libmlt++3

apt-cache show python-mlt2
Package: python-mlt2
Priority: optional
Section: universe/python
Installed-Size: 604
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@xxxxxxxxxxxxxxxx>
Original-Maintainer: Fathi Boudra <fabo@xxxxxxxxxx>
Architecture: amd64
Source: mlt
Version: 0.4.10-5ubuntu1
Provides: python2.6-mlt2
Depends: libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libmlt++3, python (<< 2.7), python (>= 2.6), python-support (>= 0.90.0)


Can this bug be moved or does it need reopening?

-- 
Openshot fails to import mlt and then fails to start
https://bugs.launchpad.net/bugs/537431
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to openshot in ubuntu.

Status in “openshot” package in Ubuntu: New

Bug description:
Binary package hint: openshot

Openshot fails to start (amd64 arch) with the following error

$ openshot
--------------------------------
   OpenShot (version 1.1.0)
--------------------------------
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 527, in __bootstrap_inner
    self.run()
  File "/usr/lib/pymodules/python2.6/openshot/classes/thumbnail.py", line 170, in run
    mlt.Factory().init()
NameError: global name 'mlt' is not defined

-------------------------------------------------------
Error:  OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)

Use the following command to install OpenShot:
  $ sudo python setup.py install

---

Packages installed
$ dpkg -l python-mlt2 openshot
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  openshot       1.1.0-0ubuntu1 Create and edit videos and movies
ii  python-mlt2    0.4.10-5ubuntu multimedia framework (python bindings)
----

Debs used
python-mlt2_0.4.10-5ubuntu1_amd64.deb
openshot_1.1.0-0ubuntu1_all.deb

Potentially a problem only on amd64 is i386 users aren't seeing the same thing?

More info needed?





References