What version are you running?
post-review 0.3.3 reviewboard:1.5.5 python2.7
What's the URL of the page containing the problem?
What steps will reproduce the problem?
1.update post-review to 0.3.3 with python 2.7
2.excute post-review the following error exist
3.when RBTools Rollback to 0.2 with python 2.4, it can post successfully
What is the expected output? What do you see instead?
Traceback (most recent call last):
File "/usr/local/bin/post-review", line 8, in <module>
load_entry_point('RBTools==0.3.3', 'console_scripts', 'post-review')()
File "/usr/local/lib/python2.7/site-packages/RBTools-0.3.3-py2.7.egg/rbtools/postreview.py", line 4004, in main
File "/usr/local/lib/python2.7/site-packages/RBTools-0.3.3-py2.7.egg/rbtools/postreview.py", line 3663, in tempt_fate
File "/usr/local/lib/python2.7/site-packages/RBTools-0.3.3-py2.7.egg/rbtools/postreview.py", line 852, in upload_diff
File "/usr/local/lib/python2.7/site-packages/RBTools-0.3.3-py2.7.egg/rbtools/postreview.py", line 1065, in api_post
File "/usr/local/lib/python2.7/site-packages/RBTools-0.3.3-py2.7.egg/rbtools/postreview.py", line 986, in http_post
File "/usr/local/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/local/lib/python2.7/urllib2.py", line 392, in open
response = self._open(req, data)
File "/usr/local/lib/python2.7/urllib2.py", line 410, in _open
'_open', req)
File "/usr/local/lib/python2.7/urllib2.py", line 370, in _call_chain
result = func(*args)
File "/usr/local/lib/python2.7/urllib2.py", line 1186, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/local/lib/python2.7/urllib2.py", line 1155, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/local/lib/python2.7/httplib.py", line 941, in request
self._send_request(method, url, body, headers)
File "/usr/local/lib/python2.7/httplib.py", line 975, in _send_request
self.endheaders(body)
File "/usr/local/lib/python2.7/httplib.py", line 937, in endheaders
self._send_output(message_body)
File "/usr/local/lib/python2.7/httplib.py", line 795, in _send_output
msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 1291: ordinal not in range(128)
What operating system are you using? What browser?
Red Hat Enterprise Linux Server release 5.4 (Tikanga) 64
Please provide any additional information below.