754: Clicking on View Diff throws error

deep****@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 10, 2009
What's the URL of the page containing the problem?
http://codereview.corp.yahoo.com/r/643/
Click on View Diff

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

The error thrown is 
The patch to
'//ypost/pacman_locals/workflows/bizentity/src/main/conf/TicketmastersEntryMapping-tsv.txt#1'
didn't apply cleanly. The temporary files have been left in
'/tmp/reviewboard.Hc7DZ3' for debugging purposes. `patch` returned: patch:
**** Only garbage was found in the patch input. 

What operating system are you using? What browser?
Mac Leopard. Firefox.

Please provide any additional information below.

Complete stack trace
Traceback (most recent call last):
  File "/home/y/share/reviewboard/diffviewer/views.py", line 82, in view_diff
    files = get_diff_files(diffset, None, interdiffset, highlighting)
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 599, in
get_diff_files
    enable_syntax_highlighting)
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 518, in
generate_files
    lambda: get_chunks(filediff.diffset,
  File "/home/y/share/reviewboard/djblets/util/misc.py", line 51, in
cache_memoize
    data = lookup_callable()
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 521, in
<lambda>
    enable_syntax_highlighting))
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 322, in
get_chunks
    new = get_patched_file(old, filediff)
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 238, in
get_patched_file
    return patch(filediff.diff, buffer, filediff.dest_file)
  File "/home/y/share/reviewboard/diffviewer/diffutils.py", line 119, in patch
    (filename, tempdir, patch_output))
Exception: The patch to
'//ypost/pacman_locals/workflows/bizentity/src/main/conf/TicketmastersEntryMapping-tsv.txt#1'
didn't apply cleanly. The temporary files have been left in
'/tmp/reviewboard.Hc7DZ3' for debugging purposes.
`patch` returned: patch: **** Only garbage was found in the patch input.
chipx86
#1 chipx86
How was the diff generated? Using post-review or something else?
  • +NeedInfo
david
#2 david
Closing out, because the needed information was not provided. If you can provide this
info, please add a comment and we'll reopen the bug.
  • -NeedInfo
    +Incomplete