Comment 1 for bug 270990

Revision history for this message
emparq (emparq) wrote :

Same error happens for me as well, except it crashes with compressed Inkscape files (*.svgz) created/saved locally.

...<pasted from email to inkscape-devel, 2008-11-10>...

I noticed that Inkscape bails w/ an error message 'Failed to load the
requested file <filename>.svgz' when trying to open a compressed
Inkscape file through the GUI. However, it can still load the same
file just fine if I pass it to inkscape through the command-line:

$ # this works ok
$ inkscape myfile.svgz

...when it errors out, I get the following error message on the command line:

Entity: line 1: parser error : Start tag expected, '<' not found

^

To reproduce:
1 - create a new file
2 - add a shape (I just did a simple red square)
3 - save as 'Compressed Inkscape SVG (*.svgz)'
4 - close and re-open inkscape GUI
5 - in the GUI, File -> Open <your saved file> // this will result in the error
6 - open same file through command-line // this will open ok

I don't know how long this behavior has been around, I only started
using compressed SVG's recently, but I see the behavior as far back as
rev 20150.. I also keep rev 19967 handy (there seems to have been a
performance regression since this build, when zooming in/out.. the
canvas seems to refresh slower... but that's another matter
altogether), and it suffers the same problem BOTH through the GUI and
command-line.

...<snip>...