Install error ladspa

Questions or tips about installing Openshot from distribution packages, source code or building packages.

Moderators: Andy, Cenwen, beats

Install error ladspa

Postby balduro » Thu Mar 01, 2012 6:16 pm

Hello I have downloaded source code 1.4.2 version and have follow readme file instructions.
When execute the python setup.py install command, I receive this:


------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: Bad magic number in /usr/share/openshot/openshot.pyc
----------------------------------------------------------------

------------------------- ERROR 2 ------------------------------
Failed to import 'from openshot.openshot import main'
Error Message: Bad magic number in /usr/share/openshot/openshot.pyc
----------------------------------------------------------------

Following the instructions, run the MLT factory python command, and it shows this:

No LADSPA plugins were found!

Check your LADSPA_PATH environment variable.
<mlt.Repository; proxy of <Swig Object of type 'Mlt::Repository *' at 0xb6ead650> >

I'm lost. Any help? :(
balduro
New member
 
Posts: 11
Joined: Tue Feb 28, 2012 11:40 am

Re: Install error ladspa

Postby Andy » Fri Mar 02, 2012 10:10 am

The LADSPA error can be ignored - it is an information only message from MLT, it does not prevent OpenShot from running.

The line you should be concerned with is this one:

Error Message: Bad magic number in /usr/share/openshot/openshot.pyc

Not sure what it means as I don't have the source code in front of me, when I get the chance I'll take a look.
User avatar
Andy
Site Admin/Openshot Dev
 
Posts: 874
Joined: Mon Nov 16, 2009 10:51 am
Location: London

Re: Install error ladspa

Postby Andy » Mon Mar 05, 2012 11:28 am

This error is generated by Python. The solution is to delete the openshot.pyc file (this will get regenerated by Python next time you run openshot). Just make sure you don't delete openshot.py by mistake ;)
User avatar
Andy
Site Admin/Openshot Dev
 
Posts: 874
Joined: Mon Nov 16, 2009 10:51 am
Location: London


Return to Installation

Who is online

Users browsing this forum: No registered users