Downloading step deck

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 6.4.0 PyQt 6.4.0
Platform: Windows-10-10.0.26100
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2025-04-13 10:30:40

Traceback (most recent call last):

  File "aqt.taskman", line 122, in _on_closures_pending

  File "aqt.taskman", line 71, in <lambda>

  File "aqt.taskman", line 90, in wrapped_done

  File "aqt.sync", line 114, in on_future_done

  File "decorator", line 232, in fun

  File "anki.hooks", line 89, in decorator_wrapper

  File "anki.hooks", line 86, in repl

  File "C:\Users\brook\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 348, in _upload_if_full_sync_triggered_by_ankihub
    aqt.sync.full_upload(mw, on_done)  # type: ignore

  File "aqt.sync", line 242, in full_upload

  File "aqt.taskman", line 92, in with_progress

  File "aqt.taskman", line 62, in run_in_background

  File "aqt.taskman", line 122, in _on_closures_pending

  File "aqt.taskman", line 71, in <lambda>

  File "aqt.taskman", line 90, in wrapped_done

  File "C:\Users\brook\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\subdecks.py", line 76, in _on_subdecks_updated
    future.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "concurrent.futures.thread", line 58, in run

  File "C:\Users\brook\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\subdecks.py", line 25, in <lambda>
    task=lambda: build_subdecks_and_move_cards_to_them(

  File "C:\Users\brook\AppData\Roaming\Anki2\addons21\1322529746\main\subdecks.py", line 59, in build_subdecks_and_move_cards_to_them
    nid_to_dest_deck_name = _nid_to_destination_deck_name(

  File "C:\Users\brook\AppData\Roaming\Anki2\addons21\1322529746\main\subdecks.py", line 112, in _nid_to_destination_deck_name
    tags_str = aqt.mw.col.db.scalar("SELECT tags FROM notes WHERE id = ?", nid)

AttributeError: 'NoneType' object has no attribute 'scalar'

Sentry link (for developers)

Hello,

Please update your Anki to the latest version: https://apps.ankiweb.net/

This should resolve the issue! :slight_smile:

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 2.1.56 (07fd88dd) Python 3.9.15 Qt 6.4.0 PyQt 6.4.0
Platform: Windows-10-10.0.26100
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2025-04-13 11:41:10

Traceback (most recent call last):

  File "aqt.main", line 252, in on_focus_changed

  File "_aqt.hooks", line 3028, in __call__

  File "C:\Users\brook\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 238, in refresh_ui_and_start_after_sync_tasks_once
    aqt.mw.reset()

  File "aqt.main", line 785, in reset

  File "aqt.main", line 737, in _synthesize_op_did_execute_from_reset

  File "_aqt.hooks", line 3411, in __call__

  File "aqt.main", line 757, in on_operation_did_execute

  File "aqt.toolbar", line 161, in update_sync_status

  File "aqt.sync", line 55, in get_sync_status

  File "aqt.taskman", line 62, in run_in_background

  File "aqt.taskman", line 122, in _on_closures_pending

  File "aqt.taskman", line 71, in <lambda>

  File "aqt.taskman", line 90, in wrapped_done

  File "aqt.sync", line 97, in on_future_done

  File "anki.dbproxy", line 36, in begin

  File "anki._backend", line 95, in db_begin

  File "anki._backend", line 111, in _db_command

anki.errors.DBError: DbError { info: "SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some(\"cannot start a transaction within a transaction\"))", kind: Other }

Sentry link (for developers)

Ah thank you so much!!

1 Like

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