Bug 2329006 - Measure Path extension not working: missing package inkex.paths.interfaces
Summary: Measure Path extension not working: missing package inkex.paths.interfaces
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-inkex
Version: 41
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Benson Muite
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-26 18:07 UTC by Rodrigo Severo
Modified: 2024-12-10 01:23 UTC (History)
6 users (show)

Fixed In Version: python-inkex-1.4.0-1.fc40 python-inkex-1.4.0-1.fc41
Clone Of:
Environment:
Last Closed: 2024-12-09 03:10:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab inkscape extensions issues 588 0 None opened Inkex release on Pypi 2024-11-26 18:38:54 UTC

Description Rodrigo Severo 2024-11-26 18:07:52 UTC
When trying to "Apply" Measure Path extension to a path I get a  "missing package" error instead of the expected measurement.

Both flatpak (on Fedora) and MacOS versions of Inkscape 1.4 have working Measure Path extensions. 



Reproducible: Always

Steps to Reproduce:
1.open Inkscape
2.create any path (for example, a rectangule and convert it to a path using "Path / Object to Path")
3.open the Measure Path extension available at "Extensions / Visualize Path / Measure Path"
4. click in "Apply"
Actual Results:  
I get the following error message¨

Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/measure.py", line 36, in <module>
    from inkex.paths.interfaces import LengthSettings
ModuleNotFoundError: No module named 'inkex.paths.interfaces'; 'inkex.paths' is not a package

Expected Results:  
I should have got the proper path measurement.

Version info

$ inkscape --debug-info
Inkscape 1.4 (e7c3feb100, 2024-10-09)

                      Compile  (Run)
    GLib version:     2.82.1
    GTK version:      3.24.43 (3.24.43)
    glibmm version:   2.66.7
    gtkmm version:    3.24.9
    libxml2 version:  2.12.8
    libxslt version:  1.1.42
    Cairo version:    1.18.0 (1.18.0)
    Pango version:    1.54.0 (1.54.0)
    HarfBuzz version: 9.0.0 (9.0.0)

    OS version:       Fedora Linux 41 (Xfce)

Comment 1 Gwyn Ciesla 2024-11-26 18:38:54 UTC
Looks like python-inkex needs a new release for Inkscape 1.4.

Comment 2 Benson Muite 2024-11-30 20:59:05 UTC
css select dependency >=1.20, <2.0.0 does not match what is in Fedora:
https://gitlab.com/inkscape/extensions/-/blob/7e13b1b747ef01b240cf8c8581c48a87518370fe/pyproject.toml#L38
which is 1.1.0
https://packages.fedoraproject.org/pkgs/python-cssselect/python3-cssselect/

Comment 3 Benson Muite 2024-11-30 21:47:43 UTC
Fedora 40 and Rawhide have Inkscape 1.4 so have update the repos of these to use associated inkex commit.
Fedora 41 has Inkscape 1.3.2, so have not update associated inkex.

Comment 4 Fedora Update System 2024-11-30 21:53:24 UTC
FEDORA-2024-7867a235b0 (python-inkex-1.4.0-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-7867a235b0

Comment 5 Benson Muite 2024-11-30 22:01:30 UTC
Updated for f41 also.

Comment 6 Fedora Update System 2024-11-30 22:03:38 UTC
FEDORA-2024-417b082069 (python-inkex-1.4.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-417b082069

Comment 7 Fedora Update System 2024-12-01 04:28:37 UTC
FEDORA-2024-7867a235b0 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7867a235b0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7867a235b0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-12-02 04:21:46 UTC
FEDORA-2024-417b082069 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-417b082069`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-417b082069

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-12-09 03:10:24 UTC
FEDORA-2024-7867a235b0 (python-inkex-1.4.0-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Rodrigo Severo 2024-12-09 12:42:27 UTC
(In reply to Fedora Update System from comment #8)
> FEDORA-2024-417b082069 has been pushed to the Fedora 41 testing repository.
> Soon you'll be able to install the update with the following command:
> `sudo dnf upgrade --enablerepo=updates-testing --refresh
> --advisory=FEDORA-2024-417b082069`
> You can provide feedback for this update here:
> https://bodhi.fedoraproject.org/updates/FEDORA-2024-417b082069
> 
> See also https://fedoraproject.org/wiki/QA:Updates_Testing for more
> information on how to test updates.

Tried on Fedora 41. It is working as expected. Problem solved.

Comment 11 Fedora Update System 2024-12-10 01:23:16 UTC
FEDORA-2024-417b082069 (python-inkex-1.4.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.