FS#74792 - [inkscape] extensions do not work - missing python-cssselect dep
Attached to Project:
Arch Linux
Opened by Oliver (xxarch) - Thursday, 19 May 2022, 06:28 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 30 August 2022, 19:54 GMT
Opened by Oliver (xxarch) - Thursday, 19 May 2022, 06:28 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 30 August 2022, 19:54 GMT
|
Details
Description:
Inkscape extensions do not work due to a missing python module. Please add the dependency of python-cssselect for inkscape 1.2. Additional info: * inkscape 1.2-2 Steps to reproduce: Open inkscape and execute any extension modules. |
This task depends upon
Closed by Christian Hesse (eworm)
Tuesday, 30 August 2022, 19:54 GMT
Reason for closing: Fixed
Additional comments about closing: inkscape 1.2.1-3
Tuesday, 30 August 2022, 19:54 GMT
Reason for closing: Fixed
Additional comments about closing: inkscape 1.2.1-3
https://gitlab.com/inkscape/extensions/-/jobs/2481704849/artifacts/browse/public/
Without these you will loose jpeg/tiff/webp export, most python extensions which look at svg styles, and most other shipped extensions that aren't super basic.
There are a few other modules which are used by second order functions, such as python-requests, python-appdirs, python-cachecontrol[filecache], gtk-gir, which are used by the extension manager and clipart importer functions.
For Inkscape users, especially in science, extensions are a crucial part of the application. They should run out of the box as they do on all other os's.
The situation with python-cssselect is especially problematic since nobody could imagine that they would need to install an optional dependency of an optional dependency in order to have basic functionality work.
At the very least, you could mention python-cssselect as a (direct) optional dependency.
Having it listed as optional dependency would be very helpful though. The only way to find out what is happening is by reading the python stack trace.
Ideally Inkscape would provide a pretty information message instead of just dumping python errors into a text field.
Edit:
Wait so with this "fix" we are now forced to install the 34 MB python-numpy package?
FS#74985FS#75436FWIW, Both Fedora [1] and Debian [2] have tweaked their python-cssselect deps recently. An optdep might be warranted.
[1] https://src.fedoraproject.org/rpms/inkscape/c/39c6c1b8
[2] https://salsa.debian.org/multimedia-team/inkscape/-/commit/890aed02
2. Click on Extensions
3. Click on "Manage Extensions..."
Boom.
*python-cssselect* needs to be added as dependency of *inkscape*