Running Anki from terminal produces the following output on clicking Simulate
. Seems to be an issue in FSRS-rs @L.M.Sherlock @A_Blokee
thread '<unnamed>' panicked at C:\Users\dae\.cargo\git\checkouts\fsrs-rs-42b9aeb7291fb120\c771768\src\optimal_retention.rs:235:18:
index out of bounds: the len is 19 but the index is 20
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2025-04-26 21:05:45,503:ERROR:waitress: Exception when servicing <waitress.channel.HTTPChannel connected 127.0.0.1:13941 at 0x1c2d3902cd0>
Traceback (most recent call last):
File "waitress.task", line 84, in handler_thread
File "waitress.channel", line 430, in service
File "waitress.task", line 168, in service
File "waitress.task", line 436, in execute
File "waitress.proxy_headers", line 64, in translate_proxy_headers
File "flask.app", line 1498, in __call__
File "flask.app", line 1473, in wsgi_app
File "flask.app", line 880, in full_dispatch_request
File "flask.app", line 865, in dispatch_request
File "aqt.mediasrv", line 319, in handle_request
File "aqt.mediasrv", line 741, in _handle_dynamic_request
File "aqt.mediasrv", line 690, in wrapped
File "aqt.mediasrv", line 671, in <lambda>
File "anki._backend_generated", line 1106, in simulate_fsrs_review_raw
File "anki._backend", line 161, in _run_command
pyo3_runtime.PanicException: index out of bounds: the len is 19 but the index is 20
thread '<unnamed>' panicked at rslib\src\backend\mod.rs:122:18:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
2025-04-26 21:07:18,977:ERROR:waitress: Exception when servicing <waitress.channel.HTTPChannel connected 127.0.0.1:13963 at 0x1c2d5d39400>
Traceback (most recent call last):
File "waitress.task", line 84, in handler_thread
File "waitress.channel", line 430, in service
File "waitress.task", line 168, in service
File "waitress.task", line 436, in execute
File "waitress.proxy_headers", line 64, in translate_proxy_headers
File "flask.app", line 1498, in __call__
File "flask.app", line 1473, in wsgi_app
File "flask.app", line 880, in full_dispatch_request
File "flask.app", line 865, in dispatch_request
File "aqt.mediasrv", line 319, in handle_request
File "aqt.mediasrv", line 741, in _handle_dynamic_request
File "aqt.mediasrv", line 690, in wrapped
File "aqt.mediasrv", line 671, in <lambda>
File "anki._backend_generated", line 1106, in simulate_fsrs_review_raw
File "anki._backend", line 161, in _run_command
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value: PoisonError { .. }