Inkscape cannot save as optimized svg (python-scour error)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Patrick Storz |
Bug Description
Here are the details of me trying to debug the problem. I'm not familiar with Python, so I don't know how else to debug the problem:
Ubuntu 18.04
Inkscape 0.92.3 (d244b95, 2018-08-02)
$ snap install inkscape
$ Inkscape save as... (optimized svg)
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
$ python -c "import scour"
$ echo $?
0
$ sudo apt-get install python-scour
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-scour is already the newest version (0.36-2).
$ pip install scour
Collecting scour
Collecting six>=1.9.0 (from scour)
Using cached https:/
Installing collected packages: six, scour
Successfully installed scour-0.37 six-1.11.0
$ find / -name "scour" -type d 2>/dev/null
drwxr-xr-x 3 root root /usr/lib/
drwxr-xr-x 2 root root /usr/lib/
drwxr-xr-x 2 root root /usr/share/scour
drwxrwxr-x 3 user user /home/user/
$ python -c 'import sys; print(sys.path)'
['', '/usr/lib/
$ Inkscape save as... (optimized svg)
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
$ python -c "import scour"
$ echo $?
0
tags: |
added: extensions-plugins packaging snap removed: optimized scour |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
possibly related to the fact that it is a snap installation, see: /bugs.launchpad .net/inkscape/ +bug/1748596
https:/
could you try performing a File->Save As (Desktop Cutting Plotter) dxf to see if that also fails?