Trying to import image files that never got assoc. with their cards

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

Error message (don't change this)
Anki 25.02.4 (a5c33ad0)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: macOS-15.6.1-arm64-arm-64bit

Traceback (most recent call last):

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

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

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

  File "/Users/tylerbihasa/Library/Application Support/Anki2/addons21/1322529746/media_import/importing.py", line 176, in _import_media_part_2
    name_conflicts = 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 "/Users/tylerbihasa/Library/Application Support/Anki2/addons21/1322529746/media_import/importing.py", line 170, in <lambda>
    task=lambda: name_exists_in_collection(self._files_list),

  File "/Users/tylerbihasa/Library/Application Support/Anki2/addons21/1322529746/media_import/importing.py", line 330, in name_exists_in_collection
    media_dir = LocalRoot(media_paths_from_col_path(aqt.mw.col.path)[0], recursive=False)

  File "/Users/tylerbihasa/Library/Application Support/Anki2/addons21/1322529746/media_import/pathlike/local.py", line 28, in __init__
    raise RootNotFoundError()

1322529746.media_import.pathlike.errors.RootNotFoundError: RootNotFoundError

Sentry link (for developers)

Do you have the collection.media folder in your Anki data folder? See this for its location: Managing Files - Anki Manual