Error: OpenShot has not been installed in the Python path.

Post your questions about Openshot here.

Moderators: Andy, Cenwen, beats

Error: OpenShot has not been installed in the Python path.

Postby Gallaecio » Wed Sep 29, 2010 12:53 am

Hi, I'm trying to package OpenShot for Chakra GNU/Linux, but it get this output when running it:

Code: Select all
--------------------------------
   OpenShot (version 1.2.2)
--------------------------------
Process no longer exists: 4966.  Creating new pid lock file.
-------------------------------------------------------
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



I do the packaging through this command:
Code: Select all
python setup.py install --prefix=/usr --root="$pkgdir"


And then it's moved to the actual /usr.

This kind of error output has been reported in the Forums several times. All the topics I read talked about a missing symlink, but I have those files:
Code: Select all
[chaves@afonsox openshot]$ ls /usr/lib/*libmlt*
/usr/lib/libmlt.so    /usr/lib/libmlt.so.0.5.10    /usr/lib/libmlt.so.2    /usr/lib/libmlt++.so.3
/usr/lib/libmlt++.so  /usr/lib/libmlt++.so.0.5.10  /usr/lib/libmlt++.so.2
Gallaecio
New member
 
Posts: 3
Joined: Wed Sep 29, 2010 12:46 am

Re: Error: OpenShot has not been installed in the Python path.

Postby Cenwen » Wed Sep 29, 2010 5:05 pm

Hi,
Personally, i don't know Chakra Linux (derivated of Frugalware or Archlinux ? ) :o .
You should have all the packages who are here (i know it is for Ubuntu but it is the same name, only the version could be different) : http://openshotusers.com/forum/viewtopic.php?f=12&t=372
After, what are you version of FFmpeg, melt, frei0r-plugins ?
Thanks
Le jour où j'ai découvert le libre, j'ai su que je ne reviendrai jamais en arrière
Mon blog sur le multimédia, la photo et Openshot : http://linuxevolution.wordpress.com/
Google+ : https://plus.google.com/u/0/111472725110173916234/posts
User avatar
Cenwen
Moderator
 
Posts: 1609
Joined: Wed Nov 18, 2009 4:07 pm
Location: Clermont-Ferrand-Auvergne-France

Re: Error: OpenShot has not been installed in the Python path.

Postby Andy » Wed Sep 29, 2010 8:32 pm

Check your python path:
Code: Select all
echo $PYTHONPATH


If that returns an empty string, then you need to define the python path on your system. On Ubuntu, it would be as below, not sure of the python location on chakra linux.
Code: Select all
export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.6/site-packages/
User avatar
Andy
Site Admin/Openshot Dev
 
Posts: 877
Joined: Mon Nov 16, 2009 10:51 am
Location: London

Re: Error: OpenShot has not been installed in the Python path.

Postby Gallaecio » Wed Sep 29, 2010 10:09 pm

Cenwen wrote:Personally, i don't know Chakra Linux (derivated of Frugalware or Archlinux ? )


From Arch Linux, yes :)

Cenwen wrote:You should have all the packages who are here (i know it is for Ubuntu but it is the same name, only the version could be different) : http://openshotusers.com/forum/viewtopic.php?f=12&t=372


I have: x264, ffmpeg, python, pygtk (which must be equal to 'python-gtk2'), (python-)pygoocanvas, goocanvas (which might be equal to 'libgoocanvas3' and 'libgoocanvas-common'), mlt-python-bindings ('python-mlt2', I guess), mlt, frei0r-plugins, sox, librsvg(2-common).

I have not: python-xdg, python-glade2, melt, libsdl1.2debian-pulseaudio (I use Jack and Alsa for audio, and I have 'sdl_sound')

Cenwen wrote:After, what are you version of FFmpeg, melt, frei0r-plugins ?


ffmpeg: 24953
frei0r-plugins: 1.1.22
melt: none

Andy wrote:Check your python path:
Code: Select all
echo $PYTHONPATH


If that returns an empty string, then you need to define the python path on your system. On Ubuntu, it would be as below, not sure of the python location on chakra linux.
Code: Select all
export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.6/site-packages/


It is empty, but defining it doesn't solve the problem.


Now I'll build the missing dependencies. If after that it still doesn't work, I'll define the variable. Then I'll report back. Thanks both of you :D
Gallaecio
New member
 
Posts: 3
Joined: Wed Sep 29, 2010 12:46 am

Re: Error: OpenShot has not been installed in the Python path.

Postby Gallaecio » Wed Sep 29, 2010 10:16 pm

Installing pyxdg did the trick, thanks! :D
Gallaecio
New member
 
Posts: 3
Joined: Wed Sep 29, 2010 12:46 am

Re: Error: OpenShot has not been installed in the Python path.

Postby Cenwen » Thu Sep 30, 2010 7:53 pm

Python-glade2 is not necessary for this version (we use now libgtkbuilder instead of libglade.
But Melt is necessairy.
And it is working with Jack without problems ? :shock:
Le jour où j'ai découvert le libre, j'ai su que je ne reviendrai jamais en arrière
Mon blog sur le multimédia, la photo et Openshot : http://linuxevolution.wordpress.com/
Google+ : https://plus.google.com/u/0/111472725110173916234/posts
User avatar
Cenwen
Moderator
 
Posts: 1609
Joined: Wed Nov 18, 2009 4:07 pm
Location: Clermont-Ferrand-Auvergne-France

Re: Error: OpenShot has not been installed in the Python path.

Postby Malo » Wed Oct 13, 2010 12:21 pm

Hi.. I've the same error, but i'm on archlinux. Installing pyxdg doesn't solve the problem.. Any suggestion?
Malo
New member
 
Posts: 11
Joined: Fri Oct 08, 2010 10:27 am

Re: Error: OpenShot has not been installed in the Python path.

Postby Cenwen » Wed Oct 13, 2010 7:03 pm

What give you the previous commands ?

Have you all the dependencies installed ?

Have you jack installed ?
Le jour où j'ai découvert le libre, j'ai su que je ne reviendrai jamais en arrière
Mon blog sur le multimédia, la photo et Openshot : http://linuxevolution.wordpress.com/
Google+ : https://plus.google.com/u/0/111472725110173916234/posts
User avatar
Cenwen
Moderator
 
Posts: 1609
Joined: Wed Nov 18, 2009 4:07 pm
Location: Clermont-Ferrand-Auvergne-France


Return to General questions & help

Who is online

Users browsing this forum: No registered users