Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2300 by RBTools 0.3.3 not work with python2.7

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*                             *

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/", line 4004, in main File "/usr/local/lib/python2.7/site-packages/RBTools-0.3.3-py2.7.egg/rbtools/", line 3663, in tempt_fate File "/usr/local/lib/python2.7/site-packages/RBTools-0.3.3-py2.7.egg/rbtools/", line 852, in upload_diff File "/usr/local/lib/python2.7/site-packages/RBTools-0.3.3-py2.7.egg/rbtools/", line 1065, in api_post File "/usr/local/lib/python2.7/site-packages/RBTools-0.3.3-py2.7.egg/rbtools/", line 986, in http_post
  File "/usr/local/lib/python2.7/", line 126, in urlopen
    return, data, timeout)
  File "/usr/local/lib/python2.7/", line 392, in open
    response = self._open(req, data)
  File "/usr/local/lib/python2.7/", line 410, in _open
    '_open', req)
  File "/usr/local/lib/python2.7/", line 370, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/", line 1186, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/local/lib/python2.7/", line 1155, in do_open
    h.request(req.get_method(), req.get_selector(),, headers)
  File "/usr/local/lib/python2.7/", line 941, in request
    self._send_request(method, url, body, headers)
  File "/usr/local/lib/python2.7/", line 975, in _send_request
  File "/usr/local/lib/python2.7/", line 937, in endheaders
  File "/usr/local/lib/python2.7/", 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.

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to