I checked the log again. After upgrading from 2.0.18 to 2.5.1.1, I created 
a new request from a commit. There are errors. See error_1.txt.
Then I 
modified 
/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/hostingsvcs/gitlab.py",
 
line 299, replaced "message = commit['message']" with "message = 
commit['title']". 

And then, I created another new request from another new commit. 
Unfortunately, I am getting more errors. See error_2.txt.

>From what I got, I think  the original gitlab.py file is incompatible with 
the version of Gitlab we are using (7.1.1). 

Upgrading RB to 2.5.1.1 does not resolve the issue we have (missing view 
diff tab on the review request action bar ).

Any help will be appreciated.

Thanks!





-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
- Unable to update new review request from commit ID 
ede5d7e7298fcadc090469874911b6366e7b10df: HTTP Error 401: Unauthorized
Traceback (most recent call last):
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/reviews/managers.py",
 line 150, in create
    review_request.update_from_commit_id(commit_id)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/reviews/models/base_review_request_details.py",
 line 220, in update_from_commit_id
    self.update_from_committed_change(commit_id)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/reviews/models/base_review_request_details.py",
 line 264, in update_from_committed_change
    commit = self.repository.get_change(commit_id)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/scmtools/models.py",
 line 450, in get_change
    return hosting_service.get_change(self, revision)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/hostingsvcs/gitlab.py",
 line 317, in get_change
    headers={'Accept': 'text/plain'})
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/hostingsvcs/service.py",
 line 55, in http_get
    return self.http_request(url, method='GET', **kwargs)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/hostingsvcs/service.py",
 line 79, in http_request
    u = urlopen(r)
  File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized
- Unable to update new review request from commit ID 
57a759c8fd55b1ef44ca226e444c041321930431: u'message'
Traceback (most recent call last):
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/reviews/managers.py",
 line 150, in create
    review_request.update_from_commit_id(commit_id)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/reviews/models/base_review_request_details.py",
 line 220, in update_from_commit_id
    self.update_from_committed_change(commit_id)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/reviews/models/base_review_request_details.py",
 line 264, in update_from_committed_change
    commit = self.repository.get_change(commit_id)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/scmtools/models.py",
 line 450, in get_change
    return hosting_service.get_change(self, revision)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.1.1-py2.7.egg/reviewboard/hostingsvcs/gitlab.py",
 line 299, in get_change
    message = commit['message']
KeyError: u'message'

Reply via email to