Dear all,
The fix is quite straight-forward. It looks like python 3.10 became
more stricter to checking types, so setValue function can be tweaked a
bit with forcing type to int e.g.:
f.lrnCutoff.setValue(qc['collapseTime']/60.0)
can be updated to
f.lrnCutoff.setValue(int(qc['collapseTime']/60.
On Thu, May 12, 2022 at 05:43:14PM +0200, Kacper Gutowski wrote:
> Package: anki
> Version: 2.1.15+dfsg-3
> Severity: normal
>
> When I try to open Preferences, either with Ctrl+P or from menu, I get the
> following error:
> [...]
Dear Kacper,
Oh dear, thanks for letting me know. That should be
Package: anki
Version: 2.1.15+dfsg-3
Severity: normal
When I try to open Preferences, either with Ctrl+P or from menu,
I get the following error:
Anki 2.1.15 (442df9d6) Python 3.10.4 Qt 5.15.2 PyQt 5.15.6
Platform: Linux
Flags: frz=False ao=False sv=2
Caught exception:
File "/usr/share/anki
3 matches
Mail list logo