I am trying to open attached svg file (not_working.svg) in inkscape software (Inkscape 0.92.4 (5da689c313, 2019-01-14)) but software
crashes and I need to force shut down my computer,
I some part of svd drawing is causing the software to crash (I am attaching svgs with the troublesome part and without troublesome part) (working.svg, not_working.svg)
I'm unable to open the attachments - did you embed them? I can view them in the lightbox but don't see them attached as svgs, but maybe that's just me...
Is this a manually coded file? It does not look like it was made with Inkscape, because when I look at it in a text editor, there's no formatting of the code. It's all on one line, wrapped continuously.
The not working file opens for me. But as soon as I click on anything, it crashes. I might guess that you have some improper code in the file. But I'm not able to identify it.
It seems to me if you have a working file and a not working file, you should be able to find the difference between them.
Maybe someone who knows more specifically about proper code will be able to help.
(Flamingolady, if you right-click on the attached SVG file, then choose Save Target Link As, you can save the file to your computer. And then you can open it.)
Warning folks. That "not working" file above is causing a problem with my file manager (Windows Explorer). And so far, I'm having trouble deleting it. Suggest not to download it.
Right, not malicious. But apparently Windows Explorer was having a hard time with it. I had to restart the computer, finally. I guess it was stuck in some kind of loop and I couldn't get to it.
Regarding what you identified as the problem -- do you mean just one line was causing the problem? Or was it all the instances of long strings of numbers? Because I saw long strings of things like 2.999999999999997, in both files.
Hi,
I am trying to open attached svg file (not_working.svg) in inkscape software (Inkscape 0.92.4 (5da689c313, 2019-01-14)) but software
crashes and I need to force shut down my computer,
I some part of svd drawing is causing the software to crash (I am attaching svgs with the troublesome part and without troublesome part) (working.svg, not_working.svg)
please help me find out the issue,
I'm unable to open the attachments - did you embed them? I can view them in the lightbox but don't see them attached as svgs, but maybe that's just me...
Welcome to the forum!
Is this a manually coded file? It does not look like it was made with Inkscape, because when I look at it in a text editor, there's no formatting of the code. It's all on one line, wrapped continuously.
The not working file opens for me. But as soon as I click on anything, it crashes. I might guess that you have some improper code in the file. But I'm not able to identify it.
It seems to me if you have a working file and a not working file, you should be able to find the difference between them.
Maybe someone who knows more specifically about proper code will be able to help.
(Flamingolady, if you right-click on the attached SVG file, then choose Save Target Link As, you can save the file to your computer. And then you can open it.)
The problem is this:
<line id="SvgjsLine1449" x1="3.4e+38" y1="3.4e+38" x2="3.4e+38" y2="10" stroke="#000000" stroke-width="0.5" stroke-dasharray="10, 2, 5, 2"></line>
More specifically, this: 3.4e+38 - which is 3.4 * (2,71 ^ 38), which is a 1 with 17 zeros (100000000000000000).
Those are most likely caused by an error in the software that created the SVG. You might try to replace them with 0.
Inkscape probably shouldn't choke on them, though. Can you make a report for this at https://inkscape.org/report , please?
Warning folks. That "not working" file above is causing a problem with my file manager (Windows Explorer). And so far, I'm having trouble deleting it. Suggest not to download it.
No problem on Linux. I didn't even have to kill Inkscape, just close the window when it froze.
At least the version of the file I downloaded was not malicious, just broken.
Right, not malicious. But apparently Windows Explorer was having a hard time with it. I had to restart the computer, finally. I guess it was stuck in some kind of loop and I couldn't get to it.
Regarding what you identified as the problem -- do you mean just one line was causing the problem? Or was it all the instances of long strings of numbers? Because I saw long strings of things like 2.999999999999997, in both files.