Bug#1070863: inkscape: "Import Web Image" fails with ModuleNotFoundError: No module named 'appdirs'
Package: inkscape
Version: 1.2.2-2+b3
Severity: normal
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
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.6.15-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages inkscape depends on:
ii lib2geom1.2.0 1.2.2-3
ii libatkmm-1.6-1v5 2.28.4-1
ii libboost-filesystem1.83.0 1.83.0-2+b2
ii libc6 2.37-15
ii libcairo-gobject2 1.18.0-1+b1
ii libcairo2 1.18.0-1+b1
ii libcairomm-1.0-1v5 1.14.5-1
ii libcdr-0.1-1 0.1.7-1
ii libfontconfig1 2.15.0-1.1
ii libfreetype6 2.13.2+dfsg-1+b1
ii libgc1 1:8.2.6-1
ii libgcc-s1 14-20240201-3
ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-3+b1
ii libglib2.0-0 2.78.4-1
ii libglibmm-2.4-1v5 2.66.6-2+b1
ii libgomp1 14-20240201-3
ii libgsl27 2.7.1+dfsg-6+b1
ii libgspell-1-2 1.12.2-1+b1
ii libgtk-3-0 3.24.41-1
ii libgtkmm-3.0-1v5 3.24.8-2+b1
ii libharfbuzz0b 8.3.0-2
ii libjpeg62-turbo 1:2.1.5-2+b2
ii liblcms2-2 2.14-2+b1
ii libmagick++-6.q16-9 8:6.9.12.98+dfsg1-5+b1
ii libpango-1.0-0 1.52.0+ds-1
ii libpangocairo-1.0-0 1.52.0+ds-1
ii libpangoft2-1.0-0 1.52.0+ds-1
ii libpangomm-1.4-1v5 2.46.4-1
ii libpng16-16 1.6.43-1
ii libpoppler-glib8 22.12.0-2+b1
ii libpoppler126 22.12.0-2+b1
ii libpotrace0 1.16-2+b1
ii libreadline8 8.2-3+b1
ii librevenge-0.0-0 0.0.5-3
ii librsvg2-common 2.54.7+dfsg-2
ii libsigc++-2.0-0v5 2.12.1-1
ii libsoup2.4-1 2.74.3-3
ii libstdc++6 14-20240201-3
ii libvisio-0.1-1 0.1.7-1+b3
ii libwpg-0.3-3 0.3.4-3
ii libx11-6 2:1.8.7-1
ii libxml2 2.9.14+dfsg-1.3+b2
ii libxslt1.1 1.1.35-1
ii python3 3.11.6-1
ii zlib1g 1:1.3.dfsg-3+b1
Versions of packages inkscape recommends:
ii aspell 0.60.8.1-1+b1
ii fig2dev 1:3.2.9-3
ii imagemagick 8:6.9.12.98+dfsg1-5+b1
ii imagemagick-6.q16 [imagemagick] 8:6.9.12.98+dfsg1-5+b1
ii libimage-magick-perl 8:6.9.12.98+dfsg1-5
ii libwmf-bin 0.2.13-1.1
ii python3-cssselect 1.2.0-2
ii python3-lxml 5.1.0-1
ii python3-numpy 1:1.24.2-2
ii python3-scour 0.38.2-4.1
Versions of packages inkscape suggests:
pn dia <none>
pn inkscape-tutorials <none>
pn libsvg-perl <none>
pn pstoedit <none>
ii python3-packaging 24.0-1
pn python3-uniconvertor <none>
ii ruby 1:3.1
-- no debconf information
Reply to: