Same problem ever after upgrading
Hi to all.
Thanks fot sharing OpenShot!
I always experience the same problem each time OpenShot is upgraded! How is it possible?!?
Thanks for your time!
Regards.
$ openshot
-------
OpenShot (version 1.1.0)
-------
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
-------
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
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
mlt.
NameError: global name 'mlt' is not defined
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
![]() |
#1 |
Openshot is not open ?
Try that : https:/
Revision history for this message
![]() |
#2 |
Please read the following thread:
https:/
You might have to scroll to the bottom of it to find the answer. The python bindings for MLT are not working correctly, which is the error you are seeing. Good luck!
Revision history for this message
![]() |
#3 |
Hi cenwen. I have been trying your suggestion before writing here but it did not work. Thank you.
Hi Jonathan. As you can see, you have been linking a bug report opened just by myself :) That confirms it's not the first time the problem occurs, is solved and occurs again :(
In the following you can find the results of 4 suggestions from that thread. None of those I have been trying makes the job. Jonathan, could you please be more precise about the specific suggestion I should follow from that thread?
Thank you all for your time!!!
Have a nice day.
(1)(1)(
This is the last test I have been doing, as suggested towards the bottom of that thread.
$ sudo ln -s /usr/lib/
$ 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/
self.run()
File "/usr/lib/
mlt.
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
(1)(1)(
(2)(2)(
The ls asked at the beginning of that thread
ls /usr/share/
ls: cannot access /usr/share/
manolo@
ls: cannot access /usr/lib/
manolo@
ls: cannot access /usr/lib/
(2)(2)(
(3)(3)(
$ python
Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/usr/lib/
>>>import mlt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
from mlt import *
File "/usr/lib/
import _mlt
ImportError: libmlt++.so.2: cannot open shared object file: No such file or directory
(3)(3)(
(4)(4)(
$ ln -s $(ls -C /usr/lib/
ln: creating symbolic link `/usr/lib/
(4)(4)(
Revision history for this message
![]() |
#4 |
Manolo try that : http://
Revision history for this message
![]() |
#5 |
Hi cenwen.
Thanks for your suggestion.
Unfortunately I cannot see the difference between that link and the suggestions reported in your previous link.
If I don't go wrong, both links suggest to uninstall OpenShot, remove that openshot directory and reinstall it from ppa.
I have been trying again anyway, but with no luck.
$ 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/
self.run()
File "/usr/lib/
mlt.
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
Any other suggestion, please?
thanks!
Revision history for this message
![]() |
#6 |
Any other suggestion, please?
yes i have yet reading the beginning of your message and i have seen somewhere python-mlt missing.
Please, check your dependencies : http://
Unfortunately I cannot see the difference between that link and the suggestions reported in your previous link.
If I don't go wrong, both links suggest to uninstall OpenShot, remove that openshot directory and reinstall it from ppa.
Yes it's a total removing as a last resort. That's work.
Another track :
$python
>>>>import mlt (i know that you have already that but it will be more clear and if you have install a new dependencie (think to look at the Edit lines)and i want to be sure)
Another thought
$gdb python
(gdb) run openshot.py
We are testing a new version modifed with the new bugs reports. So perhaps in another last resort.
Revision history for this message
![]() |
#7 |
cenwen, I have been following your 1 suggestion and discovered that x264 package was missing. After installing it the situation does not get better:
~$ 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/
self.run()
File "/usr/lib/
mlt.
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
@@@@@@@
Then, there is some changes here
$ python
Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15)
[GCC 4.4.1] 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/
from mlt import *
File "/usr/lib/
import _mlt
ImportError: libmlt++.so.2: cannot open shared object file: No such file or directory
@@@@@@@
$ gdb pythonGNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/
(gdb) run openshot.py
Starting program: /usr/bin/python openshot.py
[Thread debugging using libthread_db enabled]
/usr/bin/python: can't open file 'openshot.py': [Errno 2] No such file or directory
Program exited with code 02.
Revision history for this message
![]() |
#8 |
Hi manolo
Perfect i was also thinking at melt and python-mlt when i was saying that.
Thanks for this great feedbacks
Initialy i have planned to you creat a symbolic link but i will wish to know the result of this commands before :
echo $PYTHONPATH
ls /usr/lib/*libmlt*
If you have something returning (post here the result please, thanks) you could try this :
sudo ln -s $(ls -C /usr/lib/
Revision history for this message
![]() |
#9 |
& echo $PYTHONPATH
(returns nothing)
$ ls /usr/lib/*libmlt*
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
Should I execute that command anyway?
Thanks.
Revision history for this message
![]() |
#10 |
No we are trying something
in a console do that :
export PYTHONPATH=
and after try openshot
Revision history for this message
![]() |
#11 |
~$ export PYTHONPATH=
(no results, it means everithing is ok :)
~$ openshot
-------
OpenShot (version 1.1.0)
-------
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
-------
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
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
mlt.
NameError: global name 'mlt' is not defined
So it does not seem to work.
Also, could you please remove that frustrating suggestion:
Use the following command to install OpenShot:
$ sudo python setup.py install
??? :)
Revision history for this message
![]() |
#12 |
It wast just a thought
Post me this command and after we will create exactly the link
ls -l /usr/lib/*libmlt*
Revision history for this message
![]() |
#13 |
~$ ls -l /usr/lib/*libmlt*
-rw-r--r-- 1 root root 120324 2010-02-16 10:17 /usr/lib/
-rw-r--r-- 1 root root 116964 2010-02-16 10:17 /usr/lib/
lrwxrwxrwx 1 root root 15 2010-02-17 08:54 /usr/lib/
lrwxrwxrwx 1 root root 17 2010-02-17 08:54 /usr/lib/
Revision history for this message
![]() |
#14 |
so we are going to try that :
sudo ln -s $(ls -C /usr/lib/
Revision history for this message
![]() |
#15 |
cenwen, thanks for your time.
Unfortunately that hasn't solved the problem.
~$ sudo ln -s $(ls -C /usr/lib/
~$ 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/
self.run()
File "/usr/lib/
mlt.
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
Please note I have both python 2.5 and 2.6 installed. Hope it helps.
Thank you!
Revision history for this message
![]() |
#16 |
No unfortunatly
Try that :
sudo ln -s /usr/lib/
Otherwise i have a solution here : http://
Revision history for this message
![]() |
#17 |
~$ sudo ln -s /usr/lib/
[sudo] password for manolo:
ln: creating symbolic link `/usr/lib/
~$ openshot
-------
OpenShot (version 1.1.0)
-------
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
-------
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
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
mlt.
NameError: global name 'mlt' is not defined
Could you be more specific on where to start reading that discussion or at least tell me more or less what should I focus on, please?
Thanks for your time!
Revision history for this message
![]() |
#18 |
Hi Manolo
Sorry i have done an error with the link. So it's why i do not understand the sens of your remarq.
Try that :
$ sudo ln -s /usr/lib/
And the good link is here : http://
Revision history for this message
![]() |
#19 |
Hi cenwen.
So many thanks for your suggestions. I have been trying crating that symbolic link but OpenShot still does not open. Please see at the bottom of this post.
Moreover, I beg you to be more precise about the specific suggested steps you want me to follow from that link. In fact, about that I am quite confused. Between the different suggestions, for example, again I find the already tried "uninstall and reinstall" steps. I suppose you don't want me to try it again, do you?
In order to me more clear, I beg you to please paste here all the steps you want me to follow.
Thank you very much for you help and for your time!
Have a nice day!!! :)
~$ sudo ln -s /usr/lib/
~$ openshot
-------
OpenShot (version 1.1.0)
-------
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
-------
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
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
mlt.
NameError: global name 'mlt' is not defined
Revision history for this message
![]() |
#20 |
Hi Manolo
I'm late like always, so the explanation now :
1) Remove the "openshot" 1.0 package using Synaptic
2) Remove the following folder (if it still exists): /usr/share/openshot
NOTE: If you have trouble deleting this folder, try this command:
$ sudo rm -r /usr/share/openshot
3) Install "openshot" version 1.1 (using the DEB or PPA)
Like you can on the forum, somebody have informed us that for resolving his problem (like you), the last command for creating a symbolic link have walked for some people and not for others.
We searching, we searching.
Thanks to be patient.
Revision history for this message
![]() |
#21 |
You can try that too (more fast and simple) :
sudo apt-get remove --purge libmlt++2 openshot python-mlt
sudo apt-get install libmlt++2 openshot python-mlt
Revision history for this message
![]() |
#22 |
I have followed just your last post. Executing:
sudo apt-get remove --purge libmlt++2 openshot python-mlt
It also removed KDEnlive.
After executing:
sudo apt-get install libmlt++2 openshot python-mlt
the result is:
openshot
-------
OpenShot (version 1.1.0)
-------
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
-------
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
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
mlt.
NameError: global name 'mlt' is not defined
Thanks for your time.
Revision history for this message
![]() |
#23 |
Could you do so the first track (=post) and when you have remove openshot, delete the file .openshot too by this command :
rm .openshot
Do that after the number 2)
Thanks
Revision history for this message
![]() |
#24 |
I have followed your advice after executing the "purge" operations. Unfortulately the result is negative:
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/
self.run()
File "/usr/lib/
mlt.
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
Thanks for your time!!!!
Revision history for this message
![]() |
#25 |
Just upgraded to Openshot 1.1.1 from Ubuntu repos. The problem persists.
~$ openshot
-------
OpenShot (version 1.1.1)
-------
*** 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/
self.run()
File "/usr/lib/
mlt.
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
Revision history for this message
![]() |
#26 |
Incredible, we can resolve that same in all removing. All that we have try is without effects. For the moment, i don't know (and i have not a lot of time too). I will think at your problem and will look all that we have done. Perhaps today if i have the time (but it is not sure). Thanks
Olivier
Revision history for this message
![]() |
#27 |
Thanks for your help. I'll be waiting.
Have a nice day.
Revision history for this message
![]() |
#28 |
It is just to say you that i have not forgotten you. I have just less waste-time and i'm searching.
Revision history for this message
![]() |
#29 |
Hi cenwen. Thanks for your interest.
I suppose it could be a general problem with openshot. i have been trying to run it with another Ubuntu 9.10 machine and the problem persists.
I'll try purging OpenShot on that machine and reistalling it from PPA as soon as I can.
Have a nice day.
Revision history for this message
![]() |
#30 |
Hi
I'm on today.
A question (because you are not alone in this cas) : have you a folder openshot in /usr/share ie /usr/share/openshot
And could you pass this command too :
whereis openshot
Thanks for your patient
Revision history for this message
![]() |
#31 |
whereis openshot
openshot: /usr/bin/openshot /usr/share/
Thanks for your time
Revision history for this message
![]() |
#32 |
Ha Ha the same symptom. i'm openning a thread on the french section on this problem and after i will open another thread in english on the forum too.
We have perhaps find the result of the update and i hope find a solution for everybody.
The thread is here if you are interresting by learning french (je plaisante !!!!!!!!! = i'm laughthing) : http://
after, we will see all at the beginning.
Revision history for this message
![]() |
#33 |
Hi,
i want to know if you have a folder openshot in /usr/share. In this folder you have some anothers folder like classes", "locale", "transitions", "effects", "export_presets" ,....
And have you in a folder openshot in /usr/share/
It is very important
Revision history for this message
![]() |
#34 |
Hi cenwen.
Thanks for your help. Unfortunately, as I said before in the output of the "whereis" command, I have got no openshot directory in /usr/share.
In fact:
/usr/share$ ls -la | grep open
drwxr-xr-x 3 root root 4096 2010-02-24 11:42 openoffice
On the ofher hand, there is a python-support folder in /usr/share:
/usr/share/
ailurus.public python-dbus.public python-
alacarte.public python-
arista.private python-
computer-
devede.private python-
emesene.private python-fstab.public python-
gedit-latex-
gedit-plugins.
gedit.private python-gdata python-qt4.public
gimp.private python-gdata.public python-rdflib
glchess.public python-
gnome-applets-
gnome-doc-
gnome-orca.public python-
gnome-sudoku.public python-
gtk-recordmydes
hplip-data.private python-
ibus.private python-
ibus-table.private python-
istanbul.public python-gtk2.public python-wnck.public
meld.private python-
openshot.public python-
private python-
python-avahi.public python-httplib2 rubber.dirs
python-
python-
python-
python-cairo.public python-
python-clamav python-
python-
python-
python-cups.public python-notify wammu.public
python-
Revision history for this message
![]() |
#35 |
Hum. There is no folder call openshot here (ie /usr/share/
Could you find in your systeme (in the folder /usr/ in your system ) if you have a folder call openshot.
I think (and more and more i explore this track, i'm going in that direction) when the update has been done , something is happen and it has loose the place than where he must be but for two people the place where he has land his different.
Try to seach in /usr/share/
Thanks.
Olivier.
Revision history for this message
![]() |
#36 |
Jonathan will come to our help with a script and the instruction here : https:/
Revision history for this message
![]() |
#37 |
Cenwen, thanks again for your time.
I am reading your answer and I think there is an error. I repeat that I HAVE GOT the "python-support" folder and that I HAVE NOT GOT the "openshot" folder.
Can you please confirm that there is an error in your last but one answer?
Thank you!
Revision history for this message
![]() |
#38 |
cat openshot.debug
-------
OpenShot Debug File - 2010-03-30 10:05:06.540249
-------
This file contains a list of installed packages related to OpenShot,
locations of files, and a list of shared libraries used by python-mlt.
-------
List of Installed Packages
-------
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii libmlt1 0.5-0ubuntu0~
ii openshot 1.1.1-karmic1 Create and edit videos and movies
un openshot-mlt <none> (no description available)
ii python-mlt 1.0-3 Python bindings for MLT video editing framew
un python-mlt2 <none> (no description available)
No p
-------
Find 'openshot' files & folders
-------
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/bin/openshot
-------
Find 'mlt' files & folders
-------
/usr/share/mlt
/usr/share/
/usr/lib/mlt
/usr/lib/
/usr/lib/
-------
Find libmlt*.so*
-------
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
-------
Locate '_mlt.so', used by python-mlt
-------
/usr/lib/
/usr/lib/
-------
Shared Libraries for /usr/lib/
-------
linux-gate.so.1 => (0x00370000)
libmlt++.so.2 => not found
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00efa000)
libc.so.6 => /lib/tls/
/lib/ld-linux.so.2 (0x00fa2000)
-------
Missing Shared Libraries!!!
-------
A shared library can not be found in the previous test, which is breaking python-mlt.
Check the /usr/lib/ for the missing library file. If needed, create a link to the
correct file. For example: ln -s /path/to/original /path/to/link
-------
Debug File 'openshot.debug'
-------
This script has created a file called 'openshot.debug' which
contains all of this output. If you are having trouble installing
OpenShot, you can attach this file to your bug report.
Revision history for this message
![]() |
#39 |
manolo,
So, it looks like you have installed a newer version of libmlt1, which is causing the problem. _mlt.so is trying to link to a file called /usr/lib/
You could try creating a link called "/usr/lib/
I think this is the syntax:
sudo ln '/usr/lib/
Revision history for this message
![]() |
#40 |
Jonathan you have forgotten the symbolic so the syntax is :
sudo ln -s /usr/lib/
The quote ' are she obligatories ?
Revision history for this message
![]() |
#41 |
This is the output of that script after creating a HARD link, as Jonathan said.
cat openshot.debug
-------
OpenShot Debug File - 2010-03-30 18:39:48.584416
-------
This file contains a list of installed packages related to OpenShot,
locations of files, and a list of shared libraries used by python-mlt.
-------
List of Installed Packages
-------
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii libmlt1 0.5-0ubuntu0~
ii openshot 1.1.1-karmic1 Create and edit videos and movies
un openshot-mlt <none> (no description available)
ii python-mlt 1.0-3 Python bindings for MLT video editing framew
un python-mlt2 <none> (no description available)
No p
-------
Find 'openshot' files & folders
-------
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/bin/openshot
-------
Find 'mlt' files & folders
-------
/usr/share/mlt
/usr/share/
/usr/lib/mlt
/usr/lib/
/usr/lib/
-------
Find libmlt*.so*
-------
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
-------
Locate '_mlt.so', used by python-mlt
-------
/usr/lib/
/usr/lib/
-------
Shared Libraries for /usr/lib/
-------
linux-gate.so.1 => (0x00ead000)
libmlt++.so.2 => /usr/lib/
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0059c000)
libc.so.6 => /lib/tls/
libdl.so.2 => /lib/tls/
libpthread.so.0 => /lib/tls/
/lib/ld-linux.so.2 (0x002de000)
-------
Debug File 'openshot.debug'
-------
This script has created a file called 'openshot.debug' which
contains all of this output. If you are having trouble installing
OpenShot, you can attach this file to your bug report.
Revision history for this message
![]() |
#42 |
On the other hand, this is the output after removing the HARD link and creating a SOFT link as cenwen said.
openshot
-------
OpenShot (version 1.1.1)
-------
*** 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/
self.run()
File "/usr/lib/
mlt.
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
cat openshot.debug
-------
OpenShot Debug File - 2010-03-30 19:30:23.058587
-------
This file contains a list of installed packages related to OpenShot,
locations of files, and a list of shared libraries used by python-mlt.
-------
List of Installed Packages
-------
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii libmlt1 0.5-0ubuntu0~
ii openshot 1.1.1-karmic1 Create and edit videos and movies
un openshot-mlt <none> (no description available)
ii python-mlt 1.0-3 Python bindings for MLT video editing framew
un python-mlt2 <none> (no description available)
No p
-------
Find 'openshot' files & folders
-------
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/bin/openshot
-------
Find 'mlt' files & folders
-------
/usr/share/mlt
/usr/share/
/usr/lib/mlt
/usr/lib/
/usr/lib/
-------
Find libmlt*.so*
-------
/home/manolo/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
-------
Locate '_mlt.so', used by python-mlt
-------
/usr/lib/
/usr/lib/
-------
Shared Libraries for /usr/lib/
-------
linux-gate.so.1 => (0x00fff000)
libmlt++.so.2 => /usr/lib/
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00b50000)
libc.so.6 => /lib/tls/
libdl.so.2 => /lib/tls/
libpthread.so.0 => /lib/tls/
/lib/ld-linux.so.2 (0x002cc000)
-------
Debug File 'openshot.debug'
-------
This script has created a file called 'openshot.debug' which
contains all of this output. If you are having trouble installing
OpenShot, you can attach this file to your bug report.
Revision history for this message
![]() |
#43 |
manolo,
I have updated the "debug.py" script to include even more information. Can you please download the new version, and run it again. Hopefully this will help us finally solve this problem. =)
https:/
Revision history for this message
![]() |
#44 |
Wow: more infos and even faster than the previous version :)
cat openshot.debug
-------
OpenShot Debug File 0.0.2 - 2010-03-30 21:40:00.423675
-------
This file contains a list of installed packages related to OpenShot,
locations of files, and a list of shared libraries used by python-mlt.
-------
Distribution Version Info
-------
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic
-------
List of Installed Packages
-------
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii libmlt1 0.5-0ubuntu0~
ii openshot 1.1.1-karmic1 Create and edit videos and movies
un openshot-mlt <none> (no description available)
ii python-mlt 1.0-3 Python bindings for MLT video editing framew
un python-mlt2 <none> (no description available)
No packages found matching libmlt2.
-------
Python Path (i.e. sys.path)
-------
/home/manolo/
/usr/lib/python2.6
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/local/
-------
Files in /usr/lib/
-------
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
-------
Attempt to import mlt (using Python)
-------
/usr/lib/
-------
Find 'openshot' files & folders
-------
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/bin/openshot
-------
Find 'mlt' files & folders
-------
/usr/share/mlt
/usr/share/
/usr/lib/mlt
/usr/lib/
/usr/lib/
-------
Find libmlt*.so*
-------
/home/manolo/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
-------
Locate '_mlt.so', used by python-mlt
-------
/usr/lib/
/usr/lib/
-------
Shared Libraries for /usr/lib/
-------
linux-gate.so.1 => (0x00978000)
libmlt++.so.2 => /usr/lib/
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00b3a000)
libc.so.6 => /lib/tls/
libdl.so.2 => /lib/tls/
libpthread.so.0 => /lib/tls/
/lib/ld-linux.so.2 (0x00ce7000)
-------
Debug File 'openshot.debug'
-------
This script has created a file called 'openshot.debug' which
contains all of this output. If you are having trouble installing
OpenShot, you can attach this file to your bug report.
Revision history for this message
![]() |
#45 |
I believe the problem is very simple. The python-mlt package was built using an older version of libmlt1. Either you will need to replace libmlt1 with the package that is in the Ubuntu karmic repository, or build the python-mlt bindings for your newer version of libmlt1.
I will make a FAQ for building the python-mlt bindings later today, if you are interested in that approach.
Thanks!
-Jonathan
Revision history for this message
![]() |
#46 |
Hi Jonathan.
I am interested in the solution. I don't know how to restore the karmic repos version.
Tell me what to do, whatever to solve the problem.
Thanks.
Revision history for this message
![]() |
#47 |
Just upgraded Openshot. I am still unable to run it.
$ openshot
-------
OpenShot (version 1.1.2)
-------
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
-------
Error: OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
mlt.
NameError: global name 'mlt' is not defined
Use the following command to install OpenShot:
$ sudo python setup.py install
Revision history for this message
![]() |
#48 |
I believe
sudo ln -s $(ls -C /usr/lib/
worked for me in Karmic. Can't remember what forum I found this in...
Revision history for this message
![]() |
#49 |
Thanks for your post.
Already tried than solution. It doesn't work for me.
Revision history for this message
![]() |
#50 |
I just updated OpenShot with Synaptic. The problem persist. That is the error message.
openshot
-------
OpenShot (version 1.1.3)
-------
Process no longer exists: 30204. Creating new pid lock file.
*** 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/
self.run()
File "/usr/lib/
mlt.
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
Revision history for this message
![]() |
#51 |
Hi,
i think that Jonathan has forgotten to create the faq how to build python-mlt.
Perhaps (it is just a thought) you should wait Lucid (in two weeks). After, we will see if it is always an issue. For Lucid, python-mlt is changed by python-mlt2 so it will be resolve certainly this issue.
Can you help with this problem?
Provide an answer of your own, or ask manolo for more information if necessary.