← Back to team overview

openshot.developers team mailing list archive

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

 

Fixed my problem, seems it was due to having installed Openshot from PPA
under 8.04 and then upgrading to 10.04. When openshot 1.1.3-1 from the
lucid repository updated the previous version during upgrade, it removed
the old package from /usr/share/openshot, but not the precompiled python
files, and installed the new version to /usr/share/pyshare/openshot.
Purging openshot afterward only removed the /usr/share/pyshare/openshot
folder, not the /usr/share/openshot with leftover pyc files, which in
/usr/bin/openshot is searched first and thus gave the python version
mismatch error 'Bad magic number'. Removing /usr/share/openshot did the
trick.

I revert my status change. Sorry for the spam.

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

-- 
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: Fix Released

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.