Public bug reported: With the new PyQT version (e.g. 5.8), the QtWebKit and QtWebKitWidgets are already deprecated, so the application is not runnable:
ImportError: cannot import name 'QtWebKit' (and QtWbKitWidgets - spread through several project files) So users with new PyQT library are not able to run the app at all. I believe this problem is independent on the system, but just to be sure here is the info: 1) Linux Mint 18.1 2) latest version available on 23.10.2017 (using the ppa:openlp-core/release repository) 3) The application won't run 4) I tried to change the imports in order to fix the app, but it will probably be necessary to use chromium widgets instead of the QtWidgets, which I did not do. Some of the import errors I got are: Traceback (most recent call last): File "/usr/bin/openlp", line 27, in <module> from openlp.core.common import is_win, is_macosx File "/usr/share/openlp/openlp/__init__.py", line 26, in <module> from openlp import core, plugins File "/usr/share/openlp/openlp/core/__init__.py", line 41, in <module> from openlp.core.lib import ScreenList File "/usr/share/openlp/openlp/core/lib/__init__.py", line 331, in <module> from .renderer import Renderer File "/usr/share/openlp/openlp/core/lib/renderer.py", line 31, in <module> from openlp.core.ui import MainDisplay File "/usr/share/openlp/openlp/core/ui/__init__.py", line 103, in <module> from .maindisplay import MainDisplay, Display File "/usr/share/openlp/openlp/core/ui/maindisplay.py", line 35, in <module> from PyQt5 import QtCore, QtWidgets, QtWebKit, QtWebEngineWidgets, QtOpenGL, QtGui, QtMultimedia ImportError: cannot import name 'QtWebKit' Traceback (most recent call last): File "/usr/bin/openlp", line 27, in <module> from openlp.core.common import is_win, is_macosx File "/usr/share/openlp/openlp/__init__.py", line 26, in <module> from openlp import core, plugins File "/usr/share/openlp/openlp/core/__init__.py", line 46, in <module> from openlp.core.ui.exceptionform import ExceptionForm File "/usr/share/openlp/openlp/core/ui/exceptionform.py", line 36, in <module> from PyQt5 import Qt, QtCore, QtGui, QtWebKit, QtWidgets ImportError: cannot import name 'QtWebKit' 5)LibreOffice 5.1.6.2 10m0(Build:2) 6) None so far :) ** Affects: openlp Importance: Undecided Status: New -- You received this bug notification because you are a member of OpenLP Core, which is subscribed to OpenLP. https://bugs.launchpad.net/bugs/1726948 Title: PyQT QtWebKit and QtWebKitWidgets missing Status in OpenLP: New Bug description: With the new PyQT version (e.g. 5.8), the QtWebKit and QtWebKitWidgets are already deprecated, so the application is not runnable: ImportError: cannot import name 'QtWebKit' (and QtWbKitWidgets - spread through several project files) So users with new PyQT library are not able to run the app at all. I believe this problem is independent on the system, but just to be sure here is the info: 1) Linux Mint 18.1 2) latest version available on 23.10.2017 (using the ppa:openlp-core/release repository) 3) The application won't run 4) I tried to change the imports in order to fix the app, but it will probably be necessary to use chromium widgets instead of the QtWidgets, which I did not do. Some of the import errors I got are: Traceback (most recent call last): File "/usr/bin/openlp", line 27, in <module> from openlp.core.common import is_win, is_macosx File "/usr/share/openlp/openlp/__init__.py", line 26, in <module> from openlp import core, plugins File "/usr/share/openlp/openlp/core/__init__.py", line 41, in <module> from openlp.core.lib import ScreenList File "/usr/share/openlp/openlp/core/lib/__init__.py", line 331, in <module> from .renderer import Renderer File "/usr/share/openlp/openlp/core/lib/renderer.py", line 31, in <module> from openlp.core.ui import MainDisplay File "/usr/share/openlp/openlp/core/ui/__init__.py", line 103, in <module> from .maindisplay import MainDisplay, Display File "/usr/share/openlp/openlp/core/ui/maindisplay.py", line 35, in <module> from PyQt5 import QtCore, QtWidgets, QtWebKit, QtWebEngineWidgets, QtOpenGL, QtGui, QtMultimedia ImportError: cannot import name 'QtWebKit' Traceback (most recent call last): File "/usr/bin/openlp", line 27, in <module> from openlp.core.common import is_win, is_macosx File "/usr/share/openlp/openlp/__init__.py", line 26, in <module> from openlp import core, plugins File "/usr/share/openlp/openlp/core/__init__.py", line 46, in <module> from openlp.core.ui.exceptionform import ExceptionForm File "/usr/share/openlp/openlp/core/ui/exceptionform.py", line 36, in <module> from PyQt5 import Qt, QtCore, QtGui, QtWebKit, QtWidgets ImportError: cannot import name 'QtWebKit' 5)LibreOffice 5.1.6.2 10m0(Build:2) 6) None so far :) To manage notifications about this bug go to: https://bugs.launchpad.net/openlp/+bug/1726948/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp