2318: Random 'Diff currently unavailable.' message

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? It is closed, sorry.


What steps will reproduce the problem?
1. Just do 'show diff'
2.
3.

What is the expected output? What do you see instead?
See the difference in files compared to the SVN.

What operating system are you using? What browser?
WinXP, SP3. Mozilla, latest.


Please provide any additional information below.
When I do show diff on some of the files this message comes up:
Diff currently unavailable.
Error: The patch to 'http://svn.sj.broadcom.com/svn/wlansvn/proj/trunk/src/tools/mfgc/src/infrastructure/wl_base.cc' didn't apply cleanly. The temporary files have been left in 'c:\temp\reviewboard.zxydnp' for debugging purposes. `patch` returned: patch: **** Can't create file C:\Temp/ppz01948 : File exists
Details

Traceback (most recent call last):
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\diffviewer\views.py", line 217, in view_diff_fragment
    file = get_requested_diff_file()
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\diffviewer\views.py", line 193, in get_requested_diff_file
    get_chunks)
  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/src/infrastructure/wl_base.cc' didn't apply cleanly. The temporary files have been left in 'c:\temp\reviewboard.zxydnp' for debugging purposes.
`patch` returned: patch: **** Can't create file C:\Temp/ppz01948 : File exists

However, reloading the page can fix this particular problem. It may also show the same problem for a different file.
david
#1 david
You'll need to look at (or have your administrator look at) the files in the temporary directory to see why this is failing.
  • +NeedInfo
david
#2 david
  • -NeedInfo
    +Incomplete