I changed the site setting from http to https. Now I get:
[13:07:36 tvincent@SERVER02:~/puppet]$ post-review -pd --
summary="review board test" --description="REVIEW BOARD TEST"
USE_SVN_README --username=tvincent
>>> RBTools 0.3.2
>>> Home = /home/tvincent
>>> svn info
>>> diff --version
>>> repository info: Path: https://SERVER01.truncated.com/opt, Base path: 
>>> /operations/puppet, Supports changesets: False
>>> HTTP GETting api/
==> HTTP Authentication Required
Enter authorization information for "Web API" at
reviewboard.truncated.com
Password:
>>> HTTP GETting http://reviewboard.truncated.com/api/info/
>>> Using the deprecated Review Board 1.0 web API
>>> svn diff --diff-cmd=diff USE_SVN_README
>>> svn info USE_SVN_README
>>> svn info USE_SVN_README
>>> svn info USE_SVN_README
>>> svn info USE_SVN_README
==> Review Board Login Required
Enter username and password for Review Board at 
http://reviewboard.truncated.com/
Password:
>>> Logging in with username "tvincent"
>>> HTTP POSTing to http://reviewboard.truncated.com/api/json/accounts/login/: 
>>> {'username': 'tvincent', '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 3790, in main
  File "/usr/lib/python2.4/site-packages/RBTools-0.3.2-py2.4.egg/
rbtools/postreview.py", line 488, in login
  File "/usr/lib/python2.4/site-packages/RBTools-0.3.2-py2.4.egg/
rbtools/postreview.py", line 982, in api_post
  File "/usr/lib/python2.4/site-packages/RBTools-0.3.2-py2.4.egg/
rbtools/postreview.py", line 903, in http_post
  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


On May 10, 6:22 pm, Christian Hammond <chip...@chipx86.com> wrote:
> What type of repository are you using? I assume Subversion?
>
> It looks like there are two things going wrong. The first is that Review
> Board's having some sort of trouble fetching server information from your
> repository. The second is that locally, it's been unable to generate a diff.
>
> So assuming Subversion, what happens if you run "svn diff" on your checkout?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Tue, May 10, 2011 at 5:49 PM, Thomas Vincent <tvinc...@astreya.com>wrote:
>
>
>
>
>
>
>
> > Hi,
> > I am getting the following errors when I try to upload a file using
> > post-review.
> > >>> Got API Error 210 (HTTP code 200): There was an error fetching extended
> > information for this repository.
> > >>> Error data: {'deprecated': {'in_version': '1.5'}, 'stat': 'fail',
> > 'err': {'msg': 'There was an error fetching extended information for this
> > repository.', 'code': 210}}
> > >>> HTTP GETting api/json/repositories/3/info/
> > >>> Got API Error 210 (HTTP code 200): There was an error fetching extended
> > information for this repository.
> > >>> Error data: {'deprecated': {'in_version': '1.5'}, 'stat': 'fail',
> > 'err': {'msg': 'There was an error fetching extended information for this
> > repository.', 'code': 210}}
> > >>> HTTP GETting api/json/repositories/4/info/
> > >>> Attempting to create review request onhttps://repository/optionfor
> > None
> > >>> HTTP POSTing tohttp://truncated/option/api/json/reviewrequests/new/:
> > {'repository_path': 'https://truncated.com/option'}
> > >>> Review request created
> > >>> Attempting to set field 'summary' to 'review board test' for review
> > request '408'
> > >>> HTTP POSTing to
> >http://truncated/api/json/reviewrequests/408/draft/set/:{'summary':
> > 'review board test'}
> > >>> Attempting to set field 'description' to 'REVIEW BOARD TEST' for review
> > request '408'
> > >>> HTTP POSTing to
> >http://truncated/api/json/reviewrequests/408/draft/set/:{'description':
> > 'REVIEW BOARD TEST'}
> > >>> Uploading diff, size: 421
> > >>> HTTP POSTing to
> >http://truncating/api/json/reviewrequests/408/diff/new/:{'basedir':
> > '/operations/puppet'}
> > >>> Got API Error 105 (HTTP code 200): One or more fields had errors
> > >>> Error data: {'fields': {'path': ["Server sent unexpected return value
> > (500 Internal Server Error) in response to OPTIONS request for '
> >https://truncated/opt/operations/puppet/USE_SVN_README'"]}, 'stat':
> > 'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105},
> > 'deprecated': {'in_version': '1.5'}}
>
> > Error uploading diff
>
> > The generated diff file was empty. This usually means no files were
> > modified in this change.
>
> > Try running with --output-diff and --debug for more information.
>
> > Your review request still exists, but the diff is not attached.
>
> > RB is 1.5, and rbtools are 0.3.2 .
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://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