2505: view diff is not appearing/attached to review of file with exception

svns****@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 29, 2012
What version are you running?
1.6.1

What's the URL of the page containing the problem?
https://reviewboard.eng.vmware.com/r/311466/

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

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


What operating system are you using? What browser?
windows 7 64bit and IE8

Please provide any additional information below.
The patch to '//depot/vcqe/vsphere5x/VC/src/tests/java/virtualdiskmanager/reparentdisks/Sec002.java' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.Msu3qq' for debugging purposes. `patch` returned: patching file /tmp/reviewboard.Msu3qq/tmpN8xS5G patch: **** malformed patch at line 5: 

Traceback (most recent call last):
  File "/build/toolchain/noarch/reviewboard-1.6.1/ReviewBoard-1.6.1-py2.6.egg/reviewboard/diffviewer/views.py", line 151, in view_diff
    interdiffset, highlighting, True)
  File "/build/toolchain/noarch/reviewboard-1.6.1/ReviewBoard-1.6.1-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 1071, in get_diff_files
    large_data=True)
  File "/build/toolchain/noarch/djblets-0.6.13/lib/python2.6/site-packages/Djblets-0.6.13-py2.6.egg/djblets/util/misc.py", line 156, in cache_memoize
    data = lookup_callable()
  File "/build/toolchain/noarch/reviewboard-1.6.1/ReviewBoard-1.6.1-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 1070, in <lambda>
    enable_syntax_highlighting)),
  File "/build/toolchain/noarch/reviewboard-1.6.1/ReviewBoard-1.6.1-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 552, in get_chunks
    new = get_patched_file(old, filediff)
  File "/build/toolchain/noarch/reviewboard-1.6.1/ReviewBoard-1.6.1-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 374, in get_patched_file
    return patch(filediff.diff, buffer, filediff.dest_file)
  File "/build/toolchain/noarch/reviewboard-1.6.1/ReviewBoard-1.6.1-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 242, in patch
    (filename, tempdir, patch_output))
Exception: The patch to '//depot/vcqe/vsphere5x/VC/src/tests/java/virtualdiskmanager/reparentdisks/Sec002.java' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.Msu3qq' for debugging purposes.
`patch` returned: patching file /tmp/reviewboard.Msu3qq/tmpN8xS5G
patch: **** malformed patch at line 5:
david
#1 david
Please raise this issue with the reviewboard administrators at VMware. The problem is likely in the way the diff was generated.
  • +ThirdParty