Can't run OpenShot

Asked by Puzzlenoise

My problem is similar as the one which got already posted, but still there is a difference. Here the "log", if that's what it's called (I'm new to this stuff ^^°)

daryl@daryl-desktop:~/openshot/main$ python OpenShot.py
Traceback (most recent call last):
  File "OpenShot.py", line 21, in <module>
    import windows.MainGTK as MainGTK
  File "/home/daryl/openshot/main/windows/MainGTK.py", line 26, in <module>
    import classes.project
  File "/home/daryl/openshot/main/classes/project.py", line 20, in <module>
    import thumbnail as thumbnail
  File "/home/daryl/openshot/main/classes/thumbnail.py", line 19, in <module>
    import mlt
  File "/usr/local/lib/python2.5/site-packages/mlt.py", line 7, in <module>
    import _mlt
ImportError: libmlt++.so.2: cannot open shared object file: No such file or directory

I installed it with the Wizard. What should I do next, to get it working?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jonathan Thomas (jonoomph) said :
#1

Ok, this sounds solvable. =) Without more information, my guess is that MLT had an error while building. And thus, never created any .so files (which is the compiled library files). Just a guess.

Please run this command and let me know what the output is:

$ ls /usr/lib/libmlt*

Also, can you run this command and let me know the output:

$ cd ~/mlt/
$ find . -name "libmlt*" -print

Lastly, what OS are you running (name and version) and what CPU architecture (32 / 64 bit)?

Revision history for this message
Puzzlenoise (daryl-sautter-sega-portal) said :
#2

Ah, to hear that it's solvable makes me relieved. ^_^ I had so many problems getting a Video editor working under "Ubuntu 8.10", it's a 32-Bit.

Here the outputs:

Output 1:
daryl@daryl-desktop:~$ ls /usr/lib/libmlt*
/usr/lib/libmlt.so.0.3.6 /usr/lib/libmlt.so.1
/usr/lib/libmlt++.so.0.3.6 /usr/lib/libmlt++.so.1

Output 2:
daryl@daryl-desktop:~/mlt$ find . -name "libmlt*" -print
./src/mlt++/libmlt++.so.0.4.1
./src/mlt++/libmlt++.so
./src/mlt++/libmlt++.so.2
./src/framework/libmlt.so.1
./src/framework/libmlt.so
./src/framework/libmlt.so.0.4.1
./src/modules/libmltavformat.so
./src/modules/libmltxine.so
./src/modules/libmltoldfilm.so
./src/modules/libmltgtk2.so
./src/modules/libmltnormalize.so
./src/modules/libmltcore.so
./src/modules/libmltdv.so
./src/modules/libmltvorbis.so
./src/modules/libmltmelt.so
./src/modules/libmltsdl.so
./src/modules/libmlteffectv.so
./src/modules/libmltjackrack.so

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

Ok, let's try this. Let's remove any "libmlt*" named files from the /usr/lib/:

$ cd /usr/lib
$ sudo rm libmlt*

We need to copy the following .so files into the /usr/lib

./src/mlt++/libmlt++.so.0.4.1
./src/mlt++/libmlt++.so
./src/mlt++/libmlt++.so.2
./src/framework/libmlt.so.1
./src/framework/libmlt.so
./src/framework/libmlt.so.0.4.1

So, these 2 commands should accomplish that:

$ sudo cp ~/mlt/src/framework/libmlt* /usr/lib
$ sudo cp ~/mlt/src/mlt++/libmlt* /usr/lib

Once you have copied all 6 files to your /usr/lib folder, let's double check that they made it there:

$ cd /usr/lib
$ ls libmlt*

Now that you have verified that the correct mlt files are in this folder, run the following command:

$ sudo ldconfig

To test if MLT is working, go to the ~/mlt/demo folder and run the mlt_watermark demo:

$ cd ~/mlt/demo
$ sudo bash mlt_watermark

If a new window opens with a large blue "ok" icon, then MLT is working. Now, try and run OpenShot again and let me know what happens.

Thanks,
-Jonathan

Revision history for this message
Puzzlenoise (daryl-sautter-sega-portal) said :
#4

Well, OpenShot starts now - but I can capture only 10 minutes. Is that correct? ^^
Everytime I want to watch a Preview of the video, OpenShot crashes...

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

Glad to hear that OpenShot starts. However, when it crashes, what output do you get in the terminal window. If you launch openshot via the terminal, the terminal should still be open with some error message.

Also, there is a 10 minute limit to a sequence, but only because I haven't needed a longer timeline so far (in my testing). The length of a sequence will soon be a property that is editable.

So, here are 3 things to do:

1) post the error messages / terminal output when OpenShot crashes
2) try the mlt_watermark demo and let me know if it works
3) run this command, and post the output:

$ melt -query producers

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

Puzzlenoise, there is a new version of our build wizard available now, and I bet it will fix the problems you are having. Please download the newest build wizard and give it a try.

Build Wizard:
https://launchpad.net/openshot/+download

Thanks,
-Jonathan

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

changing status to 'Solved'