Openshot won't start - installed from PPA

Asked by Dave M G

I have just installed Openshot version 1.0.0 from the PPA on Ubuntu Karmic 9.10.

It won't run, returning an error.

I have attempted to follow suggested fixes, such as removing the mlt.pyc file, but that has not helped.

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

Question information

Language:
English Edit question
Status:
Answered
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John McDougall (sysadmin-mcdougallshome) said :
#1

I just received an update to Openshot and after that, receive the exact same error messages. This happened a while back also, and many attempted fixes were suggested here, of which non worked for me. A couple of days later, there was another update, and it started working again, --- until today. The related question and suggestions can be found in question #95857

Revision history for this message
John McDougall (sysadmin-mcdougallshome) said :
#2

Look at bug 482985 at:
https://bugs.launchpad.net/openshot/+bug/482985

I deleted mlt.pyc as detailed in my comment there, and using the other instructions there, and Openshot started correctly.
John

Revision history for this message
Dave M G (martin-autotelic) said :
#3

I followed those instructions exactly. I removed MLT, Openshot, and searched and destroyed the mlt.py related files listed.

I still get this error:

$ openshot
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
Olivier Girard (eolinwen) said :
#4

This bug is duplicated here : https://bugs.launchpad.net/openshot/+bug/480894
I'll done soon two posts (en and fr) in the forum to explain this bug of the Makefile of MLT. And i'm looking actually how to create the binairie for the version 0.4.10. There is no reason that i can not create it, i have already created the 0.44 at the beginning of the creation of the binairies (i hope! ) but here i'm trying the Debian method. I hope that version will resolve this bug.
Olivier

Can you help with this problem?

Provide an answer of your own, or ask Dave M G for more information if necessary.

To post a message you must log in.