Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Latest version of openshot no longer working on one laptop but works on another (Read 333 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Latest version of openshot no longer working on one laptop but works on another

On my Dell E7470 openshot stopped working, but it does work on my Dell M4500.

Code: [Select]

$ openshot-qt
Loaded modules from: /usr/lib/python3.13/site-packages/openshot_qt
INFO sentry: No sentry_sdk module detected (error reporting is disabled)
INFO app: ------------------------------------------------
INFO app:             Fri Mar 14 14:59:47 2025           
INFO app:               Starting new session             
INFO app: ------------------------------------------------
INFO app:             OpenShot (version 3.3.0)           
INFO app: ------------------------------------------------
INFO app: openshot-qt version: 3.3.0
INFO app: libopenshot version: 0.4.0
INFO app: platform: Linux-6.13.7-zen1-1-zen-x86_64-with-glibc2.41
INFO app: processor:
INFO app: machine: x86_64
INFO app: python version: 3.13.2
INFO app: qt5 version: 5.15.16
INFO app: pyqt5 version: 5.15.11
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.13/site-packages/openshot_qt/lib/babl-ext
INFO language: Qt Detected Languages: ['en-US', 'en', 'en-Latn-US']
INFO language: LANG Environment Variable: en_US.UTF-8
INFO language: LOCALE Environment Variable:
INFO language: OpenShot Preference Language: Default
ERROR timeline: Import failure loading WebKit backend
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/openshot_qt/windows/views/timeline.py", line 74, in <module>
    from .timeline_backend.webengine import TimelineWebEngineView as ViewClass
  File "/usr/lib/python3.13/site-packages/openshot_qt/windows/views/timeline_backend/webengine.py", line 38, in <module>
    from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage
ImportError: libSvtAv1Enc.so.2: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/openshot_qt/windows/views/timeline.py", line 77, in <module>
    from .timeline_backend.webkit import TimelineWebKitView as ViewClass
  File "/usr/lib/python3.13/site-packages/openshot_qt/windows/views/timeline_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.13/site-packages/openshot_qt/windows/views/timeline.py", line 74, in <module>
    from .timeline_backend.webengine import TimelineWebEngineView as ViewClass
  File "/usr/lib/python3.13/site-packages/openshot_qt/windows/views/timeline_backend/webengine.py", line 38, in <module>
    from PyQt5.QtWebEngineWidgets import QWebEngineView, QWebEnginePage
ImportError: libSvtAv1Enc.so.2: cannot open shared object file: No such file or directory

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.13/site-packages/openshot_qt/launch.py", line 216, in main
    if app.gui():
       ~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/openshot_qt/classes/app.py", line 254, in gui
    from windows.main_window import MainWindow
  File "/usr/lib/python3.13/site-packages/openshot_qt/windows/main_window.py", line 83, in <module>
    from windows.views.timeline import TimelineView
  File "/usr/lib/python3.13/site-packages/openshot_qt/windows/views/timeline.py", line 82, in <module>
    raise RuntimeError("Need PyQt5.QtWebEngine (or PyQt5.QtWebView on Win32)") from ex
RuntimeError: Need PyQt5.QtWebEngine (or PyQt5.QtWebView on Win32)
INFO app:             OpenShot's session ended           
INFO app:             Fri Mar 14 14:59:47 2025           
INFO app: ================================================


warning: downgrading package archlinux-mirrorlist (20250311-1 => 20250101-1)
warning: downgrading package bash (5.2.037-2 => 5.2.037-1)
warning: downgrading package dbus (1.16.2-1.1 => 1.16.2-1)
warning: downgrading package libarchive (3.7.7-2 => 3.7.7-1)
warning: downgrading package libxmlb (0.3.22-1 => 0.3.21-1)
warning: downgrading package scons (4.9.0-1 => 4.8.1-2)

no change

warning: downgrading package abseil-cpp (20250127.0-2 => 20240722.1-1)
warning: downgrading package babl (0.1.112-1 => 0.1.110-1)
warning: downgrading package libcap (2.75-1 => 2.71-1)
warning: downgrading package openrc (0.60.1-8 => 0.60.1-3)
warning: downgrading package dbus-openrc (20250310-1 => 20250304-1)
warning: downgrading package libx11 (1.8.12-1 => 1.8.11-1)
warning: svt-av1-3.0.0-1 is up to date -- reinstalling
warning: downgrading package glib2 (2.84.0-1 => 2.82.5-1)
warning: downgrading package pango (1:1.56.2-1 => 1:1.56.1-1)
warning: downgrading package ffmpeg4.4 (4.4.5-3 => 4.4.5-2)
warning: downgrading package glib2-docs (2.84.0-1 => 2.82.5-1)
warning: downgrading package gstreamer (1.24.12-4 => 1.24.12-3)
warning: downgrading package gst-plugins-base-libs (1.24.12-4 => 1.24.12-3)
warning: downgrading package gst-plugins-bad-libs (1.24.12-4 => 1.24.12-3)
warning: downgrading package gst-plugins-base (1.24.12-4 => 1.24.12-3)
warning: downgrading package hwloc (2.12.0-1 => 2.11.2-1)
warning: downgrading package imagemagick (7.1.1.45-1 => 7.1.1.44-1)
warning: downgrading package lib32-glib2 (2.84.0-1 => 2.82.5-1)
warning: downgrading package lib32-pam (1.7.0-1 => 1.6.1-1)
warning: downgrading package lib32-libcap (2.75-1 => 2.71-1.2)
warning: downgrading package libavif (1.2.0-2 => 1.2.0-1)
warning: downgrading package libheif (1.19.7-2 => 1.19.7-1)
warning: downgrading package protobuf (29.3-1 => 29.2-1)
warning: downgrading package opencv (4.11.0-4 => 4.11.0-3)
warning: downgrading package libsm (1.2.6-1 => 1.2.5-1)
warning: downgrading package libopenshot (0.4.0-3 => 0.4.0-2)
warning: downgrading package libpipewire (1:1.4.0-2 => 1:1.2.7-1)
warning: downgrading package libsynctex (2025.0-1 => 2024.2-6)
warning: downgrading package libutempter (1.2.3-1 => 1.2.1-4)
warning: downgrading package libvlc (3.0.21-14 => 3.0.21-13)
warning: downgrading package man-pages (6.13-1 => 6.12-1)
warning: downgrading package perl-error (0.17030-1 => 0.17029-7)
warning: downgrading package perl-libwww (6.78-1 => 6.77-2)
warning: downgrading package texlive-bin (2025.0-1 => 2024.2-6)
warning: downgrading package texlive-basic (2025.0-1 => 2024.2-4)
warning: downgrading package texlive-latex (2025.0-1 => 2024.2-4)
warning: downgrading package texlive-latexrecommended (2025.0-1 => 2024.2-4)
warning: downgrading package texlive-pictures (2025.0-1 => 2024.2-4)
warning: downgrading package texlive-latexextra (2025.0-1 => 2024.2-4)
warning: downgrading package vlc (3.0.21-14 => 3.0.21-13)
warning: downgrading package wine (10.3-1 => 10.2-2)
warning: downgrading package xorg-xauth (1.1.4-1 => 1.1.3-1)
warning: downgrading package xtrans (1.6.0-1 => 1.5.2-1)

new error message:

$ openshot-qt
Loaded modules from: /usr/lib/python3.13/site-packages/openshot_qt
INFO sentry: No sentry_sdk module detected (error reporting is disabled)
INFO app: ------------------------------------------------
INFO app:             Fri Mar 14 15:38:45 2025           
INFO app:               Starting new session             
ERROR app: OpenShotApp::Import Error
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/openshot_qt/classes/app.py", line 100, in __init__
    from classes import settings, project_data, updates, sentry
  File "/usr/lib/python3.13/site-packages/openshot_qt/classes/project_data.py", line 49, in <module>
    import openshot
  File "/usr/lib/python3.13/site-packages/openshot.py", line 12, in <module>
    import _openshot
ImportError: libSvtAv1Enc.so.2: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/openshot_qt/launch.py", line 202, in main
    app = OpenShotApp(argv)
  File "/usr/lib/python3.13/site-packages/openshot_qt/classes/app.py", line 100, in __init__
    from classes import settings, project_data, updates, sentry
  File "/usr/lib/python3.13/site-packages/openshot_qt/classes/project_data.py", line 49, in <module>
    import openshot
  File "/usr/lib/python3.13/site-packages/openshot.py", line 12, in <module>
    import _openshot
ImportError: libSvtAv1Enc.so.2: cannot open shared object file: No such file or directory

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.13/site-packages/openshot_qt/launch.py", line 204, in main
    app.show_errors()
    ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'show_errors'
INFO app:             OpenShot's session ended           
INFO app:             Fri Mar 14 15:38:45 2025           
INFO app: ================================================
steve@zy:~$ openshot-qt
Loaded modules from: /usr/lib/python3.13/site-packages/openshot_qt
INFO sentry: No sentry_sdk module detected (error reporting is disabled)
INFO app: ------------------------------------------------
INFO app:             Fri Mar 14 15:45:50 2025           
INFO app:               Starting new session             
ERROR app: OpenShotApp::Import Error
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/openshot_qt/classes/app.py", line 100, in __init__
    from classes import settings, project_data, updates, sentry
  File "/usr/lib/python3.13/site-packages/openshot_qt/classes/project_data.py", line 49, in <module>
    import openshot
  File "/usr/lib/python3.13/site-packages/openshot.py", line 12, in <module>
    import _openshot
ImportError: libSvtAv1Enc.so.2: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/openshot_qt/launch.py", line 202, in main
    app = OpenShotApp(argv)
  File "/usr/lib/python3.13/site-packages/openshot_qt/classes/app.py", line 100, in __init__
    from classes import settings, project_data, updates, sentry
  File "/usr/lib/python3.13/site-packages/openshot_qt/classes/project_data.py", line 49, in <module>
    import openshot
  File "/usr/lib/python3.13/site-packages/openshot.py", line 12, in <module>
    import _openshot
ImportError: libSvtAv1Enc.so.2: cannot open shared object file: No such file or directory

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.13/site-packages/openshot_qt/launch.py", line 204, in main
    app.show_errors()
    ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'show_errors'
INFO app:             OpenShot's session ended           
INFO app:             Fri Mar 14 15:45:50 2025           
INFO app: ================================================


warning: downgrading package gtk3 (1:3.24.49-1 => 1:3.24.48-2)
warning: downgrading package lib32-gettext (0.24-1 => 0.22.5-1)


no change, looking at the message tried this:

/var/cache/pacman/pkg
-rw-r--r-- 1 root root 2.0M Jan  2 15:41 svt-av1-2.3.0-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root  566 Jan  2 15:41 svt-av1-2.3.0-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 2.0M Mar  3 04:56 svt-av1-3.0.0-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root  566 Mar  3 04:56 svt-av1-3.0.0-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 2.0M Mar 11 22:56 svt-av1-3.0.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root  566 Mar 11 22:56 svt-av1-3.0.1-1-x86_64.pkg.tar.zst.sig


warning: downgrading package svt-av1 (3.0.0-1 => 2.3.0-1)

That fixed it

Downgrading svt-av1 2 versions to 2.3.0-1 fixed it:
Name            : svt-av1
Version         : 2.3.0-1

But the strange thing is that I'm sure I have used openshot on this laptop more recently than 3rd of March when the 3.0 version of the svt-av1 package was installed, and openshot is working on my other laptop with everything fully updated. Perhaps there is a different setting in openshot or something enabled, don't know. I also tried -Rs openshot and reinstalling it, and mv'ing the dot dirs .openshot_qt, .local/share/openshot and .cache/openshot before downgrading and it didn't help.

Re: openshot no longer working - svt-av1 related

Reply #1
If I understand this correctly, you (re-)installed svt-av1-3 while downgrading ffmpeg4.4 to 4.4.5-2 ?
ffmpeg4.4.5-3 requires svt-av1-3 while ffmpeg4.4.5-2 depends on svt-av1-2 if I am not mistaken?

Re: openshot no longer working - svt-av1 related

Reply #2
Oh yes, I see I made a mistake while downgrading at that point, I had 3 versions of svt-av1 in /var/cache/pacman/pkg and put in the second  one when I should have used the third one at that point, so the second error message was only due to a version mismatch of my own creation. I have edited the title to remove the reference to svt-av1 to avoid confusion, thank you for pointing that out.

No, after more investigation it is related to svt-av1, because now I have found when fully updated it works when I create a symlink for the missing /usr/lib/libSvtAV1Enc.so.2:
Code: [Select]
/usr/lib$ sudo ln -s libSvtAv1Enc.so.3.0.0 libSvtAv1Enc.so.2

I don't know why this install requires this symlink when the other does not, could it be due to previously making credit titles for a project that are output in svg format, is that related? The other installation hasn't been used much, if at all.

Re: Latest version of openshot no longer working on one laptop but works on another

Reply #3
I should not reply to this since I am mostly guessing so I apologize in advance.

Openshot requires ffmpeg, which you provide with the ffmpeg4.4 package, which in turn depends on svt-av1. The currently up-to-date versions should be ffmpeg4.4.5-3 and svt-av1 3.0.1-1.

svt-av1 provides /usr/lib/libSvtAv1Enc.so.3.0.0 and ffmpeg provides /usr/lib/libavcodec.so.58.
Code: [Select]
ldd /usr/lib/libavcodec.so.58
shows that current ffmpeg4.4 is build against libSvtAv1Enc.so.3.0.0.

Your symlink should, ideally, break things not fix them? No clue what is going on but maybe this gives you ideas? (Verifying the ffmpeg4.4 installation, trying another ffmpeg package, checking what the other machine uses, researching if another package depends on the av1 library, etc.)

Re: Latest version of openshot no longer working on one laptop but works on another

Reply #4
To search the entire system for mentions of this old lib, I  ran in /:
Code: [Select]
$ sudo rg -uuu -g '!/proc/**' -g '!/sys/**' 'libSvtAv1Enc.so.2'
...
usr/lib/libavcodec.so.61.28.100: binary file matches (found "\0" byte around offset 7)
...
$ pacman -Qo usr/lib/libavcodec.so.61.28.100
/usr/lib/libavcodec.so.61.28.100 is owned by ffmpeg-git 7.2.r118193.g5f38c82536-1
It was because I'd installed ffmpeg-git a while back to try something, then forgotten to remove it afterwards!  :-[
Sorry to have troubled you over this self inflicted bug, thank you for the help in finding the answer.

 
Artix forum uses a single cookie to remember youOK