command line assertion failure

Bug #1707371 reported by Goombert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

So, on the latest version I am getting an assertion failure using the command line to export objects. It worked fine in a previous version of Inkscape (0.91) but my SVG is still exported despite the assertion failure:

$ inkscape "icons.svg" --export-id="Icon_Sprite" --export-id-only --export-plain-svg="sprite.svg"

** (inkscape.exe:4228): CRITICAL **: void SPObject::requestModified(unsigned int): assertion 'this->document != NULL' failed

** (inkscape.exe:4228): CRITICAL **: void SPObject::requestModified(unsigned int): assertion 'this->document != NULL' failed

** (inkscape.exe:4228): CRITICAL **: void SPObject::requestModified(unsigned int): assertion 'this->document != NULL' failed

... over and over for about 500 lines ...

Revision history for this message
Alvin Penner (apenner) wrote :

thank you for taking the time to issue a report.

problem not reproduced using Windows 10, Inkscape 0.92.1 r15371 (32 bit)
using the command:
inkscape "example.svg" --export-id="Icon_Sprite" --export-id-only --export-plain-svg="921exportid.svg"

could you indicate which OS?, which version of Inkscape (run Inkscape -V)

Revision history for this message
Goombert (goombert84-deactivatedaccount) wrote :

Here you are:

$ ./inkscape.exe -V
Inkscape 0.92.1 r15371

C:\Windows\System32>ver

Microsoft Windows [Version 10.0.15063]

I see now it doesn't do it unless the defs are left in the SVG, I can't seem to find which one it is, so here is the original SVG that does reproduce this.

I should mention it is taken from here:
https://github.com/enigma-dev/Calico-Icon

I want to export all of the individual icons as separate SVG files.

Revision history for this message
Alvin Penner (apenner) wrote :

- confirmed using Inkscape 0.92.1 r15371 and the file example.svg from comment 2.

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

Hi there, this bug has been migrated to our new GitLab bug tracker. Please follow there for all future updates. Thank you!

Moved to: https://gitlab.com/inkscape/inbox/issues/500
Closed by: https://gitlab.com/Qantas94Heavy

Changed in inkscape:
status: Confirmed → Invalid
tags: added: bug-migration
removed: 0.92.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.