Settings on Ubuntu lead to an Exception

When I try to open the Preferences under Extra > Settings, I get a window with the following error description and a link to this forum:

Anki 2.1.15 (442df9d6) Python 3.10.12 Qt 5.15.3 PyQt 5.15.6
Platform: Linux
Flags: frz=False ao=False sv=1

Caught exception:
File “/usr/share/anki/aqt/main.py”, line 882, in onPrefs
aqt.dialogs.open(“Preferences”, self)
File “/usr/share/anki/aqt/init.py”, line 82, in open
instance = creator(*args)
File “/usr/share/anki/aqt/preferences.py”, line 25, in init
self.setupCollection()
File “/usr/share/anki/aqt/preferences.py”, line 80, in setupCollection
f.lrnCutoff.setValue(qc[‘collapseTime’]/60.0)
<class ‘TypeError’>: setValue(self, int): argument 1 has unexpected type ‘float’

Please update this very old Anki version using a download from the Anki website. It is a known issue with this outdated version (likely distributed through package managers), that does not occur in recent versions.

1 Like

@dae did you consider setting up auto replies for very common reports like this?

I am the auto reply (using a text snippet) :wink:

1 Like

I’m not sure Discourse supports that out of the box? This forum is hosted by them.

Apparently that’s not supported out of the box. I saw @andrewsanchez was working on auto replies for the AnkiHub forums (also hosted by Discourse) but turned out they are using a custom bot.

The Discourse automation plugin can be used for very simplistic auto responses. Unfortunately, it’s overly simple and cumbersome, IMO. But it might be worth it to set up as a quick and easy way to configure auto responses for certain scenarios. E.g., detecting references to old Anki versions or mentions of “AnkiHub,” etc.

One of the many things I need to look into at one point :sweat:

1 Like