El lun, 26 abr 2021 a las 7:29, Ben Greiner () escribió:
Hi,
Am 26.04.21 um 02:18 schrieb Juan Erbes:
El dom, 25 abr 2021 a las 19:51, Carlos E. R. (
) escribió: On 26/04/2021 00.32, Juan Erbes wrote:
El dom, 25 abr 2021 a las 12:16, Christophe Giboudeaux (
) escribió: On Sunday, 25 April 2021 16:59:09 CEST Christophe Giboudeaux wrote:
On Sunday, 25 April 2021 16:07:41 CEST Juan Erbes wrote: > from PyQt5.QtWebKitWidgets import QWebView > > ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
Please check if installing python3-qtwebengine-qt5 helps.
Looks like it won't. QtWebkit support was dropped from python-qt5. openshot wasn't in the list when we checked all pyQt5 users however.
Looks like the list was incomplete. There was at least one package in one of my recent failing-python-packages-in-Factory-fix-run which failed with the same ModuleNotFoundError and thus explicitly required qtwebengine-qt5. (I can't remember which one and IIRC a version update removed the dependency alltogether)
Naturally, any python package without a test suite (openshot-qt.spec, I am looking at you!) will not have detected a problem when qtwebkit support was removed from PyQt5. Python packagers, never omit running the test suite!
Upstream supports qtwebengine but they didn't make a release since ages.
The AppImage will not work anymore in the current Tumbleweed:
Did you try one of the "daily" AppImages? [1] OpenShot-v2.5.1-dev2-daily-7315-a00bbb76-503515e6-x86_64.AppImage starts on my system.
You could try to convince upstream to release a new version. They seem to be aware of the qtwebkit removal in many distros but abandoned the idea to backport qtwebengine support to v2.5.1 [2].
Technically, we could even bring back qtwebkit and support for it in PyQt5 outside of Ring1. I can imagine this is not desired though.
Cheers, Ben
[1] https://www.openshot.org/download/ [2] https://github.com/OpenShot/openshot-qt/pull/3861
I haven't seen the "Daily Builds" button. I downloaded the last of the 5 builds of today, and it loads. But if load a existing project, don't works the preview window, and in the configuraton don't appears the GPU acceleration options. Here is the konsole result: ./OpenShot-v2.5.1-dev2-daily-7320-a00bbb76-503515e6-x86_64.AppImage Copying icon thumbnails to cache ICONFILE = /home/jerbes/.cache/thumbnails/normal/526d363f8c61904c7f20a8486e4c2fd2.png Loaded modules from: /tmp/.mount_H9SdEl/usr/bin INFO app: ------------------------------------------------ INFO app: Mon Apr 26 09:22:50 2021 INFO app: Starting new session INFO app: ------------------------------------------------ INFO app: OpenShot (version 2.5.1-dev2) INFO app: ------------------------------------------------ INFO app: openshot-qt version: 2.5.1-dev2 INFO app: libopenshot version: 0.2.5-dev3 INFO app: platform: Linux-5.11.15-1-default-x86_64-with-glibc2.4 INFO app: processor: x86_64 INFO app: machine: x86_64 INFO app: python version: 3.6.9 INFO app: qt5 version: 5.9.5 INFO app: pyqt5 version: 5.10.1 INFO app: Frozen version info from build server: { "build_name": "OpenShot-v2.5.1-dev2-daily-7320-a00bbb76-503515e6", "date": "2021-04-26 10:35", "libopenshot": { "CI_COMMIT_REF_NAME": "develop", "CI_COMMIT_SHA": "a00bbb7698a2ccee1c31eebc87c31b02c2ef7a9b", "CI_JOB_ID": "24926", "CI_PIPELINE_ID": "7314", "CI_PROJECT_NAME": "libopenshot", "SO": "19", "VERSION": "0.2.5-dev3" }, "libopenshot-audio": { "CI_COMMIT_REF_NAME": "develop", "CI_COMMIT_SHA": "503515e6c95c1a96110437425952486a045d4ead", "CI_JOB_ID": "24917", "CI_PIPELINE_ID": "7312", "CI_PROJECT_NAME": "libopenshot-audio", "SO": "7", "VERSION": "0.2.0-dev4" }, "openshot-qt": { "CI_COMMIT_REF_NAME": "develop", "CI_COMMIT_SHA": "f222cdcd7b1edace1f8b6c27f67c11d607983d04", "CI_JOB_ID": "24942", "CI_PIPELINE_ID": "7320", "CI_PROJECT_NAME": "openshot-qt", "SO": null, "VERSION": "2.5.1-dev2" } } INFO language: Qt Detected Languages: ['es'] INFO language: LANG Environment Variable: es_AR.UTF-8 INFO language: LOCALE Environment Variable: INFO language: OpenShot Preference Language: Default INFO project_data: Setting default profile to HD 1080i 29.97 fps INFO app: Setting font to /tmp/.mount_H9SdEl/usr/bin/images/fonts/Ubuntu-R.ttf INFO logger_libopenshot: Connecting to libopenshot with debug port: 5556 INFO app: Setting custom dark theme INFO metrics: Track metric: [200] http://www.google-analytics.com/collect?cid=a82bca0e-7356-4346-9470-fb16e0d63241&v=1&tid=UA-4381101-5&an=OpenShot+Video+Editor&aip=1&aid=org.openshot.openshot-qt&av=2.5.1-dev2& ul=en-us&ua=Mozilla%2F5.0+%28X11%3B+Linux+x86_64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F37.0.2062.120+Safari%2F537.36&cd1=0.2.5-dev3&cd2=3.6.9&cd3=5.9.5&cd4=5.10.1&cd5=--&t=screenview&sc=sta rt&cd=launch-app | (35 bytes) INFO metrics: Track metric: [200] http://www.google-analytics.com/collect?cid=a82bca0e-7356-4346-9470-fb16e0d63241&v=1&tid=UA-4381101-5&an=OpenShot+Video+Editor&aip=1&aid=org.openshot.openshot-qt&av=2.5.1-dev2& ul=en-us&ua=Mozilla%2F5.0+%28X11%3B+Linux+x86_64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F37.0.2062.120+Safari%2F537.36&cd1=0.2.5-dev3&cd2=3.6.9&cd3=5.9.5&cd4=5.10.1&cd5=--&t=screenview&sc=sta rt&cd=launch-app | (35 bytes) INFO ui_util: Initializing UI for MainWindow INFO metrics: Track metric: [200] http://www.google-analytics.com/collect?cid=a82bca0e-7356-4346-9470-fb16e0d63241&v=1&tid=UA-4381101-5&an=OpenShot+Video+Editor&aip=1&aid=org.openshot.openshot-qt&av=2.5.1-dev2& ul=en-us&ua=Mozilla%2F5.0+%28X11%3B+Linux+x86_64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F37.0.2062.120+Safari%2F537.36&cd1=0.2.5-dev3&cd2=3.6.9&cd3=5.9.5&cd4=5.10.1&cd5=--&t=screenview&cd=mai n-screen | (35 bytes) INFO metrics: Track metric: [200] http://www.google-analytics.com/collect?cid=a82bca0e-7356-4346-9470-fb16e0d63241&v=1&tid=UA-4381101-5&an=OpenShot+Video+Editor&aip=1&aid=org.openshot.openshot-qt&av=2.5.1-dev2& ul=en-us&ua=Mozilla%2F5.0+%28X11%3B+Linux+x86_64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F37.0.2062.120+Safari%2F537.36&cd1=0.2.5-dev3&cd2=3.6.9&cd3=5.9.5&cd4=5.10.1&cd5=--&t=screenview&cd=mai n-screen | (35 bytes) Installed Qt WebEngine locales directory not found at location /tmp/.mount_H9SdEl/usr/bin/translations/qtwebengine_locales. Trying application directory... Qt WebEngine locales directory not found at location /tmp/.mount_H9SdEl/usr/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct. Path override failed for key ui::DIR_LOCALES and path '/home/xxxxx/.openshot' [0426/092254.005752:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale /tmp/.mount_H9SdEl/usr/bin/QtWebEngineProcess: /tmp/.mount_H9SdEl/usr/bin/libselinux.so.1: no version information available (required by /usr/lib64/libgio-2.0.so.0) /tmp/.mount_H9SdEl/usr/bin/QtWebEngineProcess: /tmp/.mount_H9SdEl/usr/bin/libselinux.so.1: no version information available (required by /usr/lib64/libmount.so.1) Installed Qt WebEngine locales directory not found at location /tmp/.mount_H9SdEl/usr/bin/translations/qtwebengine_locales. Trying application directory... Qt WebEngine locales directory not found at location /tmp/.mount_H9SdEl/usr/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct. [0426/092256.307268:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale INFO thumbnail: Starting thumbnail server listening on port 36913 INFO webengine: WebEngine backend initializing INFO transition_model: updating transitions model. INFO version: Found current version: {"openshot_version": "2.5.1"} INFO effects_model: updating effects model. INFO emoji_model: updating emoji model. INFO main_window: foundCurrentVersion: Found the latest version: 2.5.1 INFO main_window: InitCacheSettings INFO main_window: cache-mode: CacheMemory INFO main_window: cache-limit-mb: 500 INFO main_window: Creating CacheMemory object with 524288000 byte limit INFO preview_thread: QThread Start Method Invoked INFO main_window: Clear all thumbnails: /home/xxxxx/.openshot_qt/thumbnail INFO main_window: Clear all animations: /home/xxxxx/.openshot_qt/blender INFO main_window: Clear all titles: /home/xxxxx/.openshot_qt/title INFO main_window: updateStatusChanged INFO main_window: updateStatusChanged INFO app: Process command-line arguments: ['/tmp/.mount_H9SdEl/usr/bin/openshot-qt'] INFO main_window: recover_backup INFO project_data: Setting default profile to HD 1080i 29.97 fps INFO preview_thread: player Position(): 1 INFO video_widget: Load: Set video widget display aspect ratio to: 1.7777777910232544 INFO video_widget: Set video widget pixel aspect ratio to: 1.0 INFO main_window: updateStatusChanged INFO preview_thread: player Position(): 1 INFO timeline: Adjusting max size of preview image: PyQt5.QtCore.QSize(784, 441) INFO preview_thread: player Position(): 1 INFO webengine: Registering WebChannel connection with WebEngine ERROR webengine: angular-animate.min.js@L14: Uncaught TypeError: m.module(...).info is not a function WARNING webengine: WebEngine backend still not ready after 5 retries. WARNING webengine: WebEngine backend still not ready after 5 retries. WARNING webengine: WebEngine backend still not ready after 5 retries. WARNING webengine: WebEngine backend still not ready after 5 retries. WARNING webengine: WebEngine backend still not ready after 5 retries. WARNING webengine: WebEngine backend still not ready after 5 retries. Property 'modal'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'windowModality'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'enabled'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'geometry'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'frameGeometry'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'normalGeometry'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'x'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'y'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'pos'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'frameSize'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'size'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'width'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'height'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'rect'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'childrenRect'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'childrenRegion'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'sizePolicy'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'minimumSize'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'maximumSize'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'minimumWidth'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'minimumHeight'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'maximumWidth'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'maximumHeight'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'sizeIncrement'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'baseSize'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'palette'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'font'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'cursor'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'mouseTracking'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'tabletTracking'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'isActiveWindow'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'focusPolicy'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'focus'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'contextMenuPolicy'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'updatesEnabled'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'visible'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'minimized'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'maximized'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'fullScreen'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'sizeHint'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'minimumSizeHint'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'acceptDrops'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'windowOpacity'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'windowModified'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'toolTip'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'toolTipDuration'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'statusTip'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'whatsThis'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'accessibleName'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'accessibleDescription'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'layoutDirection'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'autoFillBackground'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'styleSheet'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'locale'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'windowFilePath'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'inputMethodHints'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'title'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'url'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'selectedText'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'hasSelection'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! Property 'zoomFactor'' of object 'TimelineWebView' has no notify signal and is not constant, value updates in HTML will be broken! INFO webview: Qt Ready INFO webview: Angular Ready After loading all the files of the project, appears: INFO project_data: Project data: openshot 2.5.1, libopenshot 0.2.5-dev2 INFO preview_thread: player Position(): 1 Hardware decoding device number: 1 Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object file: No such file or directory INFO video_widget: Load: Set video widget display aspect ratio to: 1.7777777910232544 INFO video_widget: Set video widget pixel aspect ratio to: 1.0 INFO main_window: updateStatusChanged INFO main_window: updateStatusChanged INFO main_window: updateStatusChanged INFO main_window: updateStatusChanged INFO preview_thread: player Position(): 1 INFO main_window: Loaded project /home/xxxxx/Viena/Viena1.osp INFO ui_util: Initializing UI for dlgPreferences INFO metrics: Track metric: [200] http://www.google-analytics.com/collect?cid=a82bca0e-7356-4346-9470-fb16e0d63241&v=1&tid=UA-4381101-5&an=OpenShot+Video+Editor&aip=1&aid=org.openshot.openshot-qt&av=2.5.1-dev2& ul=en-us&ua=Mozilla%2F5.0+%28X11%3B+Linux+x86_64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F37.0.2062.120+Safari%2F537.36&cd1=0.2.5-dev3&cd2=3.6.9&cd3=5.9.5&cd4=5.10.1&cd5=--&t=screenview&cd=pre ferences-screen | (35 bytes) Hardware decoding device number: 0 Hardware decoding device number: 0 Hardware decoding device number: 1 Hardware decoding device number: 1 Hardware decoding device number: 0 Hardware decoding device number: 0 Hardware decoding device number: 1 Hardware decoding device number: 1 Hardware decoding device number: 0 Hardware decoding device number: 0 Hardware decoding device number: 1 Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object file: No such file or directory Hardware decoding device number: 1 Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object file: No such file or directory OpenType support missing for "Ubuntu", script 11 OpenType support missing for "Ubuntu", script 12 OpenType support missing for "Ubuntu", script 13 OpenType support missing for "Ubuntu", script 16 OpenType support missing for "Ubuntu", script 17 OpenType support missing for "GNU Unifont", script 17 OpenType support missing for "Arial", script 17 OpenType support missing for "Verdana", script 17 OpenType support missing for "Ubuntu", script 18 OpenType support missing for "GNU Unifont", script 18 OpenType support missing for "Arial", script 18 OpenType support missing for "Verdana", script 18 OpenType support missing for "Ubuntu", script 19 OpenType support missing for "Ubuntu", script 20 INFO main_window: Preferences add cancelled QXcbConnection: XCB error: 3 (BadWindow), sequence: 2468, resource id: 18874548, major code: 40 (TranslateCoords), minor code: 0 Thank You Ben! -- USA LINUX OPENSUSE QUE ES SOFTWARE LIBRE, NO NECESITAS PIRATEAR NADA Y NI TE VAS A PREOCUPAR MAS POR LOS VIRUS Y SPYWARES: http://www.opensuse.org/es/ Puedes visitar mi blog en: http://jerbes.blogspot.com.ar/