Open aleksejrs opened 7 years ago
reps
is NoneType
.reps
is returned by “reps_for_total_ivl”.reps_for_total_ivl
returns either zero or the result of a “for” loop.total_ivl
that is greater than max_total_ivl
. Else it will supposedly return NoneType
.In your Study_screen_time_forecast.py
file (in Anki/addons/
), what does the line with years =
say? https://github.com/aleksejrs/anki-2.0-study-screen-time-forecast/blob/master/Study_screen_time_forecast.py#L86
Maybe related https://anki.tenderapp.com/discussions/add-ons/6726-card-info-during-review-add-on-keeps-crashing ? "Some of the cards in your collection have an invalid creation date thousands of years into the future."
Probably found the reason: https://github.com/aleksejrs/anki-2.0-study-screen-time-forecast/issues/2
https://anki.tenderapp.com/discussions/add-ons/8386-a-bug-of-card-time-forecast