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

Reached EOF while parsing PNG #13

Closed
jasperges opened this issue Jun 26, 2014 · 3 comments
Closed

Reached EOF while parsing PNG #13

jasperges opened this issue Jun 26, 2014 · 3 comments
Labels

Comments

@jasperges
Copy link
Contributor

When rendering and updating the image in the Image Editor of Blender, I get this error (Reached EOF while parsing PNG). I suspect this is because Appleseed is still writing the PNG file, so the PNG file is not yet complete. I have this error on Windows and OSX (didn't test on Linux, but I suspect it's the same there). Sometimes this craches Blender. The 'fix' is to set the Refresh Time a lot higher.
Do you know about the issue? Do you have any idea how this can be improved/fixed? If you need help, I'm happy to look into it and see if there is another way to update the image inside of Blender.
It's my first time looking at a render engine addon/exporter, so I don't have any experience with it yet. But I can always find out how other render addons handle this. :)

@ohsnapitsjoel
Copy link
Contributor

Thanks for the report! I have noticed that message, but I've never seen it cause any problems. It's crashed Blender for you? We can look into it, definitely.

@jasperges
Copy link
Contributor Author

Hi Joel,

Yesterday I checked again. Sometimes it crashes blender, sometimes it doesn't. I tested this in Windows 7, Linux (Mint) 16 and OSX 10.8.5, with official Blender 2.71 and on OSX with the latest Blender from master. As already said, the 'fix' for this is to crank up the refresh time, so you get less calls to an invalid png file.

@est77
Copy link
Member

est77 commented Sep 17, 2014

Fixed in this commit 3f3698bc33e1c81379d603908535e55592419ca4 (appleseed repo)
There's a bug in blender, so it does not work 100%, but it does not crash anymore.

@est77 est77 closed this as completed Sep 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants