Can't save optimized svg

Bug #1799368 reported by Daniel Dudas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

When I try to save an svg file in "Optimized SVG" format I get the following error:

/**** error beign ****/

Failed to import Python module 'scour'.
Please make sure it is installed (e.g. using 'pip install scour' or 'sudo apt-get install python-scour') and try again.

Details:
cannot import name scourString

/**** error end ****/

I installed scour and verified it's installed in both suggested ways, restarted inkscape, restarted the PC, and still I get the same error.

I am using Ubuntu 18.04.1 LTS 64bit, and Inkscape 0.92.3 (d244b95, 2018-08-02) installed through Ubuntu Software.

Revision history for this message
Patrick Storz (ede123) wrote :

Hi Daniel,

one possibility is that you installed Scour for Python 3 whereas Inkscape still uses Python 2.
If you run "pip2 install scour" you should obtain the correct version in this case.

Another possibility is that you're using a Snap package. An indication for that is that your Inkscape build number / release date does not match that of the official 0.92.3 release. Could you try to find out so we can triage this accordingly?

Revision history for this message
Patrick Storz (ede123) wrote :

OK, strike possibility one, just remembered I've seen this issue before (bug #1786724) and the matching version string tells me you are indeed using a snap package.

Unfortunately it seems the snap package was not updated since I committed the fix referenced in the linked bug...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.