Re: Corrupted image files in tmda-cgi

Tim Rice <[email protected]> Wed, 20 Apr 2011 09:52:20 -0700 (PDT)
Newsgroups gmane.mail.spam.tmda.devel
Message-ID <[email protected]>
On Tue, 19 Apr 2011, Kevin Goodsell wrote:

> I've found many corrupted .gif files in tmda-cgi, mostly in
> tmda-cgi/htdocs/display/ and various places in
> tmda-cgi/display/themes/Blue. This *could* be because the files were
> checked in with bad svn properties (especially svn:eol-style) which
> would cause svn to rewrite the files on checkout (I think), in which
> case the originals could still be in the repository. However, as a
> test I fixed the properties on the files in tmda-cgi/display/icons and
> this did not seem to make any difference for sound.gif, which is still
> visibly distorted in those applications which don't simply fail to
> open it.

I ran md5 on all the .gif and .png files in tmda-cgi-0.13 and
tmda-cgi-0.16.4. 37 of them were different.
.......
display/icons/python.gif
display/icons/sound.gif
display/themes/Blue/button_templates/layout1_r1_c1.gif
display/themes/Blue/button_templates/layout1_r2_c1.gif
display/themes/Blue/button_templates/layout1_r3_c1.gif
display/themes/Blue/button_templates/layout1_r4_c1.gif
display/themes/Blue/button_templates/layout1_r5_c1.gif
display/themes/Blue/button_templates/layout1_r6_c1.gif
display/themes/Blue/button_templates/layout1_r7_c1.gif
display/themes/Blue/buttons/options_r1_c2.gif
display/themes/Blue/buttons/subnav_r1_c1.gif
display/themes/Blue/buttons/subnav_r1_c12.gif
display/themes/Blue/buttons/subnav_r1_c13.gif
display/themes/Blue/buttons/subnav_r1_c14.gif
display/themes/Blue/buttons/subnav_r1_c15.gif
display/themes/Blue/buttons/subnav_r1_c16.gif
display/themes/Blue/buttons/subnav_r1_c2.gif
display/themes/Blue/buttons/subnav_r1_c4.gif
display/themes/Blue/buttons/subnav_r1_c5.gif
display/themes/Blue/buttons/subnav_r1_c6.gif
display/themes/Blue/buttons/subnav_r1_c7.gif
display/themes/Blue/buttons/subnav_r1_c8.gif
display/themes/Blue/buttons/subnav_r1_c9.gif
display/themes/Blue/corner.gif
display/themes/Blue/flowchart/ld.gif
display/themes/Blue/flowchart/left.gif
display/themes/Blue/flowchart/lm.gif
display/themes/Blue/flowchart/rd.gif
display/themes/Blue/flowchart/right.gif
display/themes/Blue/flowchart/rm.gif
display/themes/Blue/login.gif
display/themes/Blue/paperclip.gif
display/themes/Blue/top_bg.gif
htdocs/display/corner.gif
htdocs/display/login.gif
htdocs/display/paperclip.gif
htdocs/display/top_bg.gif
.......

Next I used feh to display each of them. In all cases the tmda-cgi-0.13
one looked OK. All but 10 of those 37 in tmda-cgi-0.16.4 looked corrupted.
The ones I could not see a difference were:
......
	display/themes/Blue/button_templates/layout1_r6_c1.gif
	display/themes/Blue/buttons/subnav_r1_c14.gif
	display/themes/Blue/buttons/subnav_r1_c15.gif
	display/themes/Blue/buttons/subnav_r1_c16.gif
	display/themes/Blue/buttons/subnav_r1_c2.gif
	display/themes/Blue/buttons/subnav_r1_c6.gif
	display/themes/Blue/buttons/subnav_r1_c7.gif
	display/themes/Blue/buttons/subnav_r1_c9.gif
	display/themes/Blue/top_bg.gif
	htdocs/display/top_bg.gif
......

> >From comparing hex dumps with good copies of some of these files
> (found on the Sourceforge web site) it appears the 0x0D bytes have all
> been changed to 0x0A, so that suggests they were incorrectly processed
> as text somewhere along the line, and had their "EOL" markers changed.
> 
> I'm concerned that the originals of some of these files may be lost.

It looks like you can use the ones from a tmda-cgi-0.13 tarball


-- 
Tim Rice				Multitalents	(707) 887-1469
[email protected]					(707) 456-1146



------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
tmda-workers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-workers