Error opening certain SVG files.

Post questions on how to use or achieve an effect in Inkscape.
KasperH
Posts: 2
Joined: Fri Feb 01, 2019 7:39 am

Error opening certain SVG files.

Postby KasperH » Fri Feb 01, 2019 7:53 am

Hello!

Thanks in advance for reading this.
I'm using Inkscape on a mac and I cannot open certain SVG files. Directly upon opening the file, this error shows: "Inkscape encountered an internal error and will close now.", Other SVG files work, and I cannot figure out what's wrong with the non-working SVG's.

I use Inkscape for minor editing and sending SVG files to my plotter (axidraw 2). As I said, other SVG files work perfectly, and looking at the files in Sublime text doesn't show anything broken or corrupted.

Inkscape 0.91 r13725 / MacOS Mojave 10.14.3 bèta

Not working SVG file: https://drive.google.com/open?id=1QT1Iy ... JrSJ6w2xPt
Working SVG: https://drive.google.com/open?id=1K8NDa ... UaUAfn9Heu (same output mechanism/website)

As for now, my running theory is that the polyline has too many points.
Thanks for your time, hopefully, you could give me some pointers as of where to start searching.

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

Re: Error opening certain SVG files.

Postby tylerdurden » Fri Feb 01, 2019 10:45 am

A simple calculation error in the vectorizing software. Two instances of coordinates (start/end) came up as NaN. I changed those to zeros and the file opens in Inkscape.
https://www.dropbox.com/s/92z181xoy0mnj ... D.svg?dl=0

What software is used for the image to SVG?
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/

KasperH
Posts: 2
Joined: Fri Feb 01, 2019 7:39 am

Re: Error opening certain SVG files.

Postby KasperH » Fri Feb 01, 2019 6:27 pm

Hi Tyler,

Thanks! I now see it indeed, there are four NaN's in the source code.
In the end, this website generated the SVG: https://turtletoy.net/turtle/be2de62eaa, its an adaptation from this "turtle".
But the NaN problem was probably already in the encoding: https://codepen.io/ge1doot/pen/95c184a6 ... 7b77ff026f

Anyway, mucho gracias for your input!

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

Re: Error opening certain SVG files.

Postby tylerdurden » Fri Feb 01, 2019 11:28 pm

That is an impressive collection of generative art. Thanks for sharing. =)
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/


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: No registered users and 5 guests