← Back to team overview

openshot.developers team mailing list archive

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

 

Yeah, I tried that already (ok simplified i just did 'sudo ln -s
/usr/lib/libmlt.so.0.4.10 /usr/lib/libmlt++.so.2' but it's much of a
muchness.

This makes ldd happy

ldd /usr/lib/python2.6/dist-packages/_mlt.so
	linux-vdso.so.1 =>  (0x00007ffff87ff000)
	libmlt++.so.2 => /usr/lib/libmlt++.so.2 (0x00007fd31bd30000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fd31bb19000)
	libc.so.6 => /lib/libc.so.6 (0x00007fd31b797000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007fd31b593000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007fd31b376000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fd31c1dd000)

but not python

$ python
Python 2.6.5rc2 (r265rc2:78822, Mar 11 2010, 20:47:08) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mlt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/mlt.py", line 7, in <module>
    import _mlt
ImportError: /usr/lib/python2.6/dist-packages/_mlt.so: undefined symbol: __gxx_personality_v0
>>>

So I guess it needs an earlier version of mlt installed or for python-
mlt to actually be compiled against the version stated in the depends
?!? Unless there isn't a version of python-mlt that compiles against
this version of mlt++

-- 
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