#67578 closed request (fixed)

scour: port request

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: scour, inkscape

Description

I tried to save an Inkscape drawing using the format "Optimized SVG" which produced this error:

Traceback (most recent call last):
  File "/opt/local/share/inkscape/extensions/output_scour.py", line 23, in <module>
    import scour
ModuleNotFoundError: No module named 'scour'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/local/share/inkscape/extensions/output_scour.py", line 26, in <module>
    raise inkex.DependencyError(
inkex.utils.DependencyError: Failed to import module 'scour'.
Please make sure it is installed (e.g. using 'pip install scour'
  or 'sudo apt-get install python3-scour') and try again.

So this is a request to add a scour port, and also whatever is necessary to make it work in Inkscape. I suppose that means at least adding it as a dependency and using the same Python version for both ports? Bearing in mind the request to update Inkscape's Python version in #66806.

Change History (5)

comment:1 Changed 17 months ago by jmroot (Joshua Root)

It would be py-scour. https://pypi.org/project/scour/

comment:2 in reply to:  1 Changed 17 months ago by mascguy (Christopher Nielsen)

Replying to jmroot:

It would be py-scour. https://pypi.org/project/scour/

Hopefully this will be an easy one, I'll add it to my near-term task list. Thanks gents!

comment:3 Changed 17 months ago by mascguy (Christopher Nielsen)

Cc: mascguy removed
Owner: set to mascguy
Status: newassigned
Version: 2.8.1

comment:4 Changed 17 months ago by Christopher Nielsen <mascguy@…>

comment:5 Changed 17 months ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In 9ba29a9588afb8ded5284e8f62df91225eb8df97/macports-ports (master):

inkscape: add dep py-scour, for optimized svg support
Closes: #67578

Note: See TracTickets for help on using tickets.