Comment #2 on issue 1477 by o3sisqa: "Something broke" when publishing a review request
http://code.google.com/p/reviewboard/issues/detail?id=1477

I had similar problems with two cases:

* the 'Base Directory' being empty, though the diff references the full subversion
URL (without leading /)


Traceback (most recent call last):

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

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

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

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

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

File
"/home/reviewboard/site_packages/lib/python2.5/site-packages/ReviewBoard-1.5beta1-py2.5.egg/reviewboard/diffviewer/forms.py",
line 57, in create
raise NoBaseDirError(_('The "Base Diff Path" field is required'))

NoBaseDirError: The "Base Diff Path" field is required


  * the path not filling the gap between the patch and the repository URL:
there is /foo/bar/blub/bla.cpp
Base Diff Path: /foo
Path in Patch: blub/bla.cpp

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

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

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

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

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

File
"/home/reviewboard/site_packages/lib/python2.5/site-packages/ReviewBoard-1.5beta1-py2.5.egg/reviewboard/diffviewer/forms.py",
line 63, in create
diff_file, basedir, check_existance=(not parent_diff_file)))

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

FileNotFoundError: The file 'blub/bla.cpp' (r2509) could not be found in the repository

The error shown to the user is similar to the first.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to