#1070863 inkscape: "Import Web Image" fails with ModuleNotFoundError: No module named 'appdirs'

Package:
inkscape
Source:
inkscape
Description:
vector-based drawing program
Submitter:
Ralf Jung
Date:
2024-05-10 17:51:04 UTC
Severity:
normal
#1070863#5
Date:
2024-05-10 12:18:21 UTC
From:
To:
Dear Maintainer,

to reproduce, simply click File - Import Web Image. I then get an error dialog showing
a Python exception:

Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/other/clipart/import_web_image.py", line 35, in <module>
    from appdirs import user_cache_dir
ModuleNotFoundError: No module named 'appdirs'

Looks like maybe a dependency on python3-appdirs is missing?
Once I install that, I get another error about importing 'cachecontrol'.
After also installing python3-cachecontrol, the import web window finally appears.

Kind regards,
Ralf