the above traceback err was for the diff uploaded wich was generated 
manually by diff -uN,
below trace back is for diff uploaded by post-review, and yes i use dynamic 
views and the oid is ther for the file and starts with ====

The file 'M:/reviews/sw0/triggers.txt@@/main/2' (r\main\2) 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:/reviews/sw0/triggers.txt@@/main/2' 
(r\main\2) could not be found in the repository







On Monday, October 15, 2012 10:06:29 PM UTC+5:30, Tomasz Moń wrote:
>
> On Mon, Oct 15, 2012 at 4:06 PM, Peer <peerm...@gmail.com <javascript:>> 
> wrote: 
> > i tried using uploading diff generated by diff -uN/diff -c (or) 
> post-review 
> > (submit diff of checked-out files), all of them diff get broken after 
> some 
> > time) 
>
> If you submitted patch using post-review, the extended_path should 
> include version information (the fabulous '@@'). In your traceback it 
> appears to be missing. 
> In that case, for Dynamic Clear Case Views, it will try to apply the 
> patch on current version of the file, so it breaks when both: 
> a) file version changes (for example, review gets shipped) 
> b) the old file version disappears from cache 
>
> When using postreview the patches should include oids, and then the 
> ReviewBoard should output correct version and extended paths. You can 
> check if your patches contain the oids, by downloading those and 
> checking for lines starting/ending with four equal signs (====). 
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to