Installation issue

Asked by Devlin7

Hi Jonathan,

I attempted to install Openshot on 32bit Ubutntu Karmic Koala. This is a new install and the only other app installed is kdenlive.
I followed your website instructions below.
deb http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntu karmic maindeb-src http://ppa.launchpad.net/jonoomph/openshot-edge/ubuntu karmic main
Signing key: 1024R/EDFBD1F9

I got the same error as this reviewer http://www.linuxjournal.com/content/introducing-openshot
    --------------------------------
       OpenShot (version 0.9.52)
    --------------------------------
    *** 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_innerself.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

entering sudo python setup.py results in a "no such file or directory".

 I looked for the mlt files in the python2.6 directory but there isn't even a site-packages directory.

Please note I am NOT complaining merely posting feedback on the install process, if this helps?
Regards

Graeme

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
Andy Finch (fincha) said :
#1

How did you install Kdenlive? If it is from a PPA then I don't think the two can work together, as the PPA install of Kdenlive installs it's own versions of MLT etc, whereas the Openshot PPA uses the versions in the Ubuntu repository.

Revision history for this message
Dave Phillips (dave-linux-sound) said :
#2

You might want to read this article:

http://www.linuxjournal.com/content/introducing-openshot

I had the same problems under 9.04 and solved them. Here's the relevant info from the article:

"After some research I found that the straightforward sudo make install was not enough to correctly install the MLT software. I discovered that MLT's Makefile for the language bindings includes a directive for installation, but there are no installation targets. Thus, the modules get built but are not installed.

Following advice from OpenShot developer Jonathan Thomas I manually copied three files from ~/src/mlt/src/swig/python to the /usr/lib/python2.6/site-packages directory. The needed files are the _mlt.so shared library, the mlt.py Python module, and the mlt_wrap.o object file. I ran the openshot command again, and again the program produced the same error message and failed to open.

At this point I suspected the Python PATH so I ran this command :

    echo $PYTHONPATH

The result was an empty string, proving that the PYTHONPATH had not been defined in my Ubuntu Jaunty Python environment. Python itself is definitely correctly installed, but without a defined PYTHONPATH its modules would be unavailable to OpenShot. I defined that path with this command :

    export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.6/site-packages/

Once again I tried to start OpenShot, and this time the program opened in all its glory (Figure 1). At last I could meet and greet OpenShot."

Best,

dp

Can you help with this problem?

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

To post a message you must log in.