Bug#884372: openshot-qt hangs at start: No module named 'PyQt5.QtWebKitWidgets'

Jean-Luc Coulon (f5ibh) jean-luc.coulon at wanadoo.fr
Thu Dec 14 16:01:38 UTC 2017


Package: openshot-qt
Version: 2.4.0-1
Severity: important
Tags: upstream

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

When I start openshot-qt, I get the log you can see below. Then the application stays in this state, nothing else happening.

I've tested with upstream package, I get the same problem.
If I use the upstream AppImage package, it works.

I've seen on upstream discussions the same kind of problem reported, and the answer is "use the AppImage".

You will see in the log it complains about missing PyQt5.QtWebKitWidgets module.
But the module is on the system from python-pyqt5 package.

ls /usr/lib/python2.7/dist-packages/PyQt5 | grep WebKitWidgets
QtWebKitWidgets.x86_64-linux-gnu_d.so
QtWebKitWidgets.x86_64-linux-gnu.so

and the related py/pyc files are there also:
ls /usr/lib/python2.7/dist-packages/PyQt5/uic/widget-plugins | grep -i webkit
qtwebkit.py
qtwebkit.pyc

Regards

Jean-Luc


openshot-qt
Loaded modules from installed directory: /usr/lib/python3/dist-packages/openshot_qt
      launch:INFO ------------------------------------------------
      launch:INFO    OpenShot (version 2.4.0)
      launch:INFO ------------------------------------------------
         app:INFO openshot-qt version: 2.4.0
         app:INFO libopenshot version: 0.1.9
         app:INFO platform: Linux-4.15.0-rc3-i7-0.1-x86_64-with-debian-buster-sid
         app:INFO processor: 
         app:INFO machine: x86_64
         app:INFO python version: 3.6.4rc1
         app:INFO qt5 version: 5.9.1
         app:INFO pyqt5 version: 5.9
    language:INFO Attempting to load qt_fr_FR.UTF-8 in '/home/jean-luc/.local/lib/python3.6/site-packages/PyQt5/Qt/translations'
    language:INFO Attempting to load qt_fr in '/home/jean-luc/.local/lib/python3.6/site-packages/PyQt5/Qt/translations'
    language:INFO Attempting to load fr_FR.UTF-8/LC_MESSAGES/OpenShot in '/usr/lib/python3/dist-packages/openshot_qt/locale'
    language:INFO Attempting to load fr/LC_MESSAGES/OpenShot in '/usr/lib/python3/dist-packages/openshot_qt/locale'
    language:INFO Successfully loaded fr/LC_MESSAGES/OpenShot in '/usr/lib/python3/dist-packages/openshot_qt/locale'
    language:INFO Qt Detected Languages: ['fr-FR']
    language:INFO LANG Environment Variable: fr_FR.UTF-8
    language:INFO LOCALE Environment Variable: fr_FR
    language:INFO Attempting to load qt_fr_FR.UTF-8 in '/home/jean-luc/.local/lib/python3.6/site-packages/PyQt5/Qt/translations'
    language:INFO Attempting to load qt_fr in '/home/jean-luc/.local/lib/python3.6/site-packages/PyQt5/Qt/translations'
    language:INFO Attempting to load qtbase_fr_FR.UTF-8 in '/home/jean-luc/.local/lib/python3.6/site-packages/PyQt5/Qt/translations'
    language:INFO Successfully loaded qtbase_fr_FR.UTF-8 in '/home/jean-luc/.local/lib/python3.6/site-packages/PyQt5/Qt/translations'
    language:INFO Attempting to load qt_fr_FR.UTF-8 in '/usr/lib/python3/dist-packages/openshot_qt/locale/QT'
    language:INFO Attempting to load qt_fr in '/usr/lib/python3/dist-packages/openshot_qt/locale/QT'
    language:INFO Attempting to load qtbase_fr_FR.UTF-8 in '/usr/lib/python3/dist-packages/openshot_qt/locale/QT'
    language:INFO Attempting to load qtbase_fr in '/usr/lib/python3/dist-packages/openshot_qt/locale/QT'
    language:INFO Attempting to load fr_FR.UTF-8/LC_MESSAGES/OpenShot in '/usr/lib/python3/dist-packages/openshot_qt/locale'
    language:INFO Attempting to load fr/LC_MESSAGES/OpenShot in '/usr/lib/python3/dist-packages/openshot_qt/locale'
    language:INFO Successfully loaded fr/LC_MESSAGES/OpenShot in '/usr/lib/python3/dist-packages/openshot_qt/locale'
    language:INFO Exiting translation system (since we successfully loaded: fr_FR.UTF-8)
project_data:INFO Setting default profile to HDV 720 24p
         app:INFO Setting font to /usr/lib/python3/dist-packages/openshot_qt/images/fonts/Ubuntu-R.ttf
logger_libopenshot:INFO Connecting to libopenshot with debug port: 5556
         app:INFO Setting custom dark theme
  exceptions:ERROR Unhandled Exception
Traceback (most recent call last):
  File "/usr/bin/openshot-qt", line 11, in <module>
    load_entry_point('openshot-qt==2.4.0', 'gui_scripts', 'openshot-qt')()
  File "/usr/lib/python3/dist-packages/openshot_qt/launch.py", line 70, in main
    app = OpenShotApp(sys.argv)
  File "/usr/lib/python3/dist-packages/openshot_qt/classes/app.py", line 163, in __init__
    from windows.main_window import MainWindow
  File "/usr/lib/python3/dist-packages/openshot_qt/windows/main_window.py", line 43, in <module>
    from windows.views.timeline_webview import TimelineWebView
  File "/usr/lib/python3/dist-packages/openshot_qt/windows/views/timeline_webview.py", line 40, in <module>
    from PyQt5.QtWebKitWidgets import QWebView
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
     metrics:INFO Track exception: [200] http://www.openshot.org/exception/json/ | *old-exception-ignored*



- -- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-rc3-i7-0.1 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openshot-qt depends on:
ii  libjs-jquery            3.2.1-1
ii  python3                 3.6.4~rc1-1
ii  python3-openshot        0.1.9+dfsg1-3+b1
ii  python3-pyqt5           5.9.2+dfsg-1
ii  python3-pyqt5.qtsvg     5.9.2+dfsg-1
ii  python3-pyqt5.qtwebkit  5.9.2+dfsg-1
ii  python3-zmq             16.0.2-2+b1

Versions of packages openshot-qt recommends:
ii  blender   2.79+dfsg0-3
ii  inkscape  0.92.2-2+b1

Versions of packages openshot-qt suggests:
ii  openshot-qt-doc  2.4.0-1

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQT5el3FKLtmYO4UlQtR0YZfPMac0AUCWjKgYgAKCRBR0YZfPMac
0KhAAJ9AySvBlDHibiStt07d3tAPCoyvlgCglDMog+nqVsP3BYuMn9sfIN48SVQ=
=Gatb
-----END PGP SIGNATURE-----



More information about the pkg-multimedia-maintainers mailing list