I'm getting an error when using the latest version of postreview to
post an IP from and SVN client:


$ post-review --server=http://reviewboard.ingres.prv --bug=1810 --
summary="X-IP for Mantis 1810 - test"
Traceback (most recent call last):
  File "/usr/bin/post-review", line 9, in <module>
    load_entry_point('RBTools==0.3.2', 'console_scripts', 'post-
review')()
  File "/usr/lib/python2.7/site-packages/RBTools-0.3.2-py2.7.egg/
rbtools/postreview.py", line 3794, in main
    submit_as=options.submit_as)
  File "/usr/lib/python2.7/site-packages/RBTools-0.3.2-py2.7.egg/
rbtools/postreview.py", line 3403, in tempt_fate
    review_request = server.new_review_request(changenum, submit_as)
  File "/usr/lib/python2.7/site-packages/RBTools-0.3.2-py2.7.egg/
rbtools/postreview.py", line 555, in new_review_request
    if isinstance(self.info.path, list):
  File "/usr/lib/python2.7/site-packages/RBTools-0.3.2-py2.7.egg/
rbtools/postreview.py", line 801, in _get_server_info
    self._server_info = self._info.find_server_repository_info(self)
  File "/usr/lib/python2.7/site-packages/RBTools-0.3.2-py2.7.egg/
rbtools/postreview.py", line 210, in find_server_repository_info
    info = self._get_repository_info(server, repository)
  File "/usr/lib/python2.7/site-packages/RBTools-0.3.2-py2.7.egg/
rbtools/postreview.py", line 226, in _get_repository_info
    return server.get_repository_info(repository['id'])
  File "/usr/lib/python2.7/site-packages/RBTools-0.3.2-py2.7.egg/
rbtools/postreview.py", line 720, in get_repository_info
    rsp = self.api_get(url)
  File "/usr/lib/python2.7/site-packages/RBTools-0.3.2-py2.7.egg/
rbtools/postreview.py", line 876, in api_get
    return self.process_json(self.http_get(path))
  File "/usr/lib/python2.7/site-packages/RBTools-0.3.2-py2.7.egg/
rbtools/postreview.py", line 846, in http_get
    rsp = urllib2.urlopen(url).read()
  File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.7/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib64/python2.7/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 1173, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.7/urllib2.py", line 1144, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib64/python2.7/httplib.py", line 1025, in getresponse
    response.begin()
  File "/usr/lib64/python2.7/httplib.py", line 401, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python2.7/httplib.py", line 365, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine: ''

Bizarrely, if I omit the "--bug" and "--summary" parameters, the
review posts without issue. Has anyone else seen this issue?
It works fine with previous version we were using, Postreview v0.8.

Any help, incite would be very much appreciated.

Thanks,

Jay

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to