openshot won't open in Ubuntu 9.10

Bug #482985 reported by coasthi
124
This bug affects 23 people
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Fix Released
Undecided
Unassigned
Nominated for 1.0 by MrLinTux
Nominated for Build-wizard by Eugene
Nominated for Openshot-docs by Eugene
Nominated for Trunk by Eugene
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Every time I try and open openshot it comes up with this error
OpenShot (version 0.9.53)
--------------------------------
*** 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/share/openshot/classes/thumbnail.py", line 174, 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

user@user-desktop:~$ sudo python setup.py install
[sudo] password for user:
python: can't open file 'setup.py': [Errno 2] No such file or directory

Revision history for this message
Olivier Girard (eolinwen) wrote :

Hello
Thanks for your bug report. You have the solution here : https://bugs.launchpad.net/openshot/+bug/480894 because it's the same bug.

Revision history for this message
manolo (mac-man2005) wrote :

There seems to be no solution for me following that link.

Revision history for this message
coasthi (coasthi) wrote :

Thank you for your help and solution cenwen I had a look at the link you posted and tried following the directions on the link but still can't open the program (Openshot) Will try it again in a few days and see if I can get it to open and will post back on the results. Thank you very much again for your help cenwen.

Revision history for this message
Andy Finch (fincha) wrote :

Did you follow these instructions?

1) Remove OpenShot and MLT using Synaptic.
2) Then, look for the following files and delete them if you find them:
     - mlt.py
     - _mlt.so
     - mlt_wrap.o
(they could be in /usr/lib/python2.6/dist-packages/ or /usr/local, depending on your installation method)
3) Finally, re-install OpenShot and MLT using Synaptic (and the new
experimental PPA)

Revision history for this message
coasthi (coasthi) wrote :

Hi Andy
Thank you for your instructions. I was hopping it will fix the problem, I tried using your instructions but still no luck and still coming up with the same error when I try and open openshot in the console, if I try and open it from the Application menu noting happens.
Will keep trying to get it to work

Revision history for this message
Andy Finch (fincha) wrote :

I'm sure we can get you going eventually. Why don't you head over to our new forum at:

http://openshotusers.com/forum/index.php

It's an easier environment go go back & forth with various instructions etc.

Andy Finch (fincha)
Changed in openshot:
status: New → Incomplete
Revision history for this message
John McDougall (sysadmin-mcdougallshome) wrote :

Andy,
In comment #4 you give these instructions:
-------------------------------------------------------------------
Did you follow these instructions?

1) Remove OpenShot and MLT using Synaptic.
2) Then, look for the following files and delete them if you find them:
     - mlt.py
     - _mlt.so
     - mlt_wrap.o
(they could be in /usr/lib/python2.6/dist-packages/ or /usr/local, depending on your installation method)
3) Finally, re-install OpenShot and MLT using Synaptic (and the new
experimental PPA)
------------------------------------------------------------------------
I did not find any of the above listed files, but in /usr/lib/python2.6/dist-packages/ there was mlt.pyc . I deleted it then reinstalled and Openshot started up correctly!
John

Revision history for this message
MrLinTux (rupert-zimmermann) wrote : Re: [Bug 482985] Re: openshot won't open in Ubuntu 9.10
Download full text (3.3 KiB)

Hi John, thanks für your mail.
I did that what you mentioned.
After clearing the system I installed openshot and went on these errors.

a) python-mlt (the new one) is installating the mlt-things in directories
called .../mlt/
These directory istn't set up in the installation by installing openshot or
püython-mlt.
I checked that by starting the interpreter and found the sys.path without
those mlt-direcories:
call python interpreter by typing python, then 'import sys' and sys.path
should give you the information.
To work around this you canset the PYTHONPATH Variable which is preloded the
sys.path and is accessible from the shell.
b) The Library ...so.2 is called, but on my system it is set up to so.3. So
I hard linked it fromone toanother and every went fine.

at least b) sould be fixed from this great guy Jonathan, because the libs
will increase their numbers in future. For that I wrote it.
Thanks for your mail, inbetween some others running on this, I found Question
#95857 <https://answers.launchpad.net/openshot/+question/95857>on launchpad.

Best Regards from Germany - CU in the net.
Rupert

2010/1/15 John McDougall <email address hidden>

> Andy,
> In comment #4 you give these instructions:
> -------------------------------------------------------------------
> Did you follow these instructions?
>
> 1) Remove OpenShot and MLT using Synaptic.
> 2) Then, look for the following files and delete them if you find them:
> - mlt.py
> - _mlt.so
> - mlt_wrap.o
> (they could be in /usr/lib/python2.6/dist-packages/ or /usr/local,
> depending on your installation method)
> 3) Finally, re-install OpenShot and MLT using Synaptic (and the new
> experimental PPA)
> ------------------------------------------------------------------------
> I did not find any of the above listed files, but in
> /usr/lib/python2.6/dist-packages/ there was mlt.pyc . I deleted it then
> reinstalled and Openshot started up correctly!
> John
>
> --
> openshot won't open in Ubuntu 9.10
> https://bugs.launchpad.net/bugs/482985
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OpenShot Video Editor: Incomplete
> Status in Ubuntu: New
>
> Bug description:
> Every time I try and open openshot it comes up with this error
> OpenShot (version 0.9.53)
> --------------------------------
> *** 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/share/openshot/classes/thumbnail.py", line 174, 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
>
> user@user-desktop:~$ sudo python setup.py install
> [sudo] password for user:
> python: can't open file 'setup.py': [Errno 2] No such file or directory
>
>...

Read more...

Revision history for this message
Thomas B (wellenrauschen) wrote :

I have followed these steps:

1) Remove OpenShot and MLT using Synaptic.
2) Then, look for the following files and delete them if you find them:
     - mlt.py
     - _mlt.so
     - mlt_wrap.o

But i can't find these files on my system...
After installing with Synaptec i got the same error message:

Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 1.0.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/share/openshot/classes/thumbnail.py", line 174, 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
wl2776 (wl2776) wrote :

Oups... Again, same thing here.

*** ERROR: MLT Python bindings failed to import ***

Not sure, why this has worked previous time in the bug #501310.

I've run the interactive python prompt and tried importing mlt:

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

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

Looks like mlt python bindings are bound to the old version of the mlt.

Revision history for this message
MrLinTux (rupert-zimmermann) wrote :

Hi,
I did a new installation of Ubuntu to clear things up - and indeed - with
packages and dependencies were installed correctly.
So, I'm testing Openshot now.
In the effects and filters are some very interesting features - on the other
hand I found some strange artefacts by simple clip manipulations (Properties
(Viedeo Fade in doesnt work correctly in my opinion (It fades from white not
from black and seems to be a little inaccurate.
I drilled down in the python code where I found some hints that it should
work as expected (there is referenced to a black plane).
But nevertheless - the installation problems may be caused to multiple
installation of Mlt, ffmpeg and so on.
CU
Rupert

2010/1/19 wl2776 <email address hidden>

> Oups... Again, same thing here.
>
> *** ERROR: MLT Python bindings failed to import ***
>
> Not sure, why this has worked previous time in the bug #501310.
>
> I've run the interactive python prompt and tried importing mlt:
>
> $ 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
> >>>
>
> $ locate libmlt++.so
> /usr/lib/libmlt++.so.0.4.10
> /usr/lib/libmlt++.so.3
> $ locate libmlt++.so.2
> $
>
> Looks like mlt python bindings are bound to the old version of the mlt.
>
> --
> openshot won't open in Ubuntu 9.10
> https://bugs.launchpad.net/bugs/482985
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OpenShot Video Editor: Incomplete
> Status in Ubuntu: New
>
> Bug description:
> Every time I try and open openshot it comes up with this error
> OpenShot (version 0.9.53)
> --------------------------------
> *** 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/share/openshot/classes/thumbnail.py", line 174, 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
>
> user@user-desktop:~$ sudo python setup.py install
> [sudo] password for user:
> python: can't open file 'setup.py': [Errno 2] No such file or directory
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openshot/+bug/482985/+subscribe
>

--
Rupert Zimmermann
Kaiserswerther Str. 188
40474 Düsseldorf

Revision history for this message
Andy Finch (fincha) wrote :

If you're getting this error:

*** 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/share/openshot/classes/thumbnail.py", line 174, in run
    mlt.Factory().init()
NameError: global name 'mlt' is not defined

then it is usually the case that there is a previous installation of MLT hanging around on your machine. This could be from an earlier install of Openshot (maybe via the .deb installer, or a previous PPA, or from a kdenlive PPA or something). Either way, you should uninstall Openshot and then ensure the previous version of MLT is fully uninstalled. Check there are no MLT files in the folder:

/usr/lib/python2.6/dist-packages

There is further detailed info here:

https://answers.launchpad.net/openshot/+question/95857

Revision history for this message
Thomas B (wellenrauschen) wrote :

For me it solfed the error after i created this symbolic link (Ubuntu 9.10/ 64 Bit):

sudo ln -s /usr/lib/libmlt++.so.0.4.10 /usr/lib/libmlt++.so.2

Best regards
Thomas

Revision history for this message
Olivier Girard (eolinwen) wrote :

@ Thomas
i have two questions to ask.
- have you do another installation before to have this problem ?
-how have you know which librairie was wrong (his link) ?
Thanks Olivier

Revision history for this message
wl2776 (wl2776) wrote :

I've did some research and have found the following.

Packaging of libmlt++ is incorrect.
File /usr/lib/libmlt++.so.2 is listed somewhere in the package contents, but it is not included in the package.
File /usr/lib/libmlt++.so is included only in the -dev package (libmlt++-dev).

Here is the output of several comands on my system - Karmik with all updates

$ apt-file search libmlt++
libmlt++-dev: /usr/lib/libmlt++.so
libmlt++-dev: /usr/share/doc/libmlt++-dev/changelog.Debian.gz
libmlt++-dev: /usr/share/doc/libmlt++-dev/changelog.gz
libmlt++-dev: /usr/share/doc/libmlt++-dev/copyright
libmlt++2: /usr/lib/libmlt++.so.0.4.4
libmlt++2: /usr/lib/libmlt++.so.2
libmlt++2: /usr/share/doc/libmlt++2/changelog.Debian.gz
libmlt++2: /usr/share/doc/libmlt++2/changelog.gz
libmlt++2: /usr/share/doc/libmlt++2/copyright

$ aptitude show libmlt++2
Package: libmlt++2
State: installed

However, my system doesn't contain a file /usr/lib/libmlt++.so.2

$ locate libmlt++.so.2
$

$ dpkg -L libmlt++2
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libmlt++2
/usr/share/doc/libmlt++2/copyright
/usr/lib
/usr/lib/libmlt++.so.0.4.10
/usr/share/doc/libmlt++2/NEWS.gz
/usr/share/doc/libmlt++2/changelog.gz
/usr/share/doc/libmlt++2/changelog.Debian.gz
/usr/share/doc/libmlt++2/AUTHORS
/usr/share/doc/libmlt++2/README
/usr/lib/libmlt++.so.3

$ apt-file search /usr/lib/libmlt++.so.2
libmlt++2: /usr/lib/libmlt++.so.2

I think, libmlt++ should be repackaged to include libmlt++.so, and libmlt++.so.2. Probably, these should be symbolic links to the actual .so file (libmlt++.so.0.4.10).

Revision history for this message
wl2776 (wl2776) wrote :

> I think, libmlt++ should be repackaged to include libmlt++.so, and libmlt++.so.2.
> Probably, these should be symbolic links to the actual .so file (libmlt++.so.0.4.10).

... And the python-mlt should be linked to libmlt++.so

Revision history for this message
Olivier Girard (eolinwen) wrote : Re: [Openshot.developers] [Bug 482985] Re: openshot won't open in Ubuntu 9.10

OK thanks i understand well, certainly it will help another personn with
this type of problems.

2010/1/20 wl2776 <email address hidden>

> > I think, libmlt++ should be repackaged to include libmlt++.so, and
> libmlt++.so.2.
> > Probably, these should be symbolic links to the actual .so file
> (libmlt++.so.0.4.10).
>
> ... And the python-mlt should be linked to libmlt++.so
>
> --
> openshot won't open in Ubuntu 9.10
> https://bugs.launchpad.net/bugs/482985
> You received this bug notification because you are a member of OpenShot
> Developers, which is subscribed to OpenShot Video Editor.
>
> Status in OpenShot Video Editor: Incomplete
> Status in Ubuntu: New
>
> Bug description:
> Every time I try and open openshot it comes up with this error
> OpenShot (version 0.9.53)
> --------------------------------
> *** 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/share/openshot/classes/thumbnail.py", line 174, 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
>
> user@user-desktop:~$ sudo python setup.py install
> [sudo] password for user:
> python: can't open file 'setup.py': [Errno 2] No such file or directory
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openshot.developers<https://launchpad.net/%7Eopenshot.developers>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~openshot.developers<https://launchpad.net/%7Eopenshot.developers>
> More help : https://help.launchpad.net/ListHelp
>

--
Cenwen un elfe sur la banquise/ an elve on the ice
Mon blog perso sur le multimédia, Ubuntu, Linux et OpenShot :
http://linuxevolution.wordpress.com/
http://openshotusers.com/
http://openshotusers.com/forum/index.php

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

I had the same experience and I have found that enabling the ppa for kdenlive stable will conflit with openshot ppa and openshot won't run, printing that error.

I have remove kdenlive, autoremoved that packages, and removed the ppa. Then added openshot ppa and installed it.

Now it is running fine.

Fabio

Revision history for this message
MrLinTux (rupert-zimmermann) wrote : Re: [Bug 482985] Re: openshot won't open in Ubuntu 9.10
Download full text (3.4 KiB)

Hi,
interestingly I found similar results.
After some remarks from other users, whohad no problems - Idid a brand new
Karmic installation and Openshot on a seperate system - and.... it ran!

So I finalize, the package process and the dependencies are not "purely"
correct, Ithink.
Neverthelessnice prog.
CU..in the net
Rupert

2010/1/20 wl2776 <email address hidden>

> I've did some research and have found the following.
>
> Packaging of libmlt++ is incorrect.
> File /usr/lib/libmlt++.so.2 is listed somewhere in the package contents,
> but it is not included in the package.
> File /usr/lib/libmlt++.so is included only in the -dev package
> (libmlt++-dev).
>
> Here is the output of several comands on my system - Karmik with all
> updates
>
> $ apt-file search libmlt++
> libmlt++-dev: /usr/lib/libmlt++.so
> libmlt++-dev: /usr/share/doc/libmlt++-dev/changelog.Debian.gz
> libmlt++-dev: /usr/share/doc/libmlt++-dev/changelog.gz
> libmlt++-dev: /usr/share/doc/libmlt++-dev/copyright
> libmlt++2: /usr/lib/libmlt++.so.0.4.4
> libmlt++2: /usr/lib/libmlt++.so.2
> libmlt++2: /usr/share/doc/libmlt++2/changelog.Debian.gz
> libmlt++2: /usr/share/doc/libmlt++2/changelog.gz
> libmlt++2: /usr/share/doc/libmlt++2/copyright
>
> $ aptitude show libmlt++2
> Package: libmlt++2
> State: installed
>
> However, my system doesn't contain a file /usr/lib/libmlt++.so.2
>
> $ locate libmlt++.so.2
> $
>
>
> $ dpkg -L libmlt++2
> /.
> /usr
> /usr/share
> /usr/share/doc
> /usr/share/doc/libmlt++2
> /usr/share/doc/libmlt++2/copyright
> /usr/lib
> /usr/lib/libmlt++.so.0.4.10
> /usr/share/doc/libmlt++2/NEWS.gz
> /usr/share/doc/libmlt++2/changelog.gz
> /usr/share/doc/libmlt++2/changelog.Debian.gz
> /usr/share/doc/libmlt++2/AUTHORS
> /usr/share/doc/libmlt++2/README
> /usr/lib/libmlt++.so.3
>
> $ apt-file search /usr/lib/libmlt++.so.2
> libmlt++2: /usr/lib/libmlt++.so.2
>
>
> I think, libmlt++ should be repackaged to include libmlt++.so, and
> libmlt++.so.2. Probably, these should be symbolic links to the actual .so
> file (libmlt++.so.0.4.10).
>
> --
> openshot won't open in Ubuntu 9.10
> https://bugs.launchpad.net/bugs/482985
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OpenShot Video Editor: Incomplete
> Status in Ubuntu: New
>
> Bug description:
> Every time I try and open openshot it comes up with this error
> OpenShot (version 0.9.53)
> --------------------------------
> *** 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/share/openshot/classes/thumbnail.py", line 174, 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
>
> user@user-desktop:~$ sudo python setup.py install
> [sudo] password for user:
> ...

Read more...

Revision history for this message
Olivier Girard (eolinwen) wrote :

Hi normal
They have done the same error than us with the first PPA. They have created a special version of ffmpeg which disinstall the official version (medibuntu) and all the applications working with same the 0.75

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and trying to help make Ubuntu better. However, it seems that you are not using a software package provided by the official Ubuntu repositories. Because of this the Ubuntu project can not support or fix your particular bug. Please report this bug to the provider of the software package. Thanks!
If you are interested in learning more about software repositories and Ubuntu the following pages should be informative:
1. http://www.ubuntu.com/community/ubuntustory/components - information about Ubuntu repositories
2. https://help.ubuntu.com/community/Repositories - information regarding managing repositories.

Changed in ubuntu:
status: New → Invalid
Revision history for this message
Jimy (jimmy-sloanv) wrote :

I now get a similar message on my install of ubuntu 9.10. Openshot 1.0 used to work fairly well but since upgrading to openshot 1.1 the program fails to start. I removed the openshot folder in user/share before installing version 1.1 and I do not have kdenlive installed. When running from the terminal I get the following message.

 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

jimy@jimy-laptop:~$ ^C
jimy@jimy-laptop:~$ ^C
jimy@jimy-laptop:~$ sudo python setup.py install
[sudo] password for jimy:
python: can't open file 'setup.py': [Errno 2] No such file or directory

Revision history for this message
Olivier Girard (eolinwen) wrote :

Hum could you do severals things ?
run openshot in a terminal and put us the result please.
try that too : https://answers.launchpad.net/openshot/+faq/983
and that too (if you have not do this operation when you have remove the openshot folder):
https://answers.launchpad.net/openshot/+faq/989
Thanks

Revision history for this message
Jonathan Thomas (jonoomph) wrote : Re: [Openshot.developers] [Bug 482985] Re: openshot won't open in Ubuntu 9.10

Also, you might check out this thread:
https://answers.launchpad.net/openshot/+question/95857

Thanks,
-Jonathan

On Tue, Mar 9, 2010 at 1:37 PM, cenwen <email address hidden> wrote:

> Hum could you do severals things ?
> run openshot in a terminal and put us the result please.
> try that too : https://answers.launchpad.net/openshot/+faq/983
> and that too (if you have not do this operation when you have remove the
> openshot folder):
> https://answers.launchpad.net/openshot/+faq/989
> Thanks
>
> --
> openshot won't open in Ubuntu 9.10
> https://bugs.launchpad.net/bugs/482985
> You received this bug notification because you are a member of OpenShot
> Developers, which is subscribed to OpenShot Video Editor.
>
> Status in OpenShot Video Editor: Incomplete
> Status in Ubuntu: Invalid
>
> Bug description:
> Every time I try and open openshot it comes up with this error
> OpenShot (version 0.9.53)
> --------------------------------
> *** 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/share/openshot/classes/thumbnail.py", line 174, 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
>
> user@user-desktop:~$ sudo python setup.py install
> [sudo] password for user:
> python: can't open file 'setup.py': [Errno 2] No such file or directory
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openshot.developers<https://launchpad.net/%7Eopenshot.developers>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~openshot.developers<https://launchpad.net/%7Eopenshot.developers>
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Jimy (jimmy-sloanv) wrote :

thanks. Cenwen, I did post the results of running Openshot in the terminal in my last post. Jonathon thanks for posting the link to that question, that is my problem. I'll follow that thread and see what develops.

Revision history for this message
Jimy (jimmy-sloanv) wrote :

This command is what saved the day on my ubuntu karmic 64 bit install:

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

Revision history for this message
Olivier Girard (eolinwen) wrote :

If i understand well this command was helping you for working Openshot now.
So thanks for the feedback.

Revision history for this message
Wolfgang Kufner (wolfgangkufner) wrote :

For the record: I installed openshot from the ppa jonoomph/openshot-edge in today lucid iso 64 bit (loopback mounted from hd) and (after activating universe and multiverse for python-mlt2) everything installed fine. It started up fine and I was able to complete a (very small) test project.

Thank you and congratulations for the inclusion of openshot 1.1 in lucid :-)

Revision history for this message
rhurlbut (rhurlbut+launchpad) wrote :

Running 64bit Karmic 2.6.31-20-generic
using Synaptic compete removal of previous version and install from latest PPA
from terminal getting this:
--------------------------------
   OpenShot (version 1.1.1)
--------------------------------
A new frmMain has been created
state saved
Segmentation fault

then performed a complete removal of openshot via Synaptic and complete removal/install of python-mlt

under Synaptic properties (dependencies) for python-mlt getting these conflicts
mlt-python
openshot-ffmpeg
openshot-frei0r
openshot-mlt
openshot-x264

Openshot 1.0 worked fine in Intrepid prior to upgrade.

Revision history for this message
David Robert Lewis (afrodeity) wrote :

--------------------------------
   OpenShot (version 1.1.1)
--------------------------------
*** 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
MrLinTux (rupert-zimmermann) wrote : Re: [Bug 482985] Re: openshot won't open in Ubuntu 9.10

Hello David,
after a new install of ubuntu and a fresh install of Openshot I was out of
this issue. Nevertheless there is an upgrade of the package already
distributet - > so the error may be solved anyway.
Thanks für your remarks.
MrLintux
2010/3/26 David Robert Lewis <email address hidden>

> --------------------------------
> OpenShot (version 1.1.1)
> --------------------------------
> *** 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
>
> --
> openshot won't open in Ubuntu 9.10
> https://bugs.launchpad.net/bugs/482985
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OpenShot Video Editor: Incomplete
> Status in Ubuntu: Invalid
>
> Bug description:
> Every time I try and open openshot it comes up with this error
> OpenShot (version 0.9.53)
> --------------------------------
> *** 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/share/openshot/classes/thumbnail.py", line 174, 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
>
> user@user-desktop:~$ sudo python setup.py install
> [sudo] password for user:
> python: can't open file 'setup.py': [Errno 2] No such file or directory
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openshot/+bug/482985/+subscribe
>

--
Rupert Zimmermann
Kaiserswerther Str. 188
40474 Düsseldorf

Changed in openshot:
status: Incomplete → Fix Released
Revision history for this message
Antonio Roberts (hellocatfood) wrote :

I'm using Openshot from the ppa on 9.10 and have tried everything listed here (uninstalling/reinstalling, creating symlinks) and still getting this error:

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

Changed in openshot:
status: Fix Released → Confirmed
Revision history for this message
XFACT (avinandan) wrote :

Seems like no other ways left so batter we wait for Lucid lynx, cause i have seen that Openshot running nicely in that platform but only problem is the platform is still unstable, so happy video editing after 29th April :)

Revision history for this message
Jonathan Thomas (jonoomph) wrote :

Please check out this FAQ if you are having trouble getting OpenShot to launch:
https://answers.launchpad.net/openshot/+faq/1032

Hopefully it will help you get things working. =)

Revision history for this message
Antonio Roberts (hellocatfood) wrote :

I see what happened now. I didn't have libmlt++.so.2 so linked it to libmlt++.so.0.5.0 instead using:

ln -s /usr/lib/libmlt++.so.0.5.0 /usr/lib/libmlt++.so.2

Now it works!

Revision history for this message
Smart Viking (smart-viking) wrote :

Here is a picture of what happened when i was installing

http://img171.imageshack.us/i/screenshotcl.png/

moimael (moimael)
Changed in openshot:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.