Terry H wrote:Hi Mike, I've never used openshot, but have used flowblade a fair bit and am familiar with kdenlive, so thought I'd give this openshot.sfs a try. Unfortunately on this Bionicpup64 install, it won't run. I checked the md5sum following download, which was correct. Output when running in terminal:
Code: Select all
root# openshot
Added /usr/share/openshot to system path
------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
------------------------- ERROR 2 ------------------------------
Failed to import 'from openshot.openshot import main'
Error Message: No module named gtk
----------------------------------------------------------------
OpenShot has failed to import some of the Python files or libraries
required for our application to run. Here are some trouble shooting
tips:
Tip 1) Check if MLT can be successfully imported in Python. Run the
following commands, and see if any errors are displayed. If you get
an error, you need to investigate the correct way to install MLT.
NOTE: Do not type the $ or >> characters in the examples below.
$ python
>> import mlt
>> mlt.Factory().init()
Tip 2) If MLT is working from the first example, then the next tip is
to look at the above error messages very closely, and google for more
help. It's likely the problem is already reported, and maybe there is
a simple work-around. Also, you can search for bugs or report a new
bug at https://bugs.launchpad.net/openshot. Good luck!
Hiya, Terry.
Sorry for the late reply; I've only just found this!
From the look of things, you'll need to install the 'pygtk' module from the Bionic repos.
Make sure it's for Python 2, NOT Python 3.
It didn't come up for me when I was working out the dependencies, because I already had it installed as a dependency for RecordMyDesktop; again, Python-based.
Let me know if that 'fixes' it for you. If not, give us a terminal read-out, and we'll see what's what. That'll fix error 2.
-----------------------------------------------
As for error 1, I've found it's usually caused by the way .deb packages install in Ubuntu itself; slightly different to how it works in Puppy. There's a missing sym-link.
Go into /usr/lib/python2.7. You'll find two directories need investigating;'site-packages', and 'dist-packages'. See which one the 'openshot' directory's been installed to. A pound to a penny it's been put in 'dist-packages'.....but, for Openshot to work with Puppy, it needs to be in 'site-packages'.
If it's the first, but not the second, just sym-link 'openshot' (in 'dist-packages') across to 'site-packages'. Have a ROX window open on each, drag it across from 'dist-packages' to 'site-packages', drop it, and use 'Link(absolute)'.
That
should fix it. Now try starting Openshot again from the terminal, and see what happens. If it's still playing up, give us some output, please.
Mike.