I'm working on a brand new instance of Review Board that I'd like to
demo.  I got Review Board 1.6 beta 2 up and running but I can't get
post-review to work.  The server is configured to use LDAP auth
(working) and fastcgi.  Here's the trace I'm getting when trying to
run post-review:

"""
$ post-review -d -n
>>> RBTools 0.3.2
>>> Home = /home/me
>>> svn info
>>> diff --version
>>> repository info: Path: https://svn.redacted/svn/ops, Base path: /sv, 
>>> Supports changesets: False
>>> HTTP GETting api/
>>> HTTP GETting http://reviews.redacted/api/info/
==> HTTP Authentication Required
Enter authorization information for "Web API" at reviews.redacted
Username: me
Password:
Traceback (most recent call last):
  File "/usr/bin/post-review", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/RBTools-0.3.2-py2.4.egg/
rbtools/postreview.py", line 3741, in main
  File "/usr/lib/python2.4/site-packages/RBTools-0.3.2-py2.4.egg/
rbtools/postreview.py", line 434, in check_api_version
  File "/usr/lib/python2.4/site-packages/RBTools-0.3.2-py2.4.egg/
rbtools/postreview.py", line 876, in api_get
  File "/usr/lib/python2.4/site-packages/RBTools-0.3.2-py2.4.egg/
rbtools/postreview.py", line 846, in http_get
  File "/usr/lib64/python2.4/urllib2.py", line 130, in urlopen
    return _opener.open(url, data)
  File "/usr/lib64/python2.4/urllib2.py", line 364, in open
    response = meth(req, response)
  File "/usr/lib/python2.4/site-packages/RBTools-0.3.2-py2.4.egg/
rbtools/postreview.py", line 317, in http_response
  File "/usr/lib64/python2.4/urllib2.py", line 396, in error
    result = self._call_chain(*args)
  File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.4/urllib2.py", line 741, in http_error_401
    host, req, headers)
  File "/usr/lib64/python2.4/urllib2.py", line 720, in
http_error_auth_reqed
    return self.retry_http_basic_auth(host, req, realm)
  File "/usr/lib/python2.4/site-packages/RBTools-0.3.2-py2.4.egg/
rbtools/postreview.py", line 339, in retry_http_basic_auth
  File "/usr/lib64/python2.4/urllib2.py", line 730, in
retry_http_basic_auth
    return self.parent.open(req)
  File "/usr/lib64/python2.4/urllib2.py", line 364, in open
    response = meth(req, response)
  File "/usr/lib/python2.4/site-packages/RBTools-0.3.2-py2.4.egg/
rbtools/postreview.py", line 317, in http_response
  File "/usr/lib64/python2.4/urllib2.py", line 396, in error
    result = self._call_chain(*args)
  File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.4/urllib2.py", line 916, in http_error_401
    host, req, headers)
  File "/usr/lib64/python2.4/urllib2.py", line 807, in
http_error_auth_reqed
    raise ValueError("AbstractDigestAuthHandler doesn't know "
ValueError: AbstractDigestAuthHandler doesn't know about Basic
"""

I've verified the username and password are correct but post-review
doesn't seem to care.  Enabling logging and profiling doesn't make a
difference.  Nothing showing in the httpd logs beyond the GET request
for api/info/.

-- 
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