Unable to reposition cards to negative start position

Disabled add-ons and checked database to no avail.

Anki 2.1.44 (b2b3275f) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2021-05-27 19:50:09

Caught exception:
Traceback (most recent call last):
File “aqt\webview.py”, line 526, in handler
File “aqt\editor.py”, line 534, in
File “aqt\browser.py”, line 1358, in _reposition
File “anki\schedv2.py”, line 1280, in sortCards
File “anki_backend\generated.py”, line 192, in sort_cards
File “google\protobuf\internal\python_message.py”, line 569, in init
File “google\protobuf\internal\python_message.py”, line 713, in field_setter
File “google\protobuf\internal\type_checkers.py”, line 168, in CheckValue
ValueError: Value out of range: -704

It’s not something I think really makes sense to support, as it breaks the assumptions that filtered decks make, so fixing this will probably mean limiting the minimum in the UI instead.

1 Like