RESOLVED FIXED 104932
PrettyDiff.rb fails to render image diffs with Ruby 1.9.3p194
https://bugs.webkit.org/show_bug.cgi?id=104932
Summary PrettyDiff.rb fails to render image diffs with Ruby 1.9.3p194
Martin Robinson
Reported 2012-12-13 10:19:20 PST
When rendering image diffs with Ruby 1.9.3p194, instead of the image diffs in the output, I see this: Exception raised during decoding git binary patch: invalid byte sequence in UTF-8 /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:680:in `match' /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:680:in `match' /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:680:in `read_checksum_from_png' /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:589:in `block in initialize' /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:589:in `collect' /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:589:in `initialize' /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:675:in `new' /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:675:in `block in parse' /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:675:in `collect' /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:675:in `parse' /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb:33:in `prettify' /home/martin/WebKit/Websites/bugs.webkit.org/PrettyPatch/prettify.rb:26:in `<main>'
Attachments
Patch (1.73 KB, patch)
2012-12-14 00:02 PST, Martin Robinson
eric: review+
webkit.review.bot: commit-queue-
Martin Robinson
Comment 1 2012-12-14 00:02:41 PST
Martin Robinson
Comment 2 2012-12-14 00:03:11 PST
Eric Seidel (no email)
Comment 3 2012-12-29 01:15:19 PST
Comment on attachment 179433 [details] Patch Seems reasonable.
WebKit Review Bot
Comment 4 2012-12-29 08:25:42 PST
Comment on attachment 179433 [details] Patch Rejecting attachment 179433 [details] from commit-queue. Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', u'--status-host=queues.webkit.org', ..." exit_code: 2 cwd: /mnt/git/webkit-commit-queue Last 500 characters of output: eidel']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue Parsed 2 diffs from patch file(s). patching file Websites/bugs.webkit.org/ChangeLog patching file Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb Hunk #1 FAILED at 676. 1 out of 1 hunk FAILED -- saving rejects to file Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb.rej Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Eric Seidel']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue Full output: http://queues.webkit.org/results/15591198
Martin Robinson
Comment 5 2012-12-30 13:23:13 PST
Note You need to log in before you can comment on or make changes to this bug.