Please attach the SVG file that fails to be saved as 'Optimized SVG' - this is possibly an upstream bug in scour (the python script on which this output extension for 'Optimized SVG' is based on).
> It seems that the Inkscape is working on an optimized file,
> but it is not copying the result file to the correct folder.
It is part of Inkscape's extension system that extension scripts work on a copy of the original file in $TMPDIR, and if the script processes the file successfully, the content is piped back to inkscape / the final output file. Usually, if the script fails (for whatever reason), an error message is sent back to Inkscape instead, and no output file created.
Please attach the SVG file that fails to be saved as 'Optimized SVG' - this is possibly an upstream bug in scour (the python script on which this output extension for 'Optimized SVG' is based on).
> It seems that the Inkscape is working on an optimized file,
> but it is not copying the result file to the correct folder.
It is part of Inkscape's extension system that extension scripts work on a copy of the original file in $TMPDIR, and if the script processes the file successfully, the content is piped back to inkscape / the final output file. Usually, if the script fails (for whatever reason), an error message is sent back to Inkscape instead, and no output file created.