SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to install OpenShot for the second time. I was originally trying to make a slackbuild for this, when a new one appeared in SBo. It does not work for me, however. It seems that it has to run a python install script and this fails. The package then complains that it cannot find the mlt python bindings.
Anyway, I've spent far too long with this, just wondering if someone else got this to work?
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Rep:
Did you check the README file of the mentioned SlackBuild? It mentions mlt, frei0r and pygoocanvas as dependencies, so your question should be answered I think. All of these should be available on slackbuilds.org, too.
Did you check the README file of the mentioned SlackBuild? It mentions mlt, frei0r and pygoocanvas as dependencies, so your question should be answered I think. All of these should be available on slackbuilds.org, too.
Yes, I said I was even building my own slackbuild... I have all the dependencies installed. The error is in the python install script of OpenShot itself.
I checked that thread and even downloaded the package that is mentioned there. Also, someone mentioned that PyXDG was also a dependency (though it is not mentioned in the readme files) and I installed that too. Still I get the following error:
Code:
Added /usr/lib/python2.6/site-packages/openshot to system path
--------------------------------
OpenShot (version 1.0.0)
--------------------------------
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/site-packages/openshot/classes/thumbnail.py", line 174, in run
mlt.Factory().init()
NameError: global name 'mlt' is not defined
-------------------------------------------------------
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'll stay with kdenlive, at least it was easy to install!
Did you also install mlt and all other dependencies? Seems like mlt is not installed.
mlt is installed and I have kdenlive working well (also uses mlt). It seems that it is the python bindings for mlt that are a problem... I suspect these are installed by openshot's setup.py file that comes in openshot and which does not work properly in the slackbuild. I tried finding if there is some mlt-python package but this is not available anywhere (and also is not mentioned in SBo).
I would like to hear from anyone who *has* managed to install openshot using the slackbuild in SlackBuilds.org .
The idea is to build 'mlt' with the python bindings.
This seems not to happen.
Yes, this is the problem. I contacted the creator of the OpenShot slackbuild in SBo and he confirmed that the problem is in the mlt package in SBo which fails to build the python bindings. Apparently there is an update of the mlt slackbuild so as soon as this is approved everything should work.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Back to python 2.6, rebuild mlt with alien.slack ffmpeg,
version 0.5 not working.
Rebuild openshot, with other found dependencies, ref. PCLinuxOS, etc. >
> libquicktime libsamplerate kdenlive libgsm wavpack
But still this error (only) :
""Error: OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)""
.....
When I went to '/usr/lib64/python2.6/site-packages/openshot' and executed 'python openshot.py' it blamed about xdg. When I installed the pyxdg libs it worked.
As of 1/1/11, I ran into the following issues with this SlackBuild, and friends. The dependencies must be built with frei0r and possibly frei0r-plugins (for which there is no SlackBuild) before MLT. MLT will build without frei0r, but then openshot will complain about no frei0r effects. On my 486-based 13.1 distribution, the MLT SlackBuild required 'LDFLAGS='-lm -lz -lbz2 -lasound'" to work. The OpenShot Slackbuild puts "openshot" in /usr/bin, but openshot then can't find the python code since it's looking in for /usr/openshot, but the build places things in /usr/lib/python2.6/site-packages. The error message claims it looked there, but it's a lie. I added "parent-folder_path='/usr/lib/python2.6/site-packages'" after line 28 to replace the bogus search path. I also changed the error message after import failure near the end of the openshot script, since it is too specific. Failing to have goocanvas, MLT, pygoocanvas, etc will also cause this same error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.