Geogebra - exported svg files, cannot load

Using Inkscape with other software? Talk about it here.
User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

Geogebra - exported svg files, cannot load

Postby Grobe » Tue Mar 15, 2011 5:14 am

Hi.

I've tried the following thing with no success
[list=]
[*]Draw a very basic drawing (mathematical figure) in Geogebra and then export it as svg.
[*]Open the exported file with Inkscape.
[*]Get error message: Failed to load the requested file <file path.svg>
[/list]

I've no idea what may be the cause of the error. I'll upload the svg file and also a equivalent png file for reference.
testfile.svg
Svg file exported from Geogebra. This file cannot be opened with Inkscape (r10094-201103121732)
(17.31 KiB) Downloaded 350 times

testfile.png
This show HOW the file is meant to look like.
testfile.png (4.66 KiB) Viewed 3256 times

(seems to be unable to upload ggb file to the forum)

Thanks
:lol:

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Geogebra - exported svg files, cannot load

Postby ~suv » Tue Mar 15, 2011 7:13 am

The SVG file you attached is incomplete or broken (anyway - in it's current state it is not a valid SVG file) - Inkscape detects the errors and doesn't open the file:

Code: Select all

/Volumes/blue/src/Inkscape/dev/forum/_user/Grobe/Geogebra-testfile.svg:286: parser error : Premature end of data in tag g line 25

^
/Volumes/blue/src/Inkscape/dev/forum/_user/Grobe/Geogebra-testfile.svg:286: parser error : Premature end of data in tag svg line 3

^
As far as I can tell, there are tags missing at the end (a group is not closed, as well as the parent <svg> element) - the file opens in Inkscape after adding the missing tags, but it only contains the labeled x-axis, nothing else. This indicates that something went from when exporting and you tried to open an incompletely exported file.
Attachments
Geogebra-testfile-3.svg
(17.32 KiB) Downloaded 326 times

User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

Re: Geogebra - exported svg files, cannot load

Postby Grobe » Tue Mar 15, 2011 7:28 am

Thank you. Then I assume the Geogebra beta version produce incomplete svg files.
:lol:


Return to “Inkscape & other”