I have the same problem with few small version differences (for example, I am using Ubuntu 22.04-jammy). When I run anki (same version) on another box running 20.04-focal, this error does not occur.
I think the problem is due to the change in the Qt5 and/or Python versions between 20.04 and 22.04 for the same version of anki, 2.1.15 (442df9d6). When I get the error described here, the version info is Anki 2.1.15 (442df9d6) Python 3.10.6 Qt 5.15.3 PyQt 5.15.6 When I find the version info on my 20.04 box, I find Anki 2.1.15 (442df9d6) Python 3.08.2 Qt 5.12.8 PyQt 5.14.1 Something changed. Are there other apps the need these new versions of Qt and/or Python? I don't know how many ways this error occurs, but trying to open Tools->Preferences is definitely the main one. I thought I encountered it doing something else, but that doesn't seem to be the case. I would add that I can work around the problem by using the -X option with ssh to connect from the 22.04 machine to the 20.04 machine. -- You received this bug notification because you are a member of Edubuntu Bugsquad, which is subscribed to anki in Ubuntu. https://bugs.launchpad.net/bugs/2015698 Title: Caught exception: aqt.dialogs.open("Preferences", self) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/anki/+bug/2015698/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~edubuntu-bugs Post to : [email protected] Unsubscribe : https://launchpad.net/~edubuntu-bugs More help : https://help.launchpad.net/ListHelp

