1410: viewdiff error

bacci*****@netze****** (Google Code) (Is this you? Claim this profile.)
Nov. 28, 2009
What version are you running?
1.0?

What's the URL of the page containing the problem?

http://ccsd.mscsoftware.com/ccsd/r/202/diff/#index_header

What steps will reproduce the problem?
1. Open up id 202
2. Click on view diffs
3.

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

The patch to '//Feasolver/Dev/DYDEV/source/dytran/arthur-test-
area/tjepke.txt' didn't apply cleanly. The temporary files have been left 
in '/tmp/reviewboard.nH5BDu' for debugging purposes. `patch` returned: 
patching file /tmp/reviewboard.nH5BDu/tmptQWbP6 Hunk #1 FAILED at 5. 1 out 
of 1 hunk FAILED -- saving rejects to 
file /tmp/reviewboard.nH5BDu/tmptQWbP6-new.rej 

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/ReviewBoard-1.0-
py2.5.egg/reviewboard/diffviewer/views.py", line 152, in view_diff
    interdiffset, highlighting, True)
  File "/usr/local/lib/python2.5/site-packages/ReviewBoard-1.0-
py2.5.egg/reviewboard/diffviewer/diffutils.py", line 623, in get_diff_files
    large_data=True)
  File "/usr/local/lib/python2.5/site-packages/Djblets-0.5-
py2.5.egg/djblets/util/misc.py", line 143, in cache_memoize
    data = lookup_callable()
  File "/usr/local/lib/python2.5/site-packages/ReviewBoard-1.0-
py2.5.egg/reviewboard/diffviewer/diffutils.py", line 622, in <lambda>
    enable_syntax_highlighting),
  File "/usr/local/lib/python2.5/site-packages/ReviewBoard-1.0-
py2.5.egg/reviewboard/diffviewer/diffutils.py", line 345, in get_chunks
    new = get_patched_file(old, filediff)
  File "/usr/local/lib/python2.5/site-packages/ReviewBoard-1.0-
py2.5.egg/reviewboard/diffviewer/diffutils.py", line 261, in 
get_patched_file
    return patch(filediff.diff, buffer, filediff.dest_file)
  File "/usr/local/lib/python2.5/site-packages/ReviewBoard-1.0-
py2.5.egg/reviewboard/diffviewer/diffutils.py", line 129, in patch
    (filename, tempdir, patch_output))
Exception: The patch to '//Feasolver/Dev/DYDEV/source/dytran/arthur-test-
area/tjepke.txt' didn't apply cleanly. The temporary files have been left 
in '/tmp/reviewboard.nH5BDu' for debugging purposes.
`patch` returned: patching file /tmp/reviewboard.nH5BDu/tmptQWbP6
Hunk #1 FAILED at 5.
1 out of 1 hunk FAILED -- saving rejects to 
file /tmp/reviewboard.nH5BDu/tmptQWbP6-new.rej


What operating system are you using? What browser?

Windows64, IE

Please provide any additional information below.
david
#1 david
This is probably a broken diff, either just malformed or a character set mismatch.
Please check your deployment settings and the diff file.
  • +UserError