Anki 2.1.54 sync bug

An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-03-27 23:08:03

Caught exception:
Traceback (most recent call last):
File “aqt.taskman”, line 122, in _on_closures_pending
File “aqt.taskman”, line 71, in
File “aqt.taskman”, line 90, in wrapped_done
File “aqt.operations”, line 127, in wrapped_done
File “aqt.operations”, line 148, in _finish_op
File “aqt.main”, line 1125, in autosave
File “anki.collection”, line 258, in autosave
File “anki.collection”, line 241, in save
AttributeError: ‘NoneType’ object has no attribute ‘modified_in_python’

I don’t upgrade to newer versions because I’m waiting for mathjax bugs to be fixed and I haven’t seen those in the logs yet.

If you don’t want to use the MathJax editor in recent releases, you can turn it off by clicking on the cog in the editor. Please let us know if the error persists in the latest version with add-ons disabled.

I absolutely want to use the Mathjax editor :slight_smile:

I just checked and the problem that prevented me from updating: Anki mathjax unnecessary big space and too big to edit bugs with v57 (and 56 and 55) - #2 by dae still persists. As far as I can tell the other Mathjax issue, 2.1.56 Qt6 - Pressing space after MathJax inserts   with escaped & , that prevented me is fixed now.

Btw Thank You for working on this software, it’s amazing!

If you can still reproduce it on Release 2.1.61 · ankitects/anki · GitHub, please provide a 1 card deck and instructions on how to reproduce it, and I’ll file this on our issue tracker.

I made an instruction video: Mathjax bug reproduction - YouTube . This is in 2.1.61 (0c1eaf4c)⁩. I don’t know how to provide a deck…

Is that ok or do I still need to provide a sample deck somewhere and/or a written instruction?

A sample deck would be best, so we can just import it and instantly reproduce the problem. If you move a problem card to a new deck, file>export an .apkg, and share it on somewhere like google drive (“anyone with a link can view”), that will make things easier.

Here you go:

Thank you, I’ve filed this on MathJax editor has trailing whitespace/strange cursor navigation · Issue #2463 · ankitects/anki · GitHub

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.