k-kawa / aseprite

Automatically exported from code.google.com/p/aseprite
0 stars 0 forks source link

Error loading file #102

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, I created a new file from a sketch previously saved as jpg (outside ASE) 
and started doing some artwork. I used almost every feature for the outlines, 
and saved several times.

Today, I opened the program and tried to load the file, but got the following 
error:

"Error loading file: ZLib error -5 in inflate()."

I'm attaching the file so you can look into it.

Original issue reported on code.google.com by pixelpi...@gmail.com on 2 May 2012 at 9:57

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by davidcapello on 2 May 2012 at 10:11

GoogleCodeExporter commented 8 years ago
I modified the error handling temporarily so I was able to load your image. 
Please see the attachment.

Also, if you've previous versions of the image I would like to get them, 
because I would like to know how to reproduce this invalid .ase file state.

Original comment by davidcapello on 3 May 2012 at 3:40

Attachments:

GoogleCodeExporter commented 8 years ago
Related commit: 
https://github.com/dacap/aseprite/commit/9bd25d2f57ed1c1ef4f4de74a084d5ca0a1e2e5
a

Original comment by davidcapello on 3 May 2012 at 3:53

GoogleCodeExporter commented 8 years ago
Hey, thanks for retrieving the pixel artwork on the file. Several things I've 
noticed:
- the layer "A" had the original sketch image, now it's just a translucent grey 
area
- the palette was grayscale, now it's just a bunch of black swatches, with just 
a white and a grey one.
Not noticing this to complaint, just wondering if this helps.

Sorry, don't have a previous version of the file... The only additional info I 
can give you it's the fact that I was using the latest stable version of the 
software, in Windows 7 64 bit.

Original comment by pixelpi...@gmail.com on 3 May 2012 at 8:21

GoogleCodeExporter commented 8 years ago
OK, thanks Antonio for the information. I'm sorry if you've lost some sprite. 
I'll try to create several test cases for the image loading/saving procedure. 
Also some kind of automatic backups could help.

Original comment by davidcapello on 3 May 2012 at 11:37

GoogleCodeExporter commented 8 years ago
No prob! Thank you for saving the file :) And thanks for aseprite, because it's 
an awesome tool.

Original comment by pixelpi...@gmail.com on 3 May 2012 at 1:21

GoogleCodeExporter commented 8 years ago
Hey, it's lemec from twitter. Got the same zlib -5 error when loading one of my 
files.
Here it is! 

Original comment by markofal...@gmail.com on 12 May 2012 at 10:08

Attachments:

GoogleCodeExporter commented 8 years ago
looks like the filesize is only 0 bytes. trying again

Original comment by markofal...@gmail.com on 12 May 2012 at 10:11

GoogleCodeExporter commented 8 years ago
Hi lemec, yes, the file has 0 bytes, is it the original file? or it contains 
some kind of data? you can send me the file to davidcapello@gmail.com if you 
want

Original comment by davidcapello on 12 May 2012 at 10:14

GoogleCodeExporter commented 8 years ago
Ok, seems like android can't attach files. Trying PC

Original comment by markofal...@gmail.com on 12 May 2012 at 10:14

Attachments:

GoogleCodeExporter commented 8 years ago
There is, here you have the restored version. It can contain differences with 
the original version. Please let me know.

Original comment by davidcapello on 12 May 2012 at 10:16

Attachments:

GoogleCodeExporter commented 8 years ago
It WORKED! Thanks! Saved me a couple hours of work!

Original comment by markofal...@gmail.com on 12 May 2012 at 10:21

GoogleCodeExporter commented 8 years ago
You're welcome. Any other problem please tell me.

Original comment by davidcapello on 12 May 2012 at 10:25

GoogleCodeExporter commented 8 years ago
I've created an image that can reproduce this bug:
1. Open the .png
2. Save it as .ase
3. Load it and we get "zlib error -5 in inflate"

Now I'll try to fix this problems. It's high priority.

Original comment by davidcapello on 13 May 2012 at 12:37

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed with commit 370cf07414f7850ab1d7220b8e399ab326e1284b:
https://github.com/dacap/aseprite/commit/370cf07414f7850ab1d7220b8e399ab326e1284
b

I'll try to fix another high-priority bug tomorrow and make a new release 
(0.9.2)

Original comment by davidcapello on 13 May 2012 at 2:42