[Bug 1633725] [NEW] Mnemosyne fails to start in Yakkety due to missing QtWebKit

Launchpad Bug Tracker 1633725 at bugs.launchpad.net
Wed Oct 19 04:34:18 UTC 2016


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

Mnemosyne fails to start in Yakkety due to a failure to import QtWebKit.

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 155, in <module>
    debug_file=options.debug_file)
  File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/__init__.py", line 164, in initialise
    self.register_components()
  File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/__init__.py", line 215, in register_components
    exec("from %s import %s" % (module_name, class_name))
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/mnemosyne/pyqt_ui/review_wdgt.py", line 5, in <module>
    from PyQt4 import QtCore, QtGui, QtWebKit
 ImportError: cannot import name QtWebKit

Searching with apt-cache reveals that there is a QtWebKit based on Qt4:

python-pyqt5.qtwebkit - Python 2 bindings for Qt5's WebKit module
python-pyside.qtwebkit - Qt 4 WebKit module - Python bindings
python3-pyqt5.qtwebkit - Python 3 bindings for Qt5's WebKit module
python3-pyside.qtwebkit - Qt 4 WebKit module - Python3 bindings

... but installing it manually doesn't prevent the above error:

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 155, in <module>
    debug_file=options.debug_file)
  File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/__init__.py", line 164, in initialise
    self.register_components()
  File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/__init__.py", line 215, in register_components
    exec("from %s import %s" % (module_name, class_name))
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/mnemosyne/pyqt_ui/review_wdgt.py", line 5, in <module>
    from PyQt4 import QtCore, QtGui, QtWebKit
 ImportError: cannot import name QtWebKit

** Affects: mnemosyne (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: mnemosyne (Debian)
     Importance: Unknown
         Status: New


** Tags: patch yakkety
-- 
Mnemosyne fails to start in Yakkety due to missing QtWebKit
https://bugs.launchpad.net/bugs/1633725
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list