I started 2.1.66 on my 2.1.22 collection. It showed some DbErrors in the Browser. Exporting showed an exception.
I deleted all the contents and tags from all cards, because I want to try the optimizer in How to use the next-generation spaced repetition algorithm FSRS on Anki?
After running
mw.col.db.execute("update cards set factor=round(factor)")
mw.col.modSchema(False)
there are no more DbErrors near the top of the list in the Browser, but exporting (as described in that thread) still fails with DbError { info: "InvalidColumnType(6, \"factor\", Real)", kind: Other }
Same error. There may still be errors in the Browser, but none are near the top.
With 2.1.22, I’ve been using modified autoEaseFactor.
In 2.1.66 (running in safe mode, because it wouldn’t start otherwise), I turned the V3 scheduler on, but didn’t review anything.
Thank you, it was exported as a 37 MB .apkg file with a 103 MB collection.anki21 and small other files.
Going from my 2.1.22 collection to Anki 2.1.66 requires both sets of commands:
mw.col.db.execute("update cards set factor=round(factor)")
mw.col.modSchema(False)
print(mw.col.db.all("update revlog set factor = max(0, cast(factor as integer));"))