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.
As far as I can tell, I have all of the dependencies installed (it compiled with no issues).
You can compile with no issues python projects , but later get error for missing python modules
You can have webkit for python2 but not for python3 ... or webkit or whatever ... your log says openshot goes for python3 , then probably you need some python3 module like the python3-PyQt5.
One easy way to see what are you loosing ..is usage of pip3 check.
You can have webkit for python2 but not for python3 ... or webkit or whatever ... your log says openshot goes for python3 , then probably you need some python3 module like the python3-PyQt5.
I already have that installed.
And I think that 'pip3 check only works that way if I have openshot actually running.
Last edited by TheNutCase; 06-25-2021 at 06:54 PM.
I have been trying to run Openshot (from terminal mode) and this is the output that I get:
Code:
bash-4.3# openshot-qt
Loaded modules from installed directory: /usr/lib64/python3.7/site-packages/openshot_qt
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
app:INFO ------------------------------------------------
app:INFO Fri Jun 25 16:33:58 2021
app:INFO Starting new session
app:INFO ------------------------------------------------
app:INFO OpenShot (version 2.5.1)
app:INFO ------------------------------------------------
app:INFO openshot-qt version: 2.5.1
app:INFO libopenshot version: 0.2.5
app:INFO platform: Linux-4.4.240-x86_64-Intel-R-_Core-TM-_i3-3240_CPU_@_3.40GHz-with-slackware-14.2
app:INFO processor: Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz
app:INFO machine: x86_64
app:INFO python version: 3.7.2
app:INFO qt5 version: 5.12.8
app:INFO pyqt5 version: 5.13.2
language:INFO Qt Detected Languages: ['en-US']
language:INFO LANG Environment Variable: en_US
language:INFO LOCALE Environment Variable:
language:INFO OpenShot Preference Language: Default
project_data:INFO Setting default profile to HD 720p 30 fps
ZmqLogger::Connection - Error binding to tcp://*:5556. Switching to an available port.
app:INFO Setting font to /usr/lib64/python3.7/site-packages/openshot_qt/images/fonts/Ubuntu-R.ttf
ZmqLogger::Connection - Error binding to tcp://*:5556. Switching to an available port.
app:INFO Setting custom dark theme
logger_libopenshot:INFO Connecting to libopenshot with debug port: 5556
exceptions:ERROR Unhandled Exception
Traceback (most recent call last):
File "/usr/bin/openshot-qt", line 11, in <module>
load_entry_point('openshot-qt==2.5.1', 'gui_scripts', 'openshot-qt')()
File "/usr/lib64/python3.7/site-packages/openshot_qt/launch.py", line 97, in main
app = OpenShotApp(argv)
File "/usr/lib64/python3.7/site-packages/openshot_qt/classes/app.py", line 220, in __init__
from windows.main_window import MainWindow
File "/usr/lib64/python3.7/site-packages/openshot_qt/windows/main_window.py", line 45, in <module>
from windows.views.timeline_webview import TimelineWebView
File "/usr/lib64/python3.7/site-packages/openshot_qt/windows/views/timeline_webview.py", line 42, in <module>
from PyQt5.QtWebKitWidgets import QWebView
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
How do I go about resolving that situation?
You have python3.7. Does that mean you're on 14.2? If so, you may be trying to use the wrong openshot SlackBuild - you would need the one in SBo's 14.2 branch. The master branch currently contains updates (including for openshot) for using with upcoming Slackware 15; therefore dependencies are quite different.
If using git,
git checkout 14.2
or for master,
git checkout master
I see that the SBo website itself is still pointing to 14.2 by default and master doesn't seem accessible from there. If you're on 14.2 then the SlackBuild visible at the website is the correct on. However on rebuilding openshot on 14.2 along with all the deps, I see that something has changed recently such that qt5-webkit and one of it's deps, hyphen, aren't being pulled in any more. Therefore the direct dependencies for 14.2 are really:
qt5-webkit python3-PyQt5 python3-pyzmq libopenshot python-chardet httplib2 jack python-certifi python-requests
As a short term measure, I think you could just build & install hyphen and qt5-webkit and your existing installed openshot should run properly.
something has changed recently such that qt5-webkit, and one of it's deps, hyphen, aren't being pulled in any more.
Looking into this more closely, qt5-webkit was sometime removed as a dependency of python3-PyQt5. Therefore it and its dependency hyphen are no longer pulled in as expected. Since the 14.2 repo is now effectively frozen I'm not sure how this can be corrected.
Anyone else finding this thread with the same problem should just add qt5-webkit to the openshot.info REQUIRES line and recalculate the dependencies (so that hyphen will be included).
You installed hyphen (dep of python3-PyQt5) too, did you? If so, then looking at the last line of your error, ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets', my guess is that qt5-webkit was not installed when python3-PyQt5 was built. Can you check whether your python3-PyQt5 package contains the file /usr/lib64/python3.7/site-packages/PyQt5/QtWebKitWidgets.so? If not, then I think you should rebuild python3-PyQt5 with qt5-webkit already installed so that the PyQt5.QtWebKitWidgets module will be built. Unfortunately, since qt5-webkit has been removed as strict dependency of python3-PyQt5, this is no longer the default situation
If that works for you (enables openshot to run) then it leaves the SlackBuild for PyQt5 in a bad way. While it may be that python3-PyQt5 can be built without qt5-webkit (so removing it as a requirement is not strictly wrong) it means the resulting python3-PyQt5 package is lacking features (in particular PyQt5.QtWebKitWidgets module) than are required by other SlackBuilds (in particular openshot).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.