Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading file #102

Closed
aseprite-bot opened this issue Aug 20, 2014 · 15 comments
Closed

Error loading file #102

aseprite-bot opened this issue Aug 20, 2014 · 15 comments

Comments

@aseprite-bot
Copy link
Collaborator

From pixelpi...@gmail.com on May 02, 2012 18:57:44

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.

Attachment: tribedude.ase

Original issue: http://code.google.com/p/aseprite/issues/detail?id=102

@aseprite-bot aseprite-bot added this to the v0.9 milestone Aug 20, 2014
@aseprite-bot
Copy link
Collaborator Author

From davidcapello on May 02, 2012 15:11:21

Status: Accepted
Owner: davidcapello
Labels: -Priority-Medium Priority-High

@aseprite-bot
Copy link
Collaborator Author

From davidcapello on May 02, 2012 20:40:47

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.

Labels: Milestone-0.9

Attachment: tribedude2.ase

@aseprite-bot
Copy link
Collaborator Author

From davidcapello on May 02, 2012 20:53:23

Related commit: dacap@9bd25d2

@aseprite-bot
Copy link
Collaborator Author

From pixelpi...@gmail.com on May 03, 2012 01:21:46

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.

@aseprite-bot
Copy link
Collaborator Author

From davidcapello on May 03, 2012 04:37:02

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.

@aseprite-bot
Copy link
Collaborator Author

From pixelpi...@gmail.com on May 03, 2012 06:21:49

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

@aseprite-bot
Copy link
Collaborator Author

From markofal...@gmail.com on May 12, 2012 15:08:18

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

Attachment: landscape.ase

@aseprite-bot
Copy link
Collaborator Author

From markofal...@gmail.com on May 12, 2012 15:11:11

looks like the filesize is only 0 bytes. trying again

@aseprite-bot
Copy link
Collaborator Author

From davidcapello on May 12, 2012 15:14:03

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

@aseprite-bot
Copy link
Collaborator Author

From markofal...@gmail.com on May 12, 2012 15:14:11

Ok, seems like android can't attach files. Trying PC

Attachment: landscape.ase

@aseprite-bot
Copy link
Collaborator Author

From davidcapello on May 12, 2012 15:16:06

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

Attachment: landscape-restored.ase

@aseprite-bot
Copy link
Collaborator Author

From markofal...@gmail.com on May 12, 2012 15:21:44

It WORKED! Thanks! Saved me a couple hours of work!

@aseprite-bot
Copy link
Collaborator Author

From davidcapello on May 12, 2012 15:25:37

You're welcome. Any other problem please tell me.

@aseprite-bot
Copy link
Collaborator Author

From davidcapello on May 12, 2012 17:37:46

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.

Attachment: test.png

@aseprite-bot
Copy link
Collaborator Author

From davidcapello on May 12, 2012 19:42:29

Fixed with commit 370cf07 : dacap@370cf07 I'll try to fix another high-priority bug tomorrow and make a new release (0.9.2)

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant