1579: New review request not working

kaus*****@gmai***** (Google Code) (Is this you? Claim this profile.)
April 16, 2010
I get an exception and part of error log is below :
 
Exception Type:  	OSError
Exception Value: 	[Errno 2] No such file or directory
chipx86
#1 chipx86
I need more information than this. It doesn't tell me anything.

A full trace is needed, as is full repro steps, the version of Review Board, and any
log files that would be relevant.
  • +NeedInfo
#2 mate.******@gmai***** (Google Code) (Is this you? Claim this profile.)
It might be a different issue, but here's some information that may help:
RB 1.5beta1, Debian etch, python 2.4.4, apache2, clean install, subversion repository.

When creating review request on the web interface (not post-review), if I specify a
wrong (or non-existing) subversion path I get an exception:

----------------------------------------------

Traceback (most recent call last):

  File
"/usr/lib/python2.4/site-packages/Django-1.1.1-py2.4.egg/django/core/handlers/base.py",
line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File
"/usr/lib/python2.4/site-packages/Djblets-0.5.7-py2.4.egg/djblets/auth/util.py", line
46, in _checklogin
    return view_func(request, *args, **kwargs)

  File
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta1-py2.4.egg/reviewboard/reviews/views.py",
line 69, in new_review_request
    parent_diff_file=request.FILES.get('parent_diff_path'))

  File
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta1-py2.4.egg/reviewboard/reviews/forms.py",
line 183, in create
    attach_to_history=True)

  File
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta1-py2.4.egg/reviewboard/reviews/forms.py",
line 235, in create
    history)

  File
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta1-py2.4.egg/reviewboard/diffviewer/forms.py",
line 62, in create
    files = list(self._process_files(

  File
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5beta1-py2.4.egg/reviewboard/diffviewer/forms.py",
line 143, in _process_files
    raise FileNotFoundError(filename, revision)

FileNotFoundError: The file 'https://svn.<***snipped***>/Constants.java' (r1182)
could not be found in the repository

----------------------------------------------

The same thing works fine if the specified path is correct.
Let me know if you need more information.
#3 kaus*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Yeah.. I know about the exception when incorrect base path of svn is used. But I dont
think mine was related to that.
But anyways, its working now. The people who maintain it got it working.

Thx for the help.

-KP
david
#4 david
  • -NeedInfo
    +SetupIssue