2354: Error while trying to see the diff.

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


What's the URL of the page containing the problem? Sorry, it is closed.


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

What is the expected output? What do you see instead?
Expect to see the diff, get the below message instead. The error occurs intermittently. Refreshing the page sometimes solves the problem.


What operating system are you using? What browser? WinXP, Firefox 7.0


Please provide any additional information below.

The patch to 'http://svn.sj.broadcom.com/svn/wlansvn/proj/trunk/src/tools/mfgc/mfgclib/mfgclib.vcproj' didn't apply cleanly. The temporary files have been left in 'c:\temp\reviewboard.z27q7w' for debugging purposes. `patch` returned: patch: **** Can't create file C:\Temp/ppz03524 : File exists

Traceback (most recent call last):
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\diffviewer\views.py", line 151, in view_diff
    interdiffset, highlighting, True)
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\diffviewer\diffutils.py", line 1071, in get_diff_files
    large_data=True)
  File "c:\python25\lib\site-packages\Djblets-0.6.11-py2.5.egg\djblets\util\misc.py", line 155, in cache_memoize
    data = lookup_callable()
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\diffviewer\diffutils.py", line 1070, in <lambda>
    enable_syntax_highlighting)),
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\diffviewer\diffutils.py", line 552, in get_chunks
    new = get_patched_file(old, filediff)
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\diffviewer\diffutils.py", line 374, in get_patched_file
    return patch(filediff.diff, buffer, filediff.dest_file)
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\diffviewer\diffutils.py", line 242, in patch
    (filename, tempdir, patch_output))
Exception: The patch to 'http://svn.sj.broadcom.com/svn/wlansvn/proj/trunk/src/tools/mfgc/mfgclib/mfgclib.vcproj' didn't apply cleanly. The temporary files have been left in 'c:\temp\reviewboard.z27q7w' for debugging purposes.
`patch` returned: patch: **** Can't create file C:\Temp/ppz03524 : File exists
david
#1 david
You'll have to look at the rejects to see why this failed. Most typically we've seen this with encoding or newline mismatches.
  • +NeedInfo
#2 katsn*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Do you need some more specific info from us?
david
#3 david
We need some kind of analysis into what caused patch to fail.
#4 katsn*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Can you be more specific? Do you want those temporary files?
david
#5 david
Just providing the files might help, but ideally you could also look at the reject files and see if the problem is obvious.
david
#6 david
  • -NeedInfo
    +Incomplete