I keep getting this error - Updated

Never mind, I will try the new version of Anki.

Error
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 on the add-on support site.
Debug info:
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-01-06 14:56:34

Caught exception:
Traceback (most recent call last):
File “aqt/webview.py”, line 41, in cmd
File “aqt/webview.py”, line 142, in _onCmd
File “aqt/webview.py”, line 595, in _onBridgeCmd
File “aqt/reviewer.py”, line 503, in _linkHandler
File “decorator.py”, line 232, in fun
File “anki/hooks.py”, line 89, in decorator_wrapper
File “anki/hooks.py”, line 84, in repl
File “aqt/reviewer.py”, line 422, in _answerCard
File “anki/scheduler/v3.py”, line 160, in answerCard
AttributeError: ‘NoneType’ object has no attribute ‘id’

So I tried the new version of Anki, here’s what I get…
Error
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.55 (01caec2a) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-13.0-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-01-06 15:41:02
Add-ons possibly involved: ⁨538879081⁩

Caught exception:
Traceback (most recent call last):
File “aqt.main”, line 1117, in closeEvent
File “aqt.main”, line 512, in unloadProfileAndExit
File “aqt.main”, line 487, in unloadProfile
File “_aqt.hooks”, line 3662, in call
File “anki.hooks”, line 34, in runHook
File “/Users/alexnahon/Library/Application Support/Anki2/addons21/538879081/init.py”, line 164, in onClose
File “/Users/alexnahon/Library/Application Support/Anki2/addons21/538879081/init.py”, line 82, in set_save_zoom
TypeError: ‘NoneType’ object does not support item assignment

I got an error again but this time it is different.
. . .
Error
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.55 (01caec2a) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-13.0-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-01-06 15:41:02
Add-ons possibly involved: ⁨AMBOSS add-on, Image Occlusion Enhanced for Anki 21⁩

Caught exception:
Traceback (most recent call last):
File “aqt.webview”, line 562, in handler
File “aqt.reviewer”, line 655, in _onTypedAnswer
File “decorator”, line 232, in fun
File “anki.hooks”, line 89, in decorator_wrapper
File “anki.hooks”, line 86, in repl
File “/Users/alexnahon/Library/Application Support/Anki2/addons21/1374772155/main.py”, line 278, in on_show_answer
return _old(self)
File “aqt.reviewer”, line 417, in _showAnswer
File “_aqt.hooks”, line 3755, in call
File “/Users/alexnahon/Library/Application Support/Anki2/addons21/0amboss_addon/reviewer.py”, line 288, in _on_card_updated
for card_id in self._schedule_service.get_upcoming_card_ids():
File “/Users/alexnahon/Library/Application Support/Anki2/addons21/0amboss_addon/reviewer.py”, line 187, in get_upcoming_card_ids
card_ids = card_fetcher(scheduler=scheduler) # type: ignore[arg-type]
File “/Users/alexnahon/Library/Application Support/Anki2/addons21/0amboss_addon/reviewer.py”, line 231, in _get_upcoming_card_ids_v3
queued_cards = scheduler.get_queued_cards(fetch_limit=self._fetch_limit)
File “anki.scheduler.v3”, line 52, in get_queued_cards
File “anki._backend_generated”, line 47, in get_queued_cards
File “anki._backend”, line 148, in _run_command
anki.errors.InvalidInput: bug: card modified without updating queue

I deleted the AMBOSS add on and reinstalled. I completely deleted the other add ons that were listed as possible causes. I am noticing this error when I edit a card during a review and make a new cloze deletion.


Error
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.55 (01caec2a) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-13.0-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-01-06 15:41:02

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 125, in wrapped_done
File “aqt.reviewer”, line 447, in after_answer
File “aqt.reviewer”, line 464, in _after_answering
File “decorator”, line 232, in fun
File “anki.hooks”, line 89, in decorator_wrapper
File “anki.hooks”, line 80, in repl
File “aqt.reviewer”, line 229, in nextCard
File “aqt.reviewer”, line 260, in _get_next_v3_card
File “anki.scheduler.v3”, line 52, in get_queued_cards
File “anki._backend_generated”, line 47, in get_queued_cards
File “anki._backend”, line 148, in _run_command
anki.errors.InvalidInput: bug: card modified without updating queue

If you can reproduce it after starting Anki while holding down the shift key to disable add-ons, please provide the exact steps you’re taking so I can try to trigger the issue here.

The steps I was using were to edit a card during review. Then I either added or changed the cloze deletion.

I also got this error when opening up my laptop this morning after finishing reviews last night. I left Anki running while the laptop was closed.

Debug info:
Anki 2.1.55 (01caec2a) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-13.0-arm64-arm-64bit
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-01-12 08:03:09

Caught exception:
Traceback (most recent call last):
File “aqt.progress”, line 118, in handler
File “aqt.main”, line 1413, in refresh_certs
FileNotFoundError: [Errno 2] No such file or directory: ‘/var/folders/vs/jw7jzth965373m8h616ht2hr0000gn/T/tmprev7x129cacert.pem’

There was bug fixes in 2.1.56, could you try it?

1 Like

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