Plz how to fix this bug!

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

Error message (don't change this)
Anki 25.02.5 (29192d15)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.19045

Traceback (most recent call last):

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

  File "C:\Users\arafa\AppData\Roaming\Anki2\addons21\1322529746\gui\auto_sync.py", line 99, in sync_with_ankiweb
    future.result()

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

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

  File "C:\Users\arafa\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\utils.py", line 39, in wrapper
    return func(*args, **kwargs)

  File "C:\Users\arafa\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\ankihub_sync.py", line 209, in _on_sync_done
    maybe_check_databases()

  File "C:\Users\arafa\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\__init__.py", line 23, in maybe_check_databases
    check_ankihub_db(on_success=check_anki_db)

  File "C:\Users\arafa\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\ah_db_check.py", line 23, in check_ankihub_db
    on_success()

  File "C:\Users\arafa\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\anki_db_check.py", line 22, in check_anki_db
    _check_ankihub_update_tags()

  File "C:\Users\arafa\AppData\Roaming\Anki2\addons21\1322529746\gui\operations\db_check\anki_db_check.py", line 137, in _check_ankihub_update_tags
    nids = aqt.mw.col.find_notes("tag:AnkiHub_Update::*")

  File "anki.collection", line 683, in find_notes

  File "anki._backend_generated", line 1680, in search_notes

  File "anki._backend", line 172, in _run_command

anki.errors.DBError: DbError { info: "SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some(\"invalid utf-8 sequence of 1 bytes from index 138\"))", kind: Other }

Sentry link (for developers)

Please try the Tools > Check Database option. It should fix the issue.

ty ty problem solved !!

1 Like

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