1448: error thrown when submitting review request via web interface for private github repo.

spl****@gmai***** (Google Code) (Is this you? Claim this profile.)
Jan. 5, 2010
What version are you running?
ReviewBoard-1.1alpha2.dev_20091222-py2.6.egg


What's the URL of the page containing the problem?
http://r.wearehug.com/r/new/


What steps will reproduce the problem?
1. Install latest reviewboard nightly
2. Configure new "Github Private" repository
3. Submit new review request via web interface and diff file.

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

Expected new review to be submitted.

Received "Something broke! (Error 500)"


What operating system are you using? What browser?
OSX Snow Leopard / Chrome
Ubuntu Jaunty to host reviewboard


Please provide any additional information below.

Apache error log details:

/usr/lib/python2.6/dist-packages/mod_python/importer.py:32: 
DeprecationWarning: the md5 module is deprecated; use hash
lib instead
  import md5
ERROR:root:Git: HTTP error code 403 when fetching file from 
http://github.com/api/v2/yaml/blob/show/GITHUBACCTNAME/   
GITHUBREPONAME/beb4283?
login=GITHUBUSERNAME&token=GITHUBAPITOKEN:                                                     
ERROR:root:Exception thrown for user admin at 
http://r.wearehug.com/r/new/

The file 'Makefile' (rbeb4283) could not be found in the repository
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-
py2.6.egg/django/core/handlers/base.py", line 92, in      get_response                                                                                                              
response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.5.6-
py2.6.egg/djblets/auth/util.py", line 46, in _checklogin
    return view_func(request, *args, **kwargs)                                                                          
File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-
1.1alpha2.dev_20091222-py2.6.egg/reviewboard/reviews/views.py", line 
69, in new_review_request
    parent_diff_file=request.FILES.get('parent_diff_path'))                                                             
File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-
1.1alpha2.dev_20091222-py2.6.egg/reviewboard/reviews/forms.py", line 
183, in create
    attach_to_history=True)                                                                                             
File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-
1.1alpha2.dev_20091222-py2.6.egg/reviewboard/reviews/forms.py", line 
235, in create
    history)                                                                                                            File 
"/usr/local/lib/python2.6/dist-packages/ReviewBoard-
1.1alpha2.dev_20091222-py2.6.egg/reviewboard/diffviewer/   forms.py", 
line 63, in create
#1 spl****@gmai***** (Google Code) (Is this you? Claim this profile.)
Not a bug. Github requires the full length SHA1's in the diff. See 
http://groups.google.com/group/reviewboard/browse_thread/thread/83496745c7919
736.
chipx86
#2 chipx86
  • +NotABug