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".
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
Inkscape crashes when I open file
Inkscape crashes when I open file
- Attachments
-
- 07 flow chart 1.svg
- (31.67 KiB) Downloaded 113 times
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Inkscape crashes when I open file
Lines 313-317 contained:
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
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/
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/
Re: Inkscape crashes when I open file
Thank you, that's super helpful
Re: Inkscape crashes when I open file
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
Will
Re: Inkscape crashes when I open file
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.... 

Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design