If your like me and have recently updated your ubuntu to 16.10 yaketty and found your flash card/space repition application not working your not alone.

As explained in debian wiki. The problem is that the QtWebKit has been removed from the Qt4, related to migration to Qt5/blink. Due to the reason if your using any application that depends on PyQt4 and QtWebKit are broken till date. The problem will only be solved when the application is updated to use the upgraded version of the library.

If your like me and you cant breathe without app you can downgrade the library to force the app to work on your ubuntu.

  1. sudo echo "deb http://archive.ubuntu.com/ubuntu/ xenial universe" >> /etc/apt/source.list.d/backport.list
  2. sudo echo "deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe" >> /etc/apt/source.list.d/backport.list
  3. sudo apt update
  4. sudo apt install python-qt4=4.11.4+dfsg-1build4 python-qt4-sql=4.11.4+dfsg-1build4
  5. sudo apt-mark hold python-qt4 python-qt4-sql

Error Code: