4472: UnicodeDecodeError: 'ascii' codec can't decode byte


What version are you running?

What's the URL of the page containing the problem?


What steps will reproduce the problem?

  1. access the above url
  2. Some GIT repos do not have an issue but are not listing commits. Other Git repos

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

No error

What operating system are you using? What browser?

Centos 7

Please provide any additional information below.

groups = self._api_get_groups()

File "/usr/lib64/python2.7/site-packages/reviewboard/hostingsvcs/gitlab.py", line 416, in _api_get_groups
% self._build_api_url(self.account.hosting_url, 'groups'))[0]
File "/usr/lib64/python2.7/site-packages/reviewboard/hostingsvcs/gitlab.py", line 521, in _api_get
'PRIVATE-TOKEN': self._get_private_token(),
File "/usr/lib64/python2.7/site-packages/reviewboard/hostingsvcs/service.py", line 55, in http_get
return self.http_request(url, method='GET', *kwargs)
File "/usr/lib64/python2.7/site-packages/reviewboard/hostingsvcs/service.py", line 79, in http_request
u = urlopen(r)
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(
File "/usr/lib64/python2.7/urllib2.py", line 1244, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1211, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/lib64/python2.7/httplib.py", line 1017, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.7/httplib.py", line 1050, in _send_request
self.putheader(hdr, value)
File "/usr/lib64/python2.7/httplib.py", line 997, in putheader
hdr = '%s: %s' % (header, '\r\n\t'.join(values))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xfb in position 2: ordinal not in range(128)
2016-09-26 17:45:59,336 - INFO - - Reloading logging settings

#1 jeremiah

git diff HEAD~1 > /tmp/rbt_review ; rbt post --diff-filename /tmp/rbt_review

Please log in to the Review Board server at review.ciminc.com.
Username: jeremiah
ERROR: Error validating diff

Unexpected error when validating the diff: 'ascii' codec can't decode byte 0xfb in position 2: ordinal not in range(128) (HTTP 400, API Error 224)

#2 chipx86

What version of Python are you running?

#3 jeremiah


#4 jeremiah

Also RBTools 0.7.6

#5 jeremiah

git 2.7.4

#6 jeremiah

sorry, git is on the server

#7 david
  • -New
  • +david
#8 david

Fixed in release-2.0.x (6cd4753). This will ship in 2.0.26 and 2.5.8. Thanks!

  • -PendingReview