The traceback seems to have been cut off. Do you have the last few lines?

-David


On Wed, Feb 29, 2012 at 4:17 PM, Joshua Shanks <jjsha...@gmail.com> wrote:

> If I turn off http auth around my install of review board post-review
> works just fine. If I turn it on no passing in of the --http-*
> parameters or setting of HTTP_* in the .reviewboardrc file works and
> always results in the exception listed below. I can do basic auth from
> multiple browsers and login to reviewboard normally after that as
> well.
>
> Python 2.7.1+
> RBTools 0.4.1
> rb-site 1.6.4.1
> Apache/2.2.17
>
> .reviewboardrc contains
>
> REVIEWBOARD_URL = "http://host.com/reviews";
> HTTP_USERNAME = "user"
> HTTP_PASSWORD = "password"
>
> Exception
>
> Traceback (most recent call last):
>  File "/usr/local/bin/post-review", line 9, in <module>
>    load_entry_point('RBTools==0.4.1', 'console_scripts', 'post-
> review')()
>  File "/usr/local/lib/python2.7/dist-packages/RBTools-0.4.1-py2.7.egg/
> rbtools/postreview.py", line 1223, in main
>    if not server.check_api_version():
>  File "/usr/local/lib/python2.7/dist-packages/RBTools-0.4.1-py2.7.egg/
> rbtools/postreview.py", line 227, in check_api_version
>    root_resource = self.api_get('api/')
>  File "/usr/local/lib/python2.7/dist-packages/RBTools-0.4.1-py2.7.egg/
> rbtools/postreview.py", line 670, in api_get
>    return self.process_json(self.http_get(path))
>  File "/usr/local/lib/python2.7/dist-packages/RBTools-0.4.1-py2.7.egg/
> rbtools/postreview.py", line 640, in http_get
>    rsp = urllib2.urlopen(url).read()
>  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
>    return _opener.open(url, data, timeout)
>  File "/usr/lib/python2.7/urllib2.py", line 400, in open
>    response = meth(req, response)
>  File "/usr/local/lib/python2.7/dist-packages/RBTools-0.4.1-py2.7.egg/
> rbtools/postreview.py", line 98, in http_response
>    response.info())
>  File "/usr/lib/python2.7/urllib2.py", line 432, in error
>    result = self._call_chain(*args)
>  File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
>    result = func(*args)
>  File "/usr/lib/python2.7/urllib2.py", line 884, in http_error_401
>    url, req, headers)
>  File "/usr/lib/python2.7/urllib2.py", line 859, in
> http_error_auth_reqed
>    response = self.retry_http_basic_auth(host, req, realm)
>  File "/usr/local/lib/python2.7/dist-packages/RBTools-0.4.1-py2.7.egg/
> rbtools/postreview.py", line 130, in retry_http_basic_auth
>    if response.code != 401:
>
> --
> 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

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