Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78120 - [inkscape] Missing dependency on python-{appdirs,requests}

Attached to Project: Arch Linux
Opened by Thibault de Villèle (tdv) - Wednesday, 05 April 2023, 08:57 GMT
Last edited by Christian Hesse (eworm) - Monday, 24 July 2023, 07:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Inkscape features an extension manager, available in the program under the menu bar > "Extensions" > "Manage extensions". This extension manager is implemented as a Python script which depends some python modules, including the "appdirs" module (https://pypi.org/project/appdirs/ also available on arch under "extra/python-appdirs").

Launching Inkscape without that dependency and opening the extension manager makes Inkscape report an internal error from a Python import.

After installing the dependency, the extension manager can now properly be opened. After closing it, another error message appears but this time I think it is an upstream bug, and not for you to figure out :)

Additional info:
* reported on Inkscape 1.2.2-4 (`pacman` output) installed from the "extra" repo.

Steps to reproduce:
- Open Inkscape, either through a SVG file, from the command line or your favorite DE/WM.
- When a document (empty or not) is open, go to the menu bar > "Extensions" > "Manage extensions".
- Notice Inkscape reports an internal error and carries on after closing the dialog.

Steps to fix:
- Update the dependencies of Inkscape to include the `python-appdirs` package, under the "extra" repo.
This task depends upon

Closed by  Christian Hesse (eworm)
Monday, 24 July 2023, 07:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  inkscape 1.3-1
Comment by Toolybird (Toolybird) - Wednesday, 05 April 2023, 21:27 GMT
While testing this in a fresh VM, I found it also needs "python-requests". IOW, there are 2 missing (optional?) deps.

Edit: Related  FS#72824 
Comment by cld4h (cld4h) - Tuesday, 04 July 2023, 02:23 GMT
"File" > "Import Web Image" also requires python-appdirs and python-cachecontrol installed.

Loading...