[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1067573: inkscape: extension manager depends on python3-filelock



Package: inkscape
Version: 1.2.2-2+b1
Severity: normal

Dear Maintainer,

I tried using the "Manage Extensions" menu item, but all I got was a dialog box
containing a Python error message:

    <frozen importlib._bootstrap>:673: ImportWarning: DynamicImporter.exec_module() not found; falling back to load_module()
    <frozen importlib._bootstrap>:673: ImportWarning: DynamicImporter.exec_module() not found; falling back to load_module()
    An error occured with the extensions manager!
    Trying to self-update the package... Failed to update!

    Please delete the package manually! (see location below)


    Please report this error
    ------------------------

    Report URL: https://gitlab.com/inkscape/extras/extension-manager/-/issues
    Location: /usr/share/inkscape/extensions/inkman/inkman/inkman
    inkscape-extension-manager: 1.0

    Not done
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/cachecontrol/caches/file_cache.py", line 74, in __init__
	from filelock import FileLock
    ModuleNotFoundError: No module named 'filelock'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/share/inkscape/extensions/inkman/inkman/manage_extensions.py", line 61, in recovery_run
	run(args)
      File "/usr/share/inkscape/extensions/inkman/inkman/manage_extensions.py", line 36, in run
	from inkman.targets import TARGETS
      File "/usr/share/inkscape/extensions/inkman/inkman/inkman/targets.py", line 9, in <module>
	ExtensionsTarget("extension", "Extensions", "extensions", True, filters=("*.inx",)),
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/share/inkscape/extensions/inkman/inkman/inkman/target.py", line 49, in __init__
	self.archive = RemoteArchive(category)
		       ^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/share/inkscape/extensions/inkman/inkman/inkman/remote.py", line 111, in __init__
	cache=FileCache(CACHE_DIR),
	      ^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/cachecontrol/caches/file_cache.py", line 84, in __init__
	raise ImportError(notice)
    ImportError:
    NOTE: In order to use the FileCache you must have
    filelock installed. You can install it via pip:
      pip install filelock

After installing the python3-filelock package manually via apt, the Extension
Manager worked fine.

I'm filing this bug against the inkscape version currently in 'stable', but I
don't see anything related in the Debian changelog from 'experimental', so I
guess this is still the case.

Cheers,

 - Roland


-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable-debug'), (990, 'stable'), (500, 'unstable-debug'), (400, 'unstable'), (300, 'oldstable-updates'), (300, 'oldstable-security'), (300, 'oldstable-debug'), (300, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-0.deb11.13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.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.3-1
ii  libboost-filesystem1.74.0  1.74.0+ds1-21
ii  libc6                      2.36-9+deb12u4
ii  libcairo-gobject2          1.16.0-7
ii  libcairo2                  1.16.0-7
ii  libcairomm-1.0-1v5         1.14.4-2
ii  libcdr-0.1-1               0.1.6-2+b2
ii  libfontconfig1             2.14.1-4
ii  libfreetype6               2.12.1+dfsg-5
ii  libgc1                     1:8.2.2-3
ii  libgcc-s1                  12.2.0-14
ii  libgdk-pixbuf-2.0-0        2.42.10+dfsg-1+b1
ii  libglib2.0-0               2.74.6-2
ii  libglibmm-2.4-1v5          2.66.5-2
ii  libgomp1                   12.2.0-14
ii  libgsl27                   2.7.1+dfsg-5
ii  libgspell-1-2              1.12.0-1+b2
ii  libgtk-3-0                 3.24.38-2~deb12u1
ii  libgtkmm-3.0-1v5           3.24.7-1
ii  libharfbuzz0b              6.0.0+dfsg-3
ii  libjpeg62-turbo            1:2.1.5-2
ii  liblcms2-2                 2.14-2
ii  libmagick++-6.q16-8        8:6.9.11.60+dfsg-1.6+deb12u1
ii  libpango-1.0-0             1.50.12+ds-1
ii  libpangocairo-1.0-0        1.50.12+ds-1
ii  libpangoft2-1.0-0          1.50.12+ds-1
ii  libpangomm-1.4-1v5         2.46.3-1
ii  libpng16-16                1.6.39-2
ii  libpoppler-glib8           22.12.0-2+b1
ii  libpoppler126              22.12.0-2+b1
ii  libpotrace0                1.16-2
ii  libreadline8               8.2-1.3
ii  librevenge-0.0-0           0.0.5-3
ii  librsvg2-common            2.54.7+dfsg-1~deb12u1
ii  libsigc++-2.0-0v5          2.12.0-1
ii  libsoup2.4-1               2.74.3-1
ii  libstdc++6                 14-20240315-1
ii  libvisio-0.1-1             0.1.7-1+b3
ii  libwpg-0.3-3               0.3.3-1
ii  libx11-6                   2:1.8.4-2+deb12u2
ii  libxml2                    2.9.14+dfsg-1.3~deb12u1
ii  libxslt1.1                 1.1.35-1
ii  python3                    3.11.2-1+b1
ii  zlib1g                     1:1.2.13.dfsg-1

Versions of packages inkscape recommends:
ii  aspell                           0.60.8-4+b1
ii  fig2dev                          1:3.2.8b-3
ii  imagemagick                      8:6.9.11.60+dfsg-1.6+deb12u1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.11.60+dfsg-1.6+deb12u1
ii  libimage-magick-perl             8:6.9.11.60+dfsg-1.6+deb12u1
ii  libwmf-bin                       0.2.12-5.1
ii  python3-cssselect                1.2.0-2
ii  python3-lxml                     4.9.2-1+b1
ii  python3-numpy                    1:1.24.2-1
ii  python3-scour                    0.38.2-2

Versions of packages inkscape suggests:
pn  dia                   <none>
pn  inkscape-tutorials    <none>
ii  libsvg-perl           2.87-1
pn  pstoedit              <none>
ii  python3-packaging     23.0-1
pn  python3-uniconvertor  <none>
ii  ruby                  1:3.1

-- debconf-show failed


Reply to: