GNOME Bugzilla – Bug 707497
Fatal error in PNG image file (app/pixmaps/connectable.png)
Last modified: 2013-09-13 19:19:12 UTC
failed to load "./pixmaps/connectable.png": Failed to load image './pixmaps/connectable.png': Fatal error in PNG image file: IDAT: invalid distance too far back http://pastebin.com/ikLmQGQM
The file you have problems with is added to Dia in 2005. Maybe it is invalid since than, but I'm expecting an issue either with your checkout (some transfer problem, wrong git flags set) or with the libpng version on your system. I have multiple checkouts on various operating systems and did not yet see such an error. """ git log app/pixmaps/connectable.png commit f905a15ab7f47637c83cb54f8dca123351056d90 Author: Lars Clausen <lclausen@src.gnome.org> Date: Mon May 16 08:48:41 2005 +0000 Improved connectibility icon, patch for cisco icons in potfiles commit fef0502cadf331603ab1ddd23b95db4052d14de4 Author: Lars Clausen <lclausen@src.gnome.org> Date: Fri May 21 15:48:36 2004 +0000 Moved changes from branch to trunk. 0.93 is hereby finalized, 0.94 is next. """ Given that you only get the error at install time you seem to have been able to build Dia before. What did change since than? What operating system?
Pasting "IDAT: invalid distance too far back" to google gives: FYI: libpng16 won't be able to show some broken icons libpng15 was still able to http://www.gossamer-threads.com/lists/gentoo/dev/271064 So the issue might indeed need solving on Dia's side.
*** Bug 707913 has been marked as a duplicate of this bug. ***
Making this in Arch Linux. Haven't built this for a couple months, just pulled the recent git and tried to make it. Checked it out a couple times to make sure I had a clean copy of the repo.
(In reply to comment #2) > Pasting "IDAT: invalid distance too far back" to google gives: > FYI: libpng16 won't be able to show some broken icons libpng15 was still able > to > http://www.gossamer-threads.com/lists/gentoo/dev/271064 > > So the issue might indeed need solving on Dia's side. thank you, this exactly the case for me, and I use a newer version of libpng16.
if nobody is willing, I will try to fix this image file tomorrow, and afterwards report my findings.
I have corrected the connectable.png file and afterwards was able ti build dia successfully.
Created attachment 254755 [details] [review] fix broken connectable.png file
Created attachment 254756 [details] fixed connectable.png image
Thanks, pushed to master as: https://git.gnome.org/browse/dia/commit/?id=15c3efa94ba423b2f1e9149dcaa9a899f8082c01 and cherry-picked to dia-0-97 as: https://git.gnome.org/browse/dia/commit/?h=dia-0-97&id=767fc3b9b6d437bcdfcc166b075f09a03d8eb4c5