On Thu, 20 Sep 2018 08:23:15 +0200 Julien Puydt <julien.pu...@laposte.net> wrote: > Hi, > > I hadn't launched anki since long and hence got stuck. > > Looking at the trace I see: > self.focusProxy().installEventFilter(self) > and an attribute error that NoneType has no installEventFilter, so it's > quite clear what the problem is: > > self.focusProxy() returns None! > > That might mean that some versions of PyQT were having a default focus > proxy and that line worked, but newer versions need an explicit setup. > > Commenting the line makes it possible to go further, with a few error > windows showing up. > > I would suggest asking around.
That particular part of the code was refactored in upstream commit https://github.com/dae/anki/commit/1af556cb8d62a638f7fa0bcb6289bf932d338691 and although I was able to backport that single commit onto 2.1.5+dfsg-1 and that particular error went away, I still didn't get a very functional Anki window afterwards (only a menu bar with a grey window, but also three new tabs with data:text/html URLs in my Firefox o_O). So I guess there is still more to it than meets the eye for full pyqt 5.11 support. - Roland