Description of problem: When you export an optimized SVG, this fails. Version-Release number of selected component (if applicable): $ flatpak info org.inkscape.Inkscape Inkscape - Vector Graphics Editor ID: org.inkscape.Inkscape Ref: app/org.inkscape.Inkscape/x86_64/stable Arch: x86_64 Branch: stable Version: 1.2.1 License: GPL-2.0-or-later Origin: fedora Collection: Installation: system Installed: 319.6?MB Runtime: org.fedoraproject.Platform/x86_64/f37 Sdk: org.fedoraproject.Sdk/x86_64/f37 Commit: ef553e6eec59c141ed20aec837b09ccc06d3455e79bc0efbb3719d1789c650b9 Subject: Export org.inkscape.Inkscape Date: 2022-10-09 06:54:53 +0000 Alt-id: 081a06b984bf5ffe2bd49e7dedab2e99e93c2d9548c259184f733a7517d0dcc8 Inkscape 1.2.1 (9c6d41e410, 2022-07-14) GLib version: 2.74.1 GTK version: 3.24.34 glibmm version: 2.66.5 gtkmm version: 3.24.7 libxml2 version: 2.9.14 libxslt version: 1.1.37 Cairo version: 1.17.6 Pango version: 1.50.11 HarfBuzz version: 5.2.0 OS version: Fedora Linux 37 (Thirty Seven) The optimized exporter script seems to be: "This version was developed for Scour 0.31+" (The about dialog in the export settings shows this) How reproducible: Always. Steps to Reproduce: 1. File -> Save as 2. Choose "Optimized SVG" at the bottom. 3. Click save. Actual results: Error message shown: Traceback (most recent call last): File "/app/share/inkscape/extensions/output_scour.py", line 11, in <module> from packaging.version import Version ModuleNotFoundError: No module named 'packaging' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/share/inkscape/extensions/output_scour.py", line 13, in <module> raise inkex.DependencyError( inkex.utils.DependencyError: Failed to import module 'packaging'. Please make sure it is installed (e.g. using 'pip install packaging' or 'sudo apt-get install python3-packaging') and try again. File is not saved. Expected results: Should save file. Additional info: If I had to guess, this is due to a missing dependency in the flatpak. IIRC it worked in previous versions.
Confifmed. Installed Inkscape 1.2.2 (b0a8486541, 2022-12-01) from Flathub and now it works.
FEDORA-2022-3a2111f773 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3a2111f773
FEDORA-2022-ccef8b9c51 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ccef8b9c51
I've updated the python-scour package to require python3-packaging. Once that gets to stable, the flatpak maintainer can update to 1.2.2 and that will pull in the new python-scour and fix the bug.
FEDORA-2022-3a2111f773 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-3a2111f773` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-3a2111f773 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-ccef8b9c51 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-ccef8b9c51` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ccef8b9c51 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-3a2111f773 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-ccef8b9c51 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.