Public bug reported:

OS: Kubuntu 26.04 development release

Steps to reproduce:

1. Install Inkscape: `sudo apt install inkscape`
2. Create a new drawing, draw two rectangles in it
3. Click File > Save As...
4. In the lower-right corner of the save dialog, select "Optimized SVG (*.svg)"
5. Click "Save"
6. In the "Optimized SVG Output" popup, click "OK"

Expected result: The drawing should be saved.

Actual result: The following error appears in a popup:

    Traceback (most recent call last):
      File "/usr/share/inkscape/extensions/output_cour.py", line 10, 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 "/usr/share/inkscape/extensions/output_scour.py", line 12, in 
<module>
        raise inkex.DependencyError(
      ...<6 lines>...
        )
    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.

Things work as expected after installing python3-packaging.

** Affects: inkscape (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2144823

Title:
  Python traceback when attempting to save an optimized SVG

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/2144823/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to