1830: Cannot open .cvsignore Permission denied

m0.inte*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Nov. 6, 2010
What version are you running?
Review Board 1.0.8

What's the URL of the page containing the problem?
http://reviews/r/316/diff/#index_header

What steps will reproduce the problem?
1. Uploading property files (key=value per line)
2. Viewing the diff
3. Error page.

What is the expected output? What do you see instead?
I expect the diff to be shown, but I see strange result where it is using a username (which isn't mine) and trying to go to that home folder. Here is the stack trace:

cvs checkout: cannot open /home/brian/.cvsignore: Permission denied cvs checkout: cannot open /home/brian/.cvsignore: Permission denied cvs checkout: cannot find module `orion/src/com/example/CoreProps.properties' - ignored

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.8-py2.4.egg/reviewboard/diffviewer/views.py", line 153, in view_diff
    interdiffset, highlighting, True)
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.8-py2.4.egg/reviewboard/diffviewer/diffutils.py", line 623, in get_diff_files
    large_data=True)
  File "/usr/lib/python2.4/site-packages/Djblets-0.6.2-py2.4.egg/djblets/util/misc.py", line 166, in cache_memoize
    data = lookup_callable()
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.8-py2.4.egg/reviewboard/diffviewer/diffutils.py", line 622, in <lambda>
    enable_syntax_highlighting),
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.8-py2.4.egg/reviewboard/diffviewer/diffutils.py", line 344, in get_chunks
    old = get_original_file(filediff)
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.8-py2.4.egg/reviewboard/diffviewer/diffutils.py", line 251, in get_original_file
    large_data=True)[0]
  File "/usr/lib/python2.4/site-packages/Djblets-0.6.2-py2.4.egg/djblets/util/misc.py", line 166, in cache_memoize
    data = lookup_callable()
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.8-py2.4.egg/reviewboard/diffviewer/diffutils.py", line 250, in <lambda>
    data = cache_memoize(key, lambda: [fetch_file(file, revision)],
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.8-py2.4.egg/reviewboard/diffviewer/diffutils.py", line 229, in fetch_file
    data = tool.get_file(file, revision)
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.8-py2.4.egg/reviewboard/scmtools/cvs.py", line 63, in get_file
    return self.client.cat_file(path, revision)
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.8-py2.4.egg/reviewboard/scmtools/cvs.py", line 183, in cat_file
    return self._cat_specific_file(filename, revision)
  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0.8-py2.4.egg/reviewboard/scmtools/cvs.py", line 232, in _cat_specific_file
    raise SCMError(errmsg)
SCMError: cvs checkout: cannot open /home/brian/.cvsignore: Permission denied
cvs checkout: cannot open /home/brian/.cvsignore: Permission denied
cvs checkout: cannot find module `orion/src/com/example/CoreProps.properties' - ignored



What operating system are you using? What browser?
RHEL 5, Google Chrome 7

Please provide any additional information below.
david
#1 david
  • +Component-SCMTools
david
#2 david
Looking at the source, this is fixed in 1.5.
  • +Fixed