Inkscape crashes when I open file

Post questions on how to use or achieve an effect in Inkscape.
Will776
Posts: 3
Joined: Wed Apr 10, 2019 6:04 pm

Inkscape crashes when I open file

Postby Will776 » Wed Apr 10, 2019 7:11 pm

I have a file that I created in inkscape (attached). I haven't edited it in any other program, but when I try and open it now, I get a (rather uninformative) error "Inkscape encountered an internal error and will close now".

error.png
error.png (11.58 KiB) Viewed 1508 times


I've tried looking at them in a text editor, but (to my untrained eye) the xml seems to be intact
Please can anybody tell me what is going on, and if the original files are salvageable?

Thanks!

Will
Attachments
07 flow chart 1.svg
(31.67 KiB) Downloaded 113 times

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Inkscape crashes when I open file

Postby tylerdurden » Wed Apr 10, 2019 10:11 pm

Lines 313-317 contained:

Code: Select all

<g
       style="display:inline"
       id="g5291"
       inkscape:connector-avoid="true"
       transform="translate(-2.4095177,152)" />


I don't know why this crashes Inkscape, but I deleted it and cleaned the document, so now it seems to open.

There was an odd path object under "Initialize" and some empty flow-text objects that I also deleted, since they didn't seem relevant. Some other tidying included ungrouping the flow-texts that have no rectangles behind, and deleting the big white rectangle in the background.

If you are using connectors, I'd try adding those back and see if the issue returns.

TD
Attachments
07TD.svg
(24.96 KiB) Downloaded 111 times
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Will776
Posts: 3
Joined: Wed Apr 10, 2019 6:04 pm

Re: Inkscape crashes when I open file

Postby Will776 » Thu Apr 11, 2019 12:30 am

Thank you, that's super helpful

Will776
Posts: 3
Joined: Wed Apr 10, 2019 6:04 pm

Re: Inkscape crashes when I open file

Postby Will776 » Thu Apr 11, 2019 6:36 pm

For info, I just discovered that this tool https://www.svgminify.com/ has a reasonably robust svg reader which removes a lot of cruft or nonsense. I've just tried this on a similar file and it works.

Will

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Inkscape crashes when I open file

Postby brynn » Fri Apr 12, 2019 6:09 am

If the problem with the original file was related to using the Connector tool, I recently discovered what looks like a glaring bug (using orthogonal mode). I'm not sure if I reported it or not.... :?


Return to “Help with using Inkscape”