SVG File impossible to open

Post questions on how to use or achieve an effect in Inkscape.
Fabrice
Posts: 3
Joined: Thu Jun 25, 2015 11:44 pm

SVG File impossible to open

Postby Fabrice » Fri Jun 26, 2015 12:16 am

Hello,
I use 0.48 version of Inkscape, on Windows 8.1, since 1 year (and on other platform for many years).
What a good tool !

Today, I have 1 SVG file impossible to open. :?
Other SVG files open without problem.
I restarted the pc : same problem.
I tried errazing the preference.xml file : same problem.
I tryed on other computer : this SVG file is still impossible to open, but other ones, yes.

What could I do to open this file? It contains long hours working....

Best regards,
Fabrice

Rickie83
Posts: 1
Joined: Fri Jun 26, 2015 1:26 am

Re: SVG File impossible to open

Postby Rickie83 » Fri Jun 26, 2015 1:41 am

It seems that your file is corrupted.
You can use previous versions to restore files that you modified or were damaged.

Right-click on the file/ properties/ previous version

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: SVG File impossible to open

Postby Lazur » Fri Jun 26, 2015 1:47 am

Hello there,

usually it is the sign of a damaged file.
Check in a notepad that the </svg> tag is not missing from the end of the codes.

If it does, some part of your file is chopped off.
(At the end of the file are the bottom most objects stored. If you work with large embedded images, it is a good idea to move them to the bottom.)
To solve that you can only edit the codes manually to correct the syntax error -by writing in right </svg> and </g> tags.


http://tavmjong.free.fr/INKSCAPE/MANUAL/html/FileFormat-Default.html

Try vacuuming unused defs/clean file more often, it may help avoiding such bad situations.


Other than that, share the file so we can help you more with it.

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

Re: SVG File impossible to open

Postby brynn » Sat Jun 27, 2015 3:47 am

Well, I wouldn't immediatedly conclude that it's a damaged or corrupted file. Are you getting any error messages, after you try to open it?

How large is the file and how much RAM does your computer have? Is it strictly all vector content, or does it contain any imported raster images, or other content?

Fabrice
Posts: 3
Joined: Thu Jun 25, 2015 11:44 pm

Re: SVG File impossible to open

Postby Fabrice » Mon Jun 29, 2015 8:12 pm

Hello,
It could be linked to the file size : it is 9466 Ko.
My PC is 4 G0 RAM equipped.
There are imported pictures, not vectorial, inside.
The message is : "Echec du chargement du fichier F:\xxxxxxx en action.svg" (french version), meaning "Loading svg file failure"
I tryed cleaning memory with ccleaner, but it is not enough.

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

Re: SVG File impossible to open

Postby brynn » Mon Jun 29, 2015 9:41 pm

If I did the math right, 9466 kb is over 9 mb file. And that indeed could be enough of a challenge for your 4 gb RAM, that Inkscape can't open it.

However, since it contains imported raster images, that also presents the possibility that 1 of the imported raster images has become corrupted. And as others suggested, the vector part of the file could be corrupt as well.

As far as I know, CCleaner deletes temporary files from your computer. It would have no effect on Inkscape (unless there are some new features since the last time I heard about it).

Do you have access to any computer with more RAM? If so, you could try opening in computer with more memory. Or if you can share the file, you could attach it to your message, and maybe someone here could try. I also have only 4 gb RAM, so I can't help. And I can't help much with a corrupted file either. Although there are members here who probably can hlep, if you can attach.

Good luck :D

Fabrice
Posts: 3
Joined: Thu Jun 25, 2015 11:44 pm

Re: SVG File impossible to open

Postby Fabrice » Tue Jun 30, 2015 1:51 am

Hi Brynn & Lazur,
I finnaly succeed opening the file with a "clean" 4 Go RAM other PC.
So, I removed some imported pictures from the file to decrease is size.
Then re-opened the smaller file (8500 Ko) with my computer, without any problem.
So it is now fixed.
Thank you for you help. I did appreciate your support! ;)


Return to “Help with using Inkscape”