Same problem ever after upgrading

Asked by manolo

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/python2.6/threading.py", line 525, 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

Question information

Language:
English Edit question
Status:
Answered
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Olivier Girard (eolinwen) said :
#1

Openshot is not open ?
Try that : https://answers.launchpad.net/openshot/+faq/989

Revision history for this message
Jonathan Thomas (jonoomph) said :
#2

Please read the following thread:
https://answers.launchpad.net/openshot/+question/95857

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
manolo (mac-man2005) said :
#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)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)
This is the last test I have been doing, as suggested towards the bottom of that thread.

$ sudo ln -s /usr/lib/libmlt++.so.0.4.10 /usr/lib/libmlt++.so.2
$ 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 525, 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

(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)(1)

(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)
The ls asked at the beginning of that thread

ls /usr/share/pyshared/python-mlt
ls: cannot access /usr/share/pyshared/python-mlt: No such file or directory
manolo@manolo-laptop:/usr/lib/python2.6/dist-packages$ ls /usr/lib/pyshared/python2.6/python-mlt
ls: cannot access /usr/lib/pyshared/python2.6/python-mlt: No such file or directory
manolo@manolo-laptop:/usr/lib/python2.6/dist-packages$ ls /usr/lib/pymodules/python-mlt
ls: cannot access /usr/lib/pymodules/python-mlt: No such file or directory
(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)(2)

(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(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/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages']

>>>import mlt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/mlt/__init__.py", line 1, in <module>
    from mlt import *
  File "/usr/lib/pymodules/python2.6/mlt/mlt.py", line 7, in <module>
    import _mlt
ImportError: libmlt++.so.2: cannot open shared object file: No such file or directory

(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)(3)

(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)
$ ln -s $(ls -C /usr/lib/libmlt++.so.* | cut -f 1 -d' ') /usr/lib/libmlt++.so.2
ln: creating symbolic link `/usr/lib/libmlt++.so.2': File exists
(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)(4)

Revision history for this message
Olivier Girard (eolinwen) said :
#4
Revision history for this message
manolo (mac-man2005) said :
#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/python2.6/threading.py", line 525, 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

Any other suggestion, please?
thanks!

Revision history for this message
Olivier Girard (eolinwen) said :
#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://openshotusers.com/forum/viewtopic.php?f=12&t=33

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
manolo (mac-man2005) said :
#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/python2.6/threading.py", line 525, 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

@@@@@@@@@@@@@@@@@@@@@@

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/pymodules/python2.6/mlt/__init__.py", line 1, in <module>
    from mlt import *
  File "/usr/lib/pymodules/python2.6/mlt/mlt.py", line 7, in <module>
    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://gnu.org/licenses/gpl.html>
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://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
(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
Olivier Girard (eolinwen) said :
#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/libmlt.so.0.5.0 | cut -f 1 -d' ') /usr/lib/libmlt++.so.2

Revision history for this message
manolo (mac-man2005) said :
#9

& echo $PYTHONPATH
(returns nothing)

$ ls /usr/lib/*libmlt*
/usr/lib/libmlt.so.0.5.0
/usr/lib/libmlt.so.2
/usr/lib/libmlt++.so.0.5.0
/usr/lib/libmlt++.so.3

Should I execute that command anyway?

Thanks.

Revision history for this message
Olivier Girard (eolinwen) said :
#10

No we are trying something
in a console do that :
export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.6/site-packages/
and after try openshot

Revision history for this message
manolo (mac-man2005) said :
#11

~$ export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.6/site-packages/
(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/python2.6/threading.py", line 525, 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

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
Olivier Girard (eolinwen) said :
#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
manolo (mac-man2005) said :
#13

~$ ls -l /usr/lib/*libmlt*
-rw-r--r-- 1 root root 120324 2010-02-16 10:17 /usr/lib/libmlt.so.0.5.0
-rw-r--r-- 1 root root 116964 2010-02-16 10:17 /usr/lib/libmlt++.so.0.5.0
lrwxrwxrwx 1 root root 15 2010-02-17 08:54 /usr/lib/libmlt.so.2 -> libmlt.so.0.5.0
lrwxrwxrwx 1 root root 17 2010-02-17 08:54 /usr/lib/libmlt++.so.3 -> libmlt++.so.0.5.0

Revision history for this message
Olivier Girard (eolinwen) said :
#14

so we are going to try that :
sudo ln -s $(ls -C /usr/lib/libmlt.so.0.5.0 | cut -f 1 -d' ') /usr/lib/libmlt++.so.2

Revision history for this message
manolo (mac-man2005) said :
#15

cenwen, thanks for your time.
Unfortunately that hasn't solved the problem.

~$ sudo ln -s $(ls -C /usr/lib/libmlt.so.0.5.0 | cut -f 1 -d' ') /usr/lib/libmlt++.so.2

~$ 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 525, 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

Please note I have both python 2.5 and 2.6 installed. Hope it helps.
Thank you!

Revision history for this message
Olivier Girard (eolinwen) said :
#16

No unfortunatly
Try that :
sudo ln -s /usr/lib/libmlt++so.2 /usr/lib/libmlt.so.0.5.0

Otherwise i have a solution here : http://openshotusers.com/forum/viewtopic.php?f=12&t=33&start=0 (normaly it's the good link).

Revision history for this message
manolo (mac-man2005) said :
#17

~$ sudo ln -s /usr/lib/libmlt++so.2 /usr/lib/libmlt.so.0.5.0
[sudo] password for manolo:
ln: creating symbolic link `/usr/lib/libmlt.so.0.5.0': File exists

~$ 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/python2.6/threading.py", line 525, 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

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
Olivier Girard (eolinwen) said :
#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/libmlt.so.0.5.0 /usr/lib/libmlt++so.2

And the good link is here : http://openshotusers.com/forum/viewtopic.php?f=12&t=253

Revision history for this message
manolo (mac-man2005) said :
#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/libmlt.so.0.5.0 /usr/lib/libmlt++so.2

~$ 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/python2.6/threading.py", line 525, 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

Revision history for this message
Olivier Girard (eolinwen) said :
#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
Olivier Girard (eolinwen) said :
#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
manolo (mac-man2005) said :
#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/python2.6/threading.py", line 525, 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

Thanks for your time.

Revision history for this message
Olivier Girard (eolinwen) said :
#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
manolo (mac-man2005) said :
#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/python2.6/threading.py", line 525, 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

Thanks for your time!!!!

Revision history for this message
manolo (mac-man2005) said :
#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/python2.6/threading.py", line 525, 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

Revision history for this message
Olivier Girard (eolinwen) said :
#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
manolo (mac-man2005) said :
#27

Thanks for your help. I'll be waiting.

Have a nice day.

Revision history for this message
Olivier Girard (eolinwen) said :
#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
manolo (mac-man2005) said :
#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
Olivier Girard (eolinwen) said :
#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
manolo (mac-man2005) said :
#31

whereis openshot
openshot: /usr/bin/openshot /usr/share/man/man1/openshot.1.gz

Thanks for your time

Revision history for this message
Olivier Girard (eolinwen) said :
#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://openshotusers.com/forum/viewtopic.php?f=18&t=298&p=1133#p1133

after, we will see all at the beginning.

Revision history for this message
Olivier Girard (eolinwen) said :
#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/python-support ?
It is very important

Revision history for this message
manolo (mac-man2005) said :
#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/python-support$ ls
ailurus.public python-dbus.public python-papyon.public
alacarte.public python-debian.public python-paramiko
arista.private python-eggtrayicon.public python-poppler.public
computer-janitor.public python-enchant.public python-protobuf.public
devede.private python-feedparser.public python-pygoocanvas.public
emesene.private python-fstab.public python-pyinotify.public
gedit-latex-plugin.private python-gammu.public python-pyorbit
gedit-plugins.private python-gconf.public python-pythoncard
gedit.private python-gdata python-qt4.public
gimp.private python-gdata.public python-rdflib
glchess.public python-glade2.public python-rsvg.public
gnome-applets-data.public python-gmenu.public python-simplejson.public
gnome-doc-utils.public python-gnome2.public python-sip4.public
gnome-orca.public python-gnomeapplet.public python-smbc
gnome-sudoku.public python-gnomecanvas.public python-support.private
gtk-recordmydesktop.public python-gnomedesktop.public python-uniconvertor.public
hplip-data.private python-gnomekeyring.public python-utidylib
ibus.private python-gnupginterface python-vte.public
ibus-table.private python-gobject.public python-webkit.public
istanbul.public python-gtk2.public python-wnck.public
meld.private python-gtkhtml2.public python-xdg
openshot.public python-gtksourceview2.public python-xlib
private python-gweather.public rhythmbox.private
python-avahi.public python-httplib2 rubber.dirs
python-awn-extras-trunk.public python-ibus.public system-config-printer-common.private
python-awn-trunk.public python-kde4.public system-config-printer-gnome.private
python-brlapi.public python-libdesktop-agnostic.public totem-plugins.private
python-cairo.public python-libmimic.public totem.private
python-clamav python-libxml2.public transmageddon.private
python-couchdb.public python-louis.public ubuntu-tweak.private
python-cupshelpers.public python-mlt.public ubuntu-tweak.public
python-cups.public python-notify wammu.public
python-dateutil.public python-openssl.public

Revision history for this message
Olivier Girard (eolinwen) said :
#35

Hum. There is no folder call openshot here (ie /usr/share/python-support) ?
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/pyshared/ if you have a folder openshot.
Thanks.
Olivier.

Revision history for this message
Olivier Girard (eolinwen) said :
#36

Jonathan will come to our help with a script and the instruction here : https://answers.launchpad.net/openshot/+faq/1032

Revision history for this message
manolo (mac-man2005) said :
#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
manolo (mac-man2005) said :
#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=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 libmlt1 0.5-0ubuntu0~karmic1 multimedia framework (runtime)
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/gnome/help/openshot
/usr/share/pyshared/openshot
/usr/share/doc/openshot
/usr/share/omf/openshot
/usr/lib/mime/packages/openshot
/usr/lib/pymodules/python2.6/openshot
/usr/lib/pymodules/python2.5/openshot
/usr/bin/openshot

-----------------------------------------------------------
Find 'mlt' files & folders
-----------------------------------------------------------
/usr/share/mlt
/usr/share/pyshared/mlt
/usr/lib/mlt
/usr/lib/pyshared/python2.6/mlt
/usr/lib/pymodules/python2.6/mlt

-----------------------------------------------------------
Find libmlt*.so*
-----------------------------------------------------------
/usr/lib/libmlt.so.0.5.0
/usr/lib/mlt/libmltmotion_est.so
/usr/lib/mlt/libmltmelt.so
/usr/lib/mlt/libmltxml.so
/usr/lib/mlt/libmltkino.so
/usr/lib/mlt/libmltresample.so
/usr/lib/mlt/libmltsox.so
/usr/lib/mlt/libmltoldfilm.so
/usr/lib/mlt/libmltgtk2.so
/usr/lib/mlt/libmltvorbis.so
/usr/lib/mlt/libmltnormalize.so
/usr/lib/mlt/libmltdgraft.so
/usr/lib/mlt/libmltfrei0r.so
/usr/lib/mlt/libmltjackrack.so
/usr/lib/mlt/libmltxine.so
/usr/lib/mlt/libmltdv.so
/usr/lib/mlt/libmltplus.so
/usr/lib/mlt/libmltqimage.so
/usr/lib/mlt/libmltsdl.so
/usr/lib/mlt/libmltcore.so
/usr/lib/mlt/libmltavformat.so
/usr/lib/mlt/libmltvmfx.so
/usr/lib/mlt/libmltkdenlive.so
/usr/lib/mlt/libmlteffectv.so
/usr/lib/libmlt++.so.0.5.0
/usr/lib/libmlt++.so.3
/usr/lib/libmlt.so.2

-----------------------------------------------------------
Locate '_mlt.so', used by python-mlt
-----------------------------------------------------------
/usr/lib/pymodules/python2.6/mlt/_mlt.so
/usr/lib/pyshared/python2.6/mlt/_mlt.so

-----------------------------------------------------------
Shared Libraries for /usr/lib/pymodules/python2.6/mlt/_mlt.so
-----------------------------------------------------------
 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/i686/cmov/libc.so.6 (0x00589000)
 /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
Jonathan Thomas (jonoomph) said :
#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/libmlt++.so.2, but that file does not exist.

You could try creating a link called "/usr/lib/libmlt++.so.2" that points to "/usr/lib/libmlt.so.0.5.0" and see what happens.

I think this is the syntax:
sudo ln '/usr/lib/libmlt.so.0.5.0' '/usr/lib/libmlt++.so.2'

Revision history for this message
Olivier Girard (eolinwen) said :
#40

Jonathan you have forgotten the symbolic so the syntax is :
sudo ln -s /usr/lib/libmlt.so.0.5.0 /usr/lib/libmlt++.so.2
The quote ' are she obligatories ?

Revision history for this message
manolo (mac-man2005) said :
#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=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 libmlt1 0.5-0ubuntu0~karmic1 multimedia framework (runtime)
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/gnome/help/openshot
/usr/share/pyshared/openshot
/usr/share/doc/openshot
/usr/share/omf/openshot
/usr/lib/mime/packages/openshot
/usr/lib/pymodules/python2.6/openshot
/usr/lib/pymodules/python2.5/openshot
/usr/bin/openshot

-----------------------------------------------------------
Find 'mlt' files & folders
-----------------------------------------------------------
/usr/share/mlt
/usr/share/pyshared/mlt
/usr/lib/mlt
/usr/lib/pyshared/python2.6/mlt
/usr/lib/pymodules/python2.6/mlt

-----------------------------------------------------------
Find libmlt*.so*
-----------------------------------------------------------
/usr/lib/libmlt.so.0.5.0
/usr/lib/libmlt++.so.2
/usr/lib/mlt/libmltmotion_est.so
/usr/lib/mlt/libmltmelt.so
/usr/lib/mlt/libmltxml.so
/usr/lib/mlt/libmltkino.so
/usr/lib/mlt/libmltresample.so
/usr/lib/mlt/libmltsox.so
/usr/lib/mlt/libmltoldfilm.so
/usr/lib/mlt/libmltgtk2.so
/usr/lib/mlt/libmltvorbis.so
/usr/lib/mlt/libmltnormalize.so
/usr/lib/mlt/libmltdgraft.so
/usr/lib/mlt/libmltfrei0r.so
/usr/lib/mlt/libmltjackrack.so
/usr/lib/mlt/libmltxine.so
/usr/lib/mlt/libmltdv.so
/usr/lib/mlt/libmltplus.so
/usr/lib/mlt/libmltqimage.so
/usr/lib/mlt/libmltsdl.so
/usr/lib/mlt/libmltcore.so
/usr/lib/mlt/libmltavformat.so
/usr/lib/mlt/libmltvmfx.so
/usr/lib/mlt/libmltkdenlive.so
/usr/lib/mlt/libmlteffectv.so
/usr/lib/libmlt++.so.0.5.0
/usr/lib/libmlt++.so.3
/usr/lib/libmlt.so.2

-----------------------------------------------------------
Locate '_mlt.so', used by python-mlt
-----------------------------------------------------------
/usr/lib/pymodules/python2.6/mlt/_mlt.so
/usr/lib/pyshared/python2.6/mlt/_mlt.so

-----------------------------------------------------------
Shared Libraries for /usr/lib/pymodules/python2.6/mlt/_mlt.so
-----------------------------------------------------------
 linux-gate.so.1 => (0x00ead000)
 libmlt++.so.2 => /usr/lib/libmlt++.so.2 (0x00110000)
 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0059c000)
 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0035d000)
 libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00f34000)
 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00a38000)
 /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
manolo (mac-man2005) said :
#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/python2.6/threading.py", line 525, 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

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=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 libmlt1 0.5-0ubuntu0~karmic1 multimedia framework (runtime)
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/gnome/help/openshot
/usr/share/pyshared/openshot
/usr/share/doc/openshot
/usr/share/omf/openshot
/usr/lib/mime/packages/openshot
/usr/lib/pymodules/python2.6/openshot
/usr/lib/pymodules/python2.5/openshot
/usr/bin/openshot

-----------------------------------------------------------
Find 'mlt' files & folders
-----------------------------------------------------------
/usr/share/mlt
/usr/share/pyshared/mlt
/usr/lib/mlt
/usr/lib/pyshared/python2.6/mlt
/usr/lib/pymodules/python2.6/mlt

-----------------------------------------------------------
Find libmlt*.so*
-----------------------------------------------------------
/home/manolo/Desktop/libmlt++.so.2
/usr/lib/libmlt.so.0.5.0
/usr/lib/libmlt++.so.2
/usr/lib/mlt/libmltmotion_est.so
/usr/lib/mlt/libmltmelt.so
/usr/lib/mlt/libmltxml.so
/usr/lib/mlt/libmltkino.so
/usr/lib/mlt/libmltresample.so
/usr/lib/mlt/libmltsox.so
/usr/lib/mlt/libmltoldfilm.so
/usr/lib/mlt/libmltgtk2.so
/usr/lib/mlt/libmltvorbis.so
/usr/lib/mlt/libmltnormalize.so
/usr/lib/mlt/libmltdgraft.so
/usr/lib/mlt/libmltfrei0r.so
/usr/lib/mlt/libmltjackrack.so
/usr/lib/mlt/libmltxine.so
/usr/lib/mlt/libmltdv.so
/usr/lib/mlt/libmltplus.so
/usr/lib/mlt/libmltqimage.so
/usr/lib/mlt/libmltsdl.so
/usr/lib/mlt/libmltcore.so
/usr/lib/mlt/libmltavformat.so
/usr/lib/mlt/libmltvmfx.so
/usr/lib/mlt/libmltkdenlive.so
/usr/lib/mlt/libmlteffectv.so
/usr/lib/libmlt++.so.0.5.0
/usr/lib/libmlt++.so.3
/usr/lib/libmlt.so.2

-----------------------------------------------------------
Locate '_mlt.so', used by python-mlt
-----------------------------------------------------------
/usr/lib/pymodules/python2.6/mlt/_mlt.so
/usr/lib/pyshared/python2.6/mlt/_mlt.so

-----------------------------------------------------------
Shared Libraries for /usr/lib/pymodules/python2.6/mlt/_mlt.so
-----------------------------------------------------------
 linux-gate.so.1 => (0x00fff000)
 libmlt++.so.2 => /usr/lib/libmlt++.so.2 (0x00b14000)
 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00b50000)
 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00110000)
 libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x006ea000)
 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x008a3000)
 /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
Jonathan Thomas (jonoomph) said :
#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://answers.launchpad.net/openshot/+faq/1032

Revision history for this message
manolo (mac-man2005) said :
#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=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 libmlt1 0.5-0ubuntu0~karmic1 multimedia framework (runtime)
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/Desktop
/usr/lib/python2.6
/usr/lib/python2.6/plat-linux2
/usr/lib/python2.6/lib-tk
/usr/lib/python2.6/lib-old
/usr/lib/python2.6/lib-dynload
/usr/lib/python2.6/dist-packages
/usr/lib/python2.6/dist-packages/PIL
/usr/lib/python2.6/dist-packages/gst-0.10
/usr/lib/pymodules/python2.6
/usr/lib/python2.6/dist-packages/gtk-2.0
/usr/lib/pymodules/python2.6/gtk-2.0
/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode
/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode
/usr/local/lib/python2.6/dist-packages

-----------------------------------------------------------
Files in /usr/lib/pymodules/python2.6/mlt (used by python-mlt)
-----------------------------------------------------------
/usr/lib/pymodules/python2.6/mlt
/usr/lib/pymodules/python2.6/mlt/_mlt.so
/usr/lib/pymodules/python2.6/mlt/example.pyc
/usr/lib/pymodules/python2.6/mlt/__init__.pyc
/usr/lib/pymodules/python2.6/mlt/__init__.py
/usr/lib/pymodules/python2.6/mlt/mlt_wrap.o
/usr/lib/pymodules/python2.6/mlt/example.py
/usr/lib/pymodules/python2.6/mlt/mlt.py
/usr/lib/pymodules/python2.6/mlt/mlt.pyc

-----------------------------------------------------------
Attempt to import mlt (using Python)
-----------------------------------------------------------
/usr/lib/pymodules/python2.6/mlt/_mlt.so: undefined symbol: __gxx_personality_v0

-----------------------------------------------------------
Find 'openshot' files & folders
-----------------------------------------------------------
/usr/share/gnome/help/openshot
/usr/share/pyshared/openshot
/usr/share/doc/openshot
/usr/share/omf/openshot
/usr/lib/mime/packages/openshot
/usr/lib/pymodules/python2.6/openshot
/usr/lib/pymodules/python2.5/openshot
/usr/bin/openshot

-----------------------------------------------------------
Find 'mlt' files & folders
-----------------------------------------------------------
/usr/share/mlt
/usr/share/pyshared/mlt
/usr/lib/mlt
/usr/lib/pyshared/python2.6/mlt
/usr/lib/pymodules/python2.6/mlt

-----------------------------------------------------------
Find libmlt*.so*
-----------------------------------------------------------
/home/manolo/Desktop/libmlt++.so.2
/usr/lib/libmlt.so.0.5.0
/usr/lib/libmlt++.so.2
/usr/lib/mlt/libmltmotion_est.so
/usr/lib/mlt/libmltmelt.so
/usr/lib/mlt/libmltxml.so
/usr/lib/mlt/libmltkino.so
/usr/lib/mlt/libmltresample.so
/usr/lib/mlt/libmltsox.so
/usr/lib/mlt/libmltoldfilm.so
/usr/lib/mlt/libmltgtk2.so
/usr/lib/mlt/libmltvorbis.so
/usr/lib/mlt/libmltnormalize.so
/usr/lib/mlt/libmltdgraft.so
/usr/lib/mlt/libmltfrei0r.so
/usr/lib/mlt/libmltjackrack.so
/usr/lib/mlt/libmltxine.so
/usr/lib/mlt/libmltdv.so
/usr/lib/mlt/libmltplus.so
/usr/lib/mlt/libmltqimage.so
/usr/lib/mlt/libmltsdl.so
/usr/lib/mlt/libmltcore.so
/usr/lib/mlt/libmltavformat.so
/usr/lib/mlt/libmltvmfx.so
/usr/lib/mlt/libmltkdenlive.so
/usr/lib/mlt/libmlteffectv.so
/usr/lib/libmlt++.so.0.5.0
/usr/lib/libmlt++.so.3
/usr/lib/libmlt.so.2

-----------------------------------------------------------
Locate '_mlt.so', used by python-mlt
-----------------------------------------------------------
/usr/lib/pymodules/python2.6/mlt/_mlt.so
/usr/lib/pyshared/python2.6/mlt/_mlt.so

-----------------------------------------------------------
Shared Libraries for /usr/lib/pymodules/python2.6/mlt/_mlt.so
-----------------------------------------------------------
 linux-gate.so.1 => (0x00978000)
 libmlt++.so.2 => /usr/lib/libmlt++.so.2 (0x00776000)
 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00b3a000)
 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0041d000)
 libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x0030b000)
 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00beb000)
 /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
Jonathan Thomas (jonoomph) said :
#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
manolo (mac-man2005) said :
#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
manolo (mac-man2005) said :
#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/python2.6/threading.py", line 525, 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

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

Revision history for this message
Valthare (valt) said :
#48

I believe
sudo ln -s $(ls -C /usr/lib/libmlt++.so.* | cut -f 1 -d' ') /usr/lib/libmlt++.so.2
worked for me in Karmic. Can't remember what forum I found this in...

Revision history for this message
manolo (mac-man2005) said :
#49

Thanks for your post.
Already tried than solution. It doesn't work for me.

Revision history for this message
manolo (mac-man2005) said :
#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/python2.6/threading.py", line 525, 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

Revision history for this message
Olivier Girard (eolinwen) said :
#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.

To post a message you must log in.