-
Notifications
You must be signed in to change notification settings - Fork 101
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
Couldn't read 8 bytes from IO stream #96
Comments
My guess is that you have a PNG file that is less than 8 bytes (which by definition means it is an invalid image, but the error message is not very useful here). |
Actually, disregard that. It looks like it is some kind of damaged PNG file that is being included in your SCSS. Most likely a file that was improperly truncated for some reason. Unfortunately, Compass doesn't tell you what file is causing the issue - that is something that should be fixed in Compass though. |
If you manage to find out what file triggers this, I can look into it a bit more to see what is wrong with it. |
I created it with http://www.piskelapp.com/ |
The problem with this image is that it has 2 null-bytes after the final IEND chunk. So it doesn't conform to the PNG standard, and will fail when it tries to read a chunk from the remaining data. Even though this image is technically invalid, I think the library should stop reading a stream once it hits the IEND chunk, instead of reading until it hits EOF, which should fix this problem. |
The fix has been merged! |
I have researched a bit about this error message, but haven't found anything.
When using compass I get those error messages:
I don't know what this means... any help appreciated
The text was updated successfully, but these errors were encountered: