Before the error happened, I wasโฆ
Trying to upload a private deck
Error message (don't change this)
Anki 24.06.3 (d678e393) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.1-arm64-arm-64bit
Traceback (most recent call last):
File "aqt.taskman", line 142, in _on_closures_pending
File "aqt.taskman", line 86, in <lambda>
File "aqt.taskman", line 106, in wrapped_done
File "aqt.operations", line 252, in wrapped_done
File "/Users/nicholasjwaida/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_creation.py", line 151, in on_failure
raise exc
File "concurrent.futures.thread", line 58, in run
File "aqt.operations", line 242, in wrapped_op
File "/Users/nicholasjwaida/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_creation.py", line 155, in <lambda>
op=lambda _: create_ankihub_deck(
File "/Users/nicholasjwaida/Library/Application Support/Anki2/addons21/1322529746/main/deck_creation.py", line 59, in create_ankihub_deck
add_subdeck_tags_to_notes(anki_deck_name=deck_name, ankihub_deck_name=deck_name)
File "/Users/nicholasjwaida/Library/Application Support/Anki2/addons21/1322529746/main/subdecks.py", line 210, in add_subdeck_tags_to_notes
nids = nids_in_deck_but_not_in_subdeck(child_deck_name)
File "/Users/nicholasjwaida/Library/Application Support/Anki2/addons21/1322529746/main/utils.py", line 122, in nids_in_deck_but_not_in_subdeck
return aqt.mw.col.find_notes(f'deck:"{deck_name}" -deck:"{deck_name}::*"')
File "anki.collection", line 675, in find_notes
File "anki._backend_generated", line 1647, in search_notes
File "anki._backend", line 171, in _run_command
anki.errors.SearchError: <p>Invalid search: <U+2068>the escape sequence <code><U+2068>\o<U+2069></code> is not defined. If you want to search for a literal backslash <code>\</code>, prepend another one: <code>\\</code>.<U+2069></p>