"Edit Externally" Error on Windows
Summary:
Using the 'Edit Externally' operator on a linked SVG file on Windows results in an error message:
Text ended before matching quote was found for '. (The text "C:\Program Files\Inkscape\bin\inkscape.exep' '(filepath to external file)'")
Note: Actual filepath replaced with (filepath to external file) for brevity. This error occurs no matter which file I attempt to edit externally from any SVG document.
Steps to reproduce:
- Open Inkscape
- File -> Import
- Select SVG file edited in Inkscape in file browser
- Select 'Link the SVG file in a image tag (not editable in this document)' and 'OK'
- Right click image in Inkscape, and select 'Edit Externally'
What happened?
Instead of opening the SVG file in Inkscape, an error message was produced down the bottom of the screen.
Text ended before matching quote was found for '. (The text "C:\Program Files\Inkscape\bin\inkscape.exep' '(filepath to external file)'")
What should have happened?
Two errors seem to be occurring.
Firstly, I can not figure out why no matter what value I set the Preferences > Imported Images > Edit > SVG Editor file path to, the error message always shows the executable name with a letter 'p' added onto the end. If I set the filepath to just 'inkscape' the error message instead looks like this:
Text ended before matching quote was found for '. (The text "inkscapep' '(filepath to external file)'")
With a full filepath included, the error message still has the extra 'p' added.
Text ended before matching quote was found for '. (The text "C:\Program Files\Inkscape\bin\inkscape.exep' '(filepath to external file)'")
Secondly, the error message is referring to a missing matching single quote mark. Which I can see is the case in the text of the command it's attempting to run. The text in question is:
C:\Program Files\Inkscape\bin\inkscape.exep' '(filepath to external file)'
There appears to be a single quote mark missing at the start of the command.
Version info
Inkscape 1.1.1 (3bf5ae0d, 2021-09-20)
GLib version: 2.70.0
GTK version: 3.24.30
glibmm version: 2.66.1
gtkmm version: 3.24.5
libxml2 version: 2.9.12
libxslt version: 1.1.34
Cairo version: 1.17.4
Pango version: 1.48.10
HarfBuzz version: 2.9.1
Poppler version: 21.08.0
OS version: Windows 10 2009 (Pro 21H2)
Hardware
CPU: AMD Ryzen 7 3800X
GPU: AMD 5700 XT (Driver version 22.1.1)
Notes
I am going to try other PCs to narrow down the issue. I have two Linux PCs in the house, I will see if the issue persists on those as well.