Public bug reported:

Currently, when python3-pyqt5 is installed but python3-pyqt5.qtwebkit is
not, retext fails to start with:

Traceback (most recent call last):
  File "/usr/share/retext/ReText/__init__.py", line 15, in <module>
    from PyQt5 import QtCore, QtPrintSupport, QtGui, QtWidgets, QtWebKit, 
QtWebKitWidgets
ImportError: No module named 'PyQt5.QtWebKit'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/retext", line 23, in <module>
    from ReText import QtCore, QtWidgets, QtWebKit, datadirs, globalSettings
  File "/usr/share/retext/ReText/__init__.py", line 18, in <module>
    from PyQt4 import QtCore, QtGui, QtWebKit
RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject 
class

Upstream switched to PyQt5 by default (with fallback to PyQt4), so we
should apply this change here as well. This is currently blocked by Qt
5.1 update (as theming support is broken in Qt 5.0).

** Affects: retext (Ubuntu)
     Importance: Medium
         Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1225418

Title:
  Should depend on python3-pyqt5 and python3-pyqt5.qtwebkit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/retext/+bug/1225418/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to