| Summary: | openshot-qt crashed when entering Preferences menu | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Olivier FAURAX <olivier> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | andrewsfarm, davidwhodgins, geiger.david68210, herman.viaene, sysadmin-bugs, yvesbrungard |
| Version: | 8 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA8-64-OK | ||
| Source RPM: | openshot-qt-2.5.1-3.mga8.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | The log in terminal when crashing | ||
Created attachment 13768 [details]
The log in terminal when crashing
Trying on Cauldron, LxQt: openshot-qt-3.0.0-2.mga9 The fault does *not* happen. Off to try M8. CC:
(none) =>
lewyssmith Mageia 8, Xfce
openshot-qt-2.5.1-3.mga8
The fault confirmed. Start/end of terminal O/P:
$ openshot-qt
Loaded modules from installed directory: /usr/lib/python3.8/site-packages/openshot_qt
(python3:3844): Gtk-WARNING **: 21:19:05.956: Theme parsing error: gtk.css:3:33: Failed to import: Error opening file /home/lewis/.config/gtk-3.0/window_decorations.css: No such file or directory
app:INFO ------------------------------------------------
app:INFO Mon Apr 17 21:19:06 2023
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-5.15.98-desktop-1.mga8-x86_64-with-glibc2.2.5
app:INFO processor: x86_64
app:INFO machine: x86_64
app:INFO python version: 3.8.14
app:INFO qt5 version: 5.15.2
app:INFO pyqt5 version: 5.15.2
metrics:ERROR Error determining OS version in metrics.py
...
/lib64/libQt5Widgets.so.5 ( QApplicationPrivate::notify_helper(QObject*, QEvent*) + 0x7f ) [0x7fc747400b1f]
/usr/lib64/python3.8/site-packages/PyQt5/QtWidgets.so ( + 0x16c542) [0x7fc747a89542]
/lib64/libQt5Core.so.5 ( QCoreApplication::notifyInternal2(QObject*, QEvent*) + 0x11a ) [0x7fc74bddcd2a]
/lib64/libQt5Gui.so.5 ( QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 0x638 ) [0x7fc748231e08]
/lib64/libQt5Gui.so.5 ( QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 0xac ) [0x7fc74820924c]
---- End of Stack Trace ----
as per the attachment.
v2.5.1 is 3 years old, v2.6.1 just 4 months. Worth updating it?
This is nursed by daviddavid, so assigning thus.Source RPM:
openshot-qt =>
openshot-qt-2.5.1-3.mga8.src.rpm @Olivier Do you confirm that this happens in a Gnome Wayland session? CC:
(none) =>
yves.brungard_mageia (In reply to papoteur from comment #4) > @Olivier Do you confirm that this happens in a Gnome Wayland session? Yes. Gnome 3.38.3 with wayland Submitting: lib64openshot-devel-0.3.1-1.mga8 lib64openshot24-0.3.1-1.mga8 python3-libopenshot-0.3.1-1.mga8 libopenshot-audio-0.3.1-1.mga8 libopenshot-audio-tools-0.3.1-1.mga8 lib64openshot-audio9-0.3.1-1.mga8 lib64openshot-audio-devel-0.3.1-1.mga8 libopenshot-audio-doc-0.3.1-1.mga8 openshot-qt-3.1.0-1.mga8 Sources: libopenshot-0.3.1-1.mga8.src.rpm libopenshot-audio-0.3.1-1.mga8.src.rpm openshot-qt-3.1.0-1.mga8.src.rpm Assignee:
geiger.david68210 =>
qa-bugs Thanks for the quick work. a) Could not see any of these in updates_testing. b) Puzzled that all new versions are 0.3.1-1 except openshot-qt itself which is 3.1.0-1 which may well be what is intended. Hi Lewis (In reply to Lewis Smith from comment #8) > Thanks for the quick work. > > a) Could not see any of these in updates_testing. It is build since 2 days, thus should be present. > > b) Puzzled that all new versions are 0.3.1-1 > except openshot-qt itself which is 3.1.0-1 > which may well be what is intended. Yes, this is expected. This is upstream choices. Found the updates tonight: - lib64openshot-audio9-0.3.1-1.mga8.x86_64 - lib64openshot24-0.3.1-1.mga8.x86_64 - openshot-qt-3.1.0-1.mga8.noarch - python3-libopenshot-0.3.1-1.mga8.x86_64 - python3-qt5-webenginecore-5.15.2-1.mga8.x86_64 - python3-qt5-webenginewidgets-5.15.2-1.mga8.x86_64 This *worked* (M8/Xfce): Edit Preferences, whether selected by: - KB from the Edit menu - Mouse from the Edit menu - Shortcut Ctrl/Shift/P worked, all tabs apparently functional. So good work, Yves. @Olivier If you can get the updates from core/updates_testing, please do try it & report back. @QA You can invent a simple Advisory from comment 7. Whiteboard:
(none) =>
MGA8-64-OK I was going to validate now, but will wait a day or two for the reporter to check in. CC:
(none) =>
andrewsfarm I updated (urpmi openshot-qt), launched with my current user and it crashed:
$ openshot-qt
Loaded modules from: /usr/lib/python3.8/site-packages/openshot_qt
INFO sentry: No sentry_sdk module detected (error reporting is disabled)
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
INFO app: ------------------------------------------------
INFO app: Fri Apr 21 16:21:02 2023
INFO app: Starting new session
INFO app: ------------------------------------------------
INFO app: OpenShot (version 3.1.0)
INFO app: ------------------------------------------------
INFO app: openshot-qt version: 3.1.0
INFO app: libopenshot version: 0.2.5
INFO app: platform: Linux-5.15.98-desktop-1.mga8-x86_64-with-glibc2.2.5
INFO app: processor: x86_64
INFO app: machine: x86_64
INFO app: python version: 3.8.14
INFO app: qt5 version: 5.15.2
INFO app: pyqt5 version: 5.15.2
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/openshot_qt/launch.py", line 195, in main
app = OpenShotApp(argv)
File "/usr/lib/python3.8/site-packages/openshot_qt/classes/app.py", line 131, in __init__
self.project = project_data.ProjectDataStore()
File "/usr/lib/python3.8/site-packages/openshot_qt/classes/project_data.py", line 66, in __init__
self.new()
File "/usr/lib/python3.8/site-packages/openshot_qt/classes/project_data.py", line 291, in new
profile = self.get_profile(profile_desc=default_profile_desc)
File "/usr/lib/python3.8/site-packages/openshot_qt/classes/project_data.py", line 341, in get_profile
if legacy_profile and legacy_profile.Key() == temp_profile.Key():
AttributeError: 'Profile' object has no attribute 'Key'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/openshot-qt", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3.8/site-packages/openshot_qt/launch.py", line 197, in main
app.show_errors()
AttributeError: 'NoneType' object has no attribute 'show_errors'
INFO app: OpenShot's session ended
INFO app: Fri Apr 21 16:21:02 2023
INFO app: ================================================
The interesting part is:
INFO app: openshot-qt version: 3.1.0
INFO app: libopenshot version: 0.2.5
I added: urpmi python3-libopenshot
And then it has been OK.
openshot-qt should require libopenshot 0.3.1
Should be fixed with openshot-qt-3.1.0-1.1.mga8 which now requires python3-libopenshot >= 0.3.1 CC:
(none) =>
geiger.david68210 So I jumped the gun! [And good judgement, TJ]. I see my update included the missing python3-libopenshot-0.3.1-1.mga8.x86_64, while Olivier installed the new version. CC:
lewyssmith =>
(none) MGA8-64 MATE on Acer Aspire 5253 No installation issues. Opened openshot, could open the preferences without ptoblems, created a new project, imported an .avi file and played that one in the Video Preview window, all worked OK. CC:
(none) =>
herman.viaene Let me begin by saying I know little of what I am doing here. I normally have as little to do with Gnome as possible, but it seemed appropriate to try this time, since that is what the reporter is using. Using a mga8-64 Gnome guest in VirtualBox which did not have openshot already installed, I ran the list of rpms from comment 7 through qarepo, with the "fuzzy version" option in effect. This resulted in these rpms: lib64openshot-audio-devel-0.3.1-1.mga8.x86_64.rpm lib64openshot-audio9-0.3.1-1.mga8.x86_64.rpm lib64openshot-devel-0.3.1-1.mga8.x86_64.rpm lib64openshot24-0.3.1-1.mga8.x86_64.rpm libopenshot-audio-0.3.1-1.mga8.x86_64.rpm libopenshot-audio-doc-0.3.1-1.mga8.noarch.rpm libopenshot-audio-tools-0.3.1-1.mga8.x86_64.rpm openshot-qt-3.1.0-1.1.mga8.noarch.rpm python3-libopenshot-0.3.1-1.mga8.x86_64.rpm I then went to MCC and installed openshot-qt-3.1.0-1.1 and dependencies, 68 packages in all. (Unfortunately, as it turned out, I failed to copy the list to post here.) Then I attempted to run openshot-qt from the menu, and got nothing. Running it in a terminal gets me this: $ openshot-qt Loaded modules from: /usr/lib/python3.8/site-packages/openshot_qt INFO sentry: No sentry_sdk module detected (error reporting is disabled) INFO app: ------------------------------------------------ INFO app: Mon Apr 24 21:14:36 2023 INFO app: Starting new session INFO app: ------------------------------------------------ INFO app: OpenShot (version 3.1.0) INFO app: ------------------------------------------------ INFO app: openshot-qt version: 3.1.0 INFO app: libopenshot version: 0.3.1 INFO app: platform: Linux-5.15.106-desktop-2.mga8-x86_64-with-glibc2.2.5 INFO app: processor: x86_64 INFO app: machine: x86_64 INFO app: python version: 3.8.14 INFO app: qt5 version: 5.15.2 INFO app: pyqt5 version: 5.15.2 INFO project_data: Setting profile to HD 720p 30 fps INFO project_data: Apply default audio playback settings: 48000, 2 channels INFO app: checking babl_ext_path: /usr/lib/python3.8/site-packages/openshot_qt/lib/babl-ext Screen Virtual1 devicePixelRatio: 1.0 logicalDotsPerInch: 96.0 physicalDotsPerInch: 96.14779116465864 availableSizes: PyQt5.QtCore.QSize(1920, 878) INFO language: Qt Detected Languages: ['en-US', 'en-US', 'en'] INFO language: LANG Environment Variable: en_US.UTF-8 INFO language: LOCALE Environment Variable: INFO language: OpenShot Preference Language: Default INFO app: Setting font to /usr/lib/python3.8/site-packages/openshot_qt/images/fonts/Ubuntu-R.ttf INFO app: Setting custom dark theme ERROR webview: Import failure loading WebKit backend Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/openshot_qt/windows/views/webview.py", line 165, in <module> from .webview_backend.webengine import TimelineWebEngineView as WebViewClass File "/usr/lib/python3.8/site-packages/openshot_qt/windows/views/webview_backend/webengine.py", line 38, in <module> from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage ImportError: QtWebEngineWidgets must be imported before a QCoreApplication instance is created During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/openshot_qt/windows/views/webview.py", line 169, in <module> from .webview_backend.webkit import TimelineWebKitView as WebViewClass File "/usr/lib/python3.8/site-packages/openshot_qt/windows/views/webview_backend/webkit.py", line 36, in <module> from PyQt5.QtWebKitWidgets import QWebView, QWebPage ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets' Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/openshot_qt/windows/views/webview.py", line 165, in <module> from .webview_backend.webengine import TimelineWebEngineView as WebViewClass File "/usr/lib/python3.8/site-packages/openshot_qt/windows/views/webview_backend/webengine.py", line 38, in <module> from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage ImportError: QtWebEngineWidgets must be imported before a QCoreApplication instance is created The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/openshot-qt", line 8, in <module> sys.exit(main()) File "/usr/lib/python3.8/site-packages/openshot_qt/launch.py", line 217, in main if app.gui(): File "/usr/lib/python3.8/site-packages/openshot_qt/classes/app.py", line 275, in gui from windows.main_window import MainWindow File "/usr/lib/python3.8/site-packages/openshot_qt/windows/main_window.py", line 78, in <module> from windows.views.webview import TimelineWebView File "/usr/lib/python3.8/site-packages/openshot_qt/windows/views/webview.py", line 175, in <module> raise RuntimeError( RuntimeError: Need PyQt5.QtWebEngine (or PyQt5.QtWebView on Win32) INFO app: OpenShot's session ended INFO app: Mon Apr 24 21:14:36 2023 INFO app: ================================================ Something is still missing. If someone could give me an idea of what to do now, I'd appreciate it. Keywords:
(none) =>
validated_update
Thomas Andrews
2023-04-25 03:55:23 CEST
Keywords:
validated_update =>
(none) missing dependencies should be fixed in upcoming openshot-qt-3.1.0-1.2.mga8 @TJ To me it looks like you didn't install python3-libopenshot-0.3.1-1.mga8 after all. Just a side note: I use qarepo as wel, but once it is updated and enabled, I use MCC, but the "Install or remove", not the "Update". In that way I am sure that I select all packages involved. @Herman I checked for that after it failed to launch, and again just now, and I do have the correct python3-libopenshot installed. I will admit that I usually use qarepo in conjunction with MCC's "Update" function, so as to be sure that all needed packages automatically get updated the way it would happen for a user, but if you reread the early part of comment 16, you'll see that I didn't do that this time. I was attempting to simulate a user installing openshot-qt without knowledge of all packages that might be involved. Someone who just selects the one package, trusting our tools to install all dependencies needed to run it. I don't really know why I chose to do it this way this time - call it a hunch, or instinct. I don't know why your install worked where mine didn't. A difference between MATE and Gnome, perhaps? A dependency on your system that was installed from a previous test but not removed later? Those are only two possibilities. Since David G seems confident that he has the situation in hand, I will roll my Gnome guest back to before I did anything for this test, so I can do it again with the upcoming version. Meanwhile, I'm removing the OK until we can test again. Whiteboard:
MGA8-64-OK =>
(none) So now you can test a complete upgrade with openshot-qt-3.1.0-1.3.mga8, which should require appropriate python3-libopenshot. I restored the Gnome guest to the state from before the actions of comment 16, then did the same test with the updated openshot-qt. This time, asking to install openshot-qt through MCC wanted to install 70 packages, 2 more than in comment 16. (I can provide the list, if requested) There were no installation issues. I then ran "openshot-qt" from the command line, and the gui popped up. I cycled through the "tutorial" and quit the program. It looks good now here. OKing again, and validating. Whiteboard:
(none) =>
MGA8-64-OK Advisory added to svn as ...
type: bugfix
subject: Updated openshot-qt packages fix Import failure
src:
8:
core:
- libopenshot-0.3.1-1.mga8
- libopenshot-audio-0.3.1-1.mga8
- openshot-qt-3.1.0-1.3.mga8
description: |
Fixes Error determining OS version in metrics.py.
Adds requires for correct version of python3-libopenshot.
references:
- https://bugs.mageia.org/show_bug.cgi?id=31803Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2023-0037.html Resolution:
(none) =>
FIXED |
Description of problem: openshot-qt crashes Version-Release number of selected component (if applicable): 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-5.15.98-desktop-1.mga8-x86_64-with-glibc2.2.5 app:INFO processor: x86_64 app:INFO machine: x86_64 app:INFO python version: 3.8.14 app:INFO qt5 version: 5.15.2 app:INFO pyqt5 version: 5.15.2 Steps to Reproduce: 1. Launch openshot-qt 2. Go to menu Edit > Preferences