konsumer / konsumer/inkscape-svgo

"File D:\drawing.svg" could not be saved."

Open
#11 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Makefile
Stars
72
Forks
7
PR merge metrics
No merged PRs in 30d

Description

System: Windows 10 x64
Inkscape Version: 1.1.1

I installed the latest version of inkscape-svgo and get this error ("File D:\drawing.svg" could not be saved."). I used Process Monitor to capture the command line arguments:

"[Path to custom Inkscape extensions directory]\inkscape-svgo.exe" --options=page_1 --precision=2 --pretty=false --enable=sortAttrs=false --multipass=true --enable=cleanupAttrs=true --enable=cleanupEnableBackground=true --enable=cleanupIDs=false --enable=cleanupNumericValues=true --enable=collapseGroups=true --enable=convertColors=true --enable=convertPathData=true --enable=convertShapeToPath=false --enable=convertStyleToAttrs=false --enable=convertTransform=true --enable=mergePaths=true --enable=minifyStyles=true --enable=moveElemsAttrsToGroup=false --enable=moveGroupAttrsToElems=false --enable=removeViewBox=false --enable=removeDimensions=false --enable=removeUnknownsAndDefaults=true --enable=removeUnusedNS=true --enable=removeUselessDefs=true --enable=removeUselessStrokeAndFill=true --enable=removeRasterImages=false --enable=removeScriptElement=false --enable=removeStyleElement=false --enable=removeTitle=true --enable=removeXMLNS=false --enable=removeXMLProcInst=true --enable=removeMetadata=true --enable=removeNonInheritableGroupAttrs=true --enable=removeComments=true --enable=removeDesc=true --enable=removeDoctype=true --enable=removeEditorsNSData=true --enable=removeEmptyAttrs=true --enable=removeEmptyContainers=true --enable=removeEmptyText=true --enable=removeHiddenElems=true D:\Users\\[Username]\AppData\Local\Temp\ink_ext_XXXXXX.svgQRO0L1

When I try to run that command in a cmd window and with a real target file, it returns with no output or errors in the command line window. Target file unchanged.

Looking at the ProcMon capture of inkscape-svgo.exe, it calls Windows Error Reporting, so something definitely went wrong:

C:\Windows\system32\WerFault.exe -u -p 2412 -s 560

Unfortunately, inkscape-svgo.exe is a giant black box, so there is seemingly no way to get error data from it. Is there any way to create an unpackaged version for troubleshooting?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Windows command shown in the issue with a real SVG target and inspect the inkscape-svgo.exe crash behavior, including the WerFault invocation. Compare command-line output with the unchanged target file. Done means the failure has actionable diagnostics or a documented way to create an unpackaged troubleshooting build.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.