After emerge @world to-day, when I start Anki it reports: Error during startup: Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/aqt/main.py", line 50, in __init__ self.setupUI() File "/usr/lib64/python3.6/site-packages/aqt/main.py", line 75, in setupUI self.setupMainWindow() File "/usr/lib64/python3.6/site-packages/aqt/main.py", line 566, in setupMainWindow tweb = self.toolbarWeb = aqt.webview.AnkiWebView() File "/usr/lib64/python3.6/site-packages/aqt/webview.py", line 105, in __init__ self.focusProxy().installEventFilter(self) AttributeError: 'NoneType' object has no attribute 'installEventFilter' According to https://bbs.archlinux.org/viewtopic.php?id=237486 this is because Anki is incompatible with Qt 5.11.1
Your $summary is confusing.
Unfortunately, the latest version (Beta 42) is also not compatible with Qt-5.11.
Please also see: - https://bugs.archlinux.org/task/58734 - https://anki.tenderapp.com/discussions/beta-testing/1149-bleeding-edge-breaking-dependencies - https://anki.tenderapp.com/discussions/beta-testing/1152-bugs-on-qt-511 - https://anki.tenderapp.com/discussions/ankidesktop/28837-anki-has-stopped-working-after-qt5-update - https://anki.tenderapp.com/kb/anki-ecosystem/third-party-linux-packages-and-source-builds-are-not-supported Damien Elmes (Anki developer) said he probably won't work on Qt 5.11 support. Instead, he will wait until Qt 5.12 is released in November.
I've set up a chroot environment just for Anki, until this is resolved. package.mask: >=dev-qt/qtwebengine-5.10 etc. Email me if you want more details.
(In reply to Francesco Turco from comment #3) > Damien Elmes (Anki developer) said he probably won't work on Qt 5.11 support. > Instead, he will wait until Qt 5.12 is released in November. That's a bad decision.
I have found a workaround for this. If you go to the official Anki download page, you can scroll to the bottom and download an older version. It is currently version 2.0.52 -- I have yet to run into any issues, and I do not get any errors. It is not perfect because we cannot use the latest version as of right now, but this work around should be acceptable to users of Anki who don't want to rely on the web version or a downgraded version of qt5.
Michael Mounteney, does the 2.1.15 version of anki now in ::gentoo work for you now?
I don't know, sorry. I now use the downloaded tarball from the Anki site for now, whilst transitioning off Anki. The portage version is too old. If this bug affects only me, I propose it should be closed.
I guess this can be closed as RESOLVED, OBSOLETE since anki-23.12.1 is not affected by this bug and https://github.com/gentoo/gentoo/pull/35552 all versions <23.12.1.
Indeed. Why no close, Patrick?