Correct CLI Syntax?

Asked by sennewood

Command:

inkscape test.svg -z --select=path3 --verb=EditDuplicate --verb=EditSelectSameFillColor --verb=SelectionCombine -e test.png --export-dpi=600 --export-area-page

The process ends without an export file or at least an error message. Before I open a bug report I want to know if the syntax is correct? :)

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hachmann (marenhachmann) said :
#1

Seems this is actually two issues:

Inkscape crashes with

"Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: Error: Inkscape encountered an internal error and will close now.

Speicherzugriffsfehler (Speicherabzug geschrieben)" (German)

for both. If you don't get any command line output, and are on Windows, you can probably get more output by navigating to the folder containing the Inkscape executables, then running the command "inkscape.com".

1. -z option is selected: Crash already at inkscape -z test.svg --select=path3 (couldn't find a report for this)

2. -e option is selected: Crash occurs if any object is selected, or even deselected again, and then one tries to export in the same step: could be this bug: https://bugs.launchpad.net/inkscape/+bug/1537160

Sure, any crash is a bug. Either Inkscape should print out a message that says 'sorry, I can't do that because ...' or it should work.

As a workaround, it might work if you split this into two commands - open file, modify, save. open file, export (but -z might not work with both).

Bug reports are good - you could add more info to the one that is linked, and you could make a new one for the one that was only discovered.

Can you help with this problem?

Provide an answer of your own, or ask sennewood for more information if necessary.

To post a message you must log in.