Failed to load the requested file

Post questions on how to use or achieve an effect in Inkscape.
Jomingo
Posts: 3
Joined: Sat Aug 12, 2017 12:19 pm

Failed to load the requested file

Postby Jomingo » Sat Aug 12, 2017 12:26 pm

I received an error "Inkscape encountered an internal error and will now close" and didn't think anything of it, but then it happened again later, and also while I was out of the room my computer restarted to install updates.

Now two of the .svg files that I had open aren't working. The first gives me the error "Failed to load the requested file" and when I open it in Chrome I get the error:
"error on line 1 at column 1: Document is empty"
If the document is empty, I don't know why it is still 26.5 MB

The second file opens in Inkscape but appears empty. When I open it in Chrome I get the error:
"error on line 9519 at column 20627032: Char 0x0 out of allowed range"
This document is 31.6 MB.

Is there any way to recover anything from either of these files?!

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

Re: Failed to load the requested file

Postby Lazur » Sat Aug 12, 2017 5:46 pm

Welcome aboard!

The file size is promising however had seen people posting damaged svg-s here filled up with only nul characters -not even sure how they achieved that.
By a sudden error when saving -running out of resources usually- the bottom part of the code is chopped off.
Your document should have a similar structure to this.
If parts are missing -end tags for example- you can edit them back manually in a notepad.
From that matter the second error message seems more promising.

Share the damaged files, so we can look at them and try to fix.

Jomingo
Posts: 3
Joined: Sat Aug 12, 2017 12:19 pm

Re: Failed to load the requested file

Postby Jomingo » Sun Aug 13, 2017 7:34 am

https://www.dropbox.com/s/qnl902co3pj1u ... l.svg?dl=0
https://www.dropbox.com/s/l63c0rrw3o521 ... d.svg?dl=0
These are the two links from Dropbox to the two files. Hopefully they aren't completely tarnished

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

Re: Failed to load the requested file

Postby Lazur » Sun Aug 13, 2017 9:02 am

Hmm bad news.

Not a single line can be recovered from the first one, all it contains is nul characters. (Strangely that character is not supposed to be in svg-s either, it's more likely in pdf-s.)

The second one has 9519 lines of code intact -however that's chopped almost right after the metadata part.
It shows the first object was supposed to be a raster image but the rest is missing.
There may be some information that can be used from it, although even notepad++ is struggling with the editing.
Trying to delete the bottom line of an embedded raster image and adding the end tags.

Moini
Posts: 2056
Joined: Mon Oct 05, 2015 10:44 am

Re: Failed to load the requested file

Postby Moini » Sun Aug 13, 2017 9:37 am

To prevent such a loss in the future, be sure to activate autosave (Edit -> Preferences -> Input/Output -> Autosave). Btw. there's a newer Inkscape version available that fixes a couple of bugs of the version you are using atm.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Jomingo
Posts: 3
Joined: Sat Aug 12, 2017 12:19 pm

Re: Failed to load the requested file

Postby Jomingo » Sun Aug 13, 2017 10:24 am

I have already discovered the autosave feature (too late obviously), but I didn't know about the newer version of Inkscape, thank you @Moini

@Lazur I didn't have much hope for the first file :( I attempted to open the second file in Notepad++ but I don't know code and didn't know what I was looking for, and my program ran very slowly and was not responding, so I stopped trying to look at the code.

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

Re: Failed to load the requested file

Postby brynn » Mon Aug 14, 2017 7:42 am

Don't you have earlier version of these files, so that you don't have to start all over? Or had they grown so large within the first session, before they were saved?

This might be slightly off topic. I wonder if Inkscape should be able save and close a file in case of unexpected shutdown? It seems like I've had crashes, and was surprised that the content I had just been working on was saved. Maybe shutdown is different from a program crash, but I wonder if it would be hard to make Inkscape able to recognize when the computer is about to shut down? (Note - I ask that not being a programmer or developer. An innocent question.)

Btw, must be Windows 10, if it went to get updates without warning, shut down, and locked you out.

Uktrunie
Posts: 146
Joined: Sun Jul 18, 2010 4:48 am

Re: Failed to load the requested file

Postby Uktrunie » Mon Aug 14, 2017 12:55 pm

This is as far as I could you with the first file: https://www.dropbox.com/s/1zq3evp43kz2p0f/Spinnerets_board_bigmat_horizontal_f.svg?dl=1

We're missing all but the fist 136 lines of the woodgrain texture and possible anything else that was after that... so no good at all, but I had fun trying to recover it so whyt not share it? :D

Couldn't download the second one.


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: No registered users and 1 guest