Bug#1010900: anki: can't open preferences with python3.10

2022-08-22 Thread Andrii Borovyi
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.

Bug#1010900: anki: can't open preferences with python3.10

2022-05-13 Thread Julian Gilbey
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

Bug#1010900: anki: can't open preferences with python3.10

2022-05-12 Thread Kacper Gutowski
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