Error when trying to load. Failed to import 'from openshot import main' Error Message: cannot import name main

Asked by slese on 2012-04-09

Ubuntu 11-10

Gnome 3

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
--------------------------------
   OpenShot (version 1.4.2)
--------------------------------

Question information

Language:
English Edit question
Status:
Answered
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Last query:
2012-04-09
Last reply:
2012-04-09
Olivier Girard (eolinwen) said : #1

You seems to have a problem with your version of mlt.
Try to update it. See here : https://answers.launchpad.net/openshot/+faq/1861

slese (slese789) said : #2

Tried your suggestion and got this in the terminal.

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
--------------------------------
   OpenShot (version 1.4.2)
--------------------------------
Process no longer exists: 3838. Creating new pid lock file.
mlt_repository_init: failed to dlopen /usr/lib/mlt/libmltavformat.so
  (/usr/lib/mlt/libmltavformat.so: symbol ff_cropTbl, version LIBAVCODEC_53 not defined in file libavcodec.so.53 with link time reference)
No LADSPA plugins were found!

Check your LADSPA_PATH environment variable.

Detecting formats, codecs, and filters...
Segmentation fault

Olivier Girard (eolinwen) said : #3

According this thread (a summarize of a user that I got help) =>http://forum.ubuntu-fr.org/viewtopic.php?id=834251
you must install the ladpsa plugins, even if Openshot doesn't use them. Something have changed in our framework and we can't do nothing, for the moment.
So, you must install them with this command :
sudo apt-get install ladspa-sdk

If you get the following error of the same section in the post that I have given you, you should install the svn-ppa but think to de-active the "normal' ppa and after upgrade, de-active the svn-ppa and re-active the normal ppa.
Good luck.

Andrea Gonzalez (lunadeperros) said : #4

I had the same problem, all was working fine but suddenly openshot stop functioning:
I've found a solution:
First i reinstalled ffmpeg...
Then i uninstalled openshot, i cleaned up after with ubuntu tweak...
after that i manually delete the folder /.openshot in my persolnal files (use Crlt H, to see the hidden files)...
Rebooted my pc...
Finally i reinstallled openshot...

And it worked just fine ... :D

Can you help with this problem?

Provide an answer of your own, or ask slese for more information if necessary.

To post a message you must log in.