← Back to team overview

openshot.developers team mailing list archive

[Bug 439205] Re: OpenShot has not been installed in the Python path

 

Have the same error on Ubuntu 10.04 after upgrade from 8.04. Did a
complete deinstallation (purge) and then fresh install from ubuntu
repository (1.1.3-1), but no avail. Then run python from the command
line, and entered commands as seen in /usr/bin/openshot, namely:

me@mycomputer:~$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys,os
>>> sys.path.insert(0,'/usr/share/openshot')
>>> from openshot import main
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: Bad magic number in /usr/share/openshot/openshot.pyc
>>> 

I guess the precompiled python files have been compiled with a different
python version, the installation should compile them during install, but
that is not the case. Also, there are only pyc files installed, no py.

And I fear, the fix you released for the 0.9.43 PPA version does not fix
the 1.1.3 lucid universe issue.


** Changed in: openshot
       Status: Fix Released => Confirmed

-- 
OpenShot has not been installed in the Python path
https://bugs.launchpad.net/bugs/439205
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: Confirmed

Bug description:
I'm using Ubuntu 9.04.

After installing 0.9.42 from PPA, when I run openshot that is what I get:
-------------------------------------------------------------------------------------------------------------------
Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 0.9.42)
--------------------------------
-------------------------------------------------------
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 couldn't find 'setup.py' on the openshot package.
I have other PPA respositories in use so maybe there is an issue with them. I can't really be sure about this.