2767: Review Board 1.6.12 Issue with "view diff"

Peerm*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Nov. 18, 2012
What version are you running?

 Review Board 1.6.12 

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

http://junose-wxp15.englab/reviews/r/9/diff/#index_header

What steps will reproduce the problem?
1. Generate diff using diff -c and upload through web UI, diff seems to be fine and publish goes fine. 
2. view diff works fine
3. after some time. if click "view diff" for that review get this err

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


What operating system are you using? What browser?

ie 8/ mozilla 15.0.1

Please provide any additional information below.

I'm using RB setup in windows machine with clearcase repo.

Get below err 

The file 'M:/pmohamed_remote/sw0/host/tools/clearcase/utils/mountsnapvols.pl' could not be found in the repository

Traceback (most recent call last):
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.12-py2.5.egg\reviewboard\diffviewer\views.py", line 254, in view_diff
    populate_diff_chunks(temp_files, highlighting)
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.12-py2.5.egg\reviewboard\diffviewer\diffutils.py", line 1182, in populate_diff_chunks
    large_data=True)
  File "c:\python25\lib\site-packages\Djblets-0.6.23-py2.5.egg\djblets\util\misc.py", line 156, in cache_memoize
    data = lookup_callable()
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.12-py2.5.egg\reviewboard\diffviewer\diffutils.py", line 1181, in <lambda>
    enable_syntax_highlighting)),
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.12-py2.5.egg\reviewboard\diffviewer\diffutils.py", line 588, in get_chunks
    old = get_original_file(filediff)
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.12-py2.5.egg\reviewboard\diffviewer\diffutils.py", line 368, in get_original_file
    large_data=True)[0]
  File "c:\python25\lib\site-packages\Djblets-0.6.23-py2.5.egg\djblets\util\misc.py", line 156, in cache_memoize
    data = lookup_callable()
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.12-py2.5.egg\reviewboard\diffviewer\diffutils.py", line 367, in <lambda>
    data = cache_memoize(key, lambda: [fetch_file(file, revision)],
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.12-py2.5.egg\reviewboard\diffviewer\diffutils.py", line 347, in fetch_file
    data = repository.get_file(file, revision)
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.12-py2.5.egg\reviewboard\scmtools\models.py", line 155, in get_file
    return self.get_scmtool().get_file(path, revision)
  File "c:\python25\lib\site-packages\ReviewBoard-1.6.12-py2.5.egg\reviewboard\scmtools\clearcase.py", line 235, in get_file
    raise FileNotFoundError(extended_path, revision)
FileNotFoundError: The file 'M:/pmohamed_remote/sw0/host/tools/clearcase/utils/mountsnapvols.pl' could not be found in the repository

====================================


Pls help on the above issue.
david
#1 david
We don't have any expertise on using reviewboard against clearcase (it was a 3rd-party contribution), but I think you probably need to be using post-review to create your diffs instead of "diff"
  • +UserError