Hi Chris,
It turns out the repository credentials that review board was using was a
former employees whose account was deleted. Thanks for your help.

Thomas

On Wed, May 11, 2011 at 3:39 PM, Thomas Vincent <tvinc...@astreya.com>wrote:

> Hi Chris,
> I posted the logs at http://pastebin.com/aB4a8iMr . I see the errors that
> indicate something wrong. But I can't reproduce the problem at the command
> line. Thanks in advance.
>
> On Wed, May 11, 2011 at 3:25 PM, Christian Hammond <chip...@chipx86.com>wrote:
>
>> It still looks like Review Board is having a problem accessing your
>> Subversion repository. It's failing in some way. Might want to check the
>> Review Board log file to see if anything is coming up, and attempt a 'svn
>> info' on the repository path from the Review Board server.
>>
>> It could be some issue with your PySVN install, too.
>>
>>
>> Christian
>>
>> --
>> Christian Hammond - chip...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Wed, May 11, 2011 at 3:23 PM, Thomas Vincent <tvinc...@astreya.com>wrote:
>>
>>> Hi,
>>> I upgraded to version 1.5.5 and I am running mod_python with Python 2.6.
>>> Only asks me for my password once now.
>>>
>>> Less errors, but still a error:
>>>
>>>  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 SERVER02.truncated.com
>>> Password:
>>> >>> HTTP GETting http://SERVER02.truncated.com/api/info/
>>> >>> Using the new 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
>>> >>> HTTP GETting http://SERVER02.truncated.com/api/repositories/
>>> >>> HTTP GETting http://SERVER02.truncated.com/api/repositories/2/
>>> >>> HTTP GETting http://SERVER02.truncated.com/api/repositories/2/info/
>>>
>>> >>> Got API Error 210 (HTTP code 500): There was an error fetching
>>> extended information for this repository
>>>  >>> Error data: {'stat': 'fail', 'err': {'msg': 'There was an error
>>> fetching extended information for this repository', 'code': 210}}
>>> >>> HTTP GETting http://SERVER02.truncated.com/api/repositories/3/
>>> >>> HTTP GETting http://SERVER02.truncated.com/api/repositories/3/info/
>>>
>>> >>> Got API Error 210 (HTTP code 500): There was an error fetching
>>> extended information for this repository
>>>  >>> Error data: {'stat': 'fail', 'err': {'msg': 'There was an error
>>> fetching extended information for this repository', 'code': 210}}
>>> >>> HTTP GETting http://SERVER02.truncated.com/api/repositories/4/
>>> >>> HTTP GETting http://SERVER02.truncated.com/api/repositories/4/info/
>>> >>> Attempting to create review request on
>>> https://SERVER01.truncated.com/opt for None
>>> >>> HTTP POSTing to http://SERVER02.truncated.com/api/review-requests/:
>>> {'repository': 'https://SERVER01.truncated.com/opt'}
>>> >>> Review request created
>>> >>> Attempting to set field 'summary' to 'review board test' for review
>>> request '414'
>>> >>> HTTP PUTting to
>>> http://SERVER02.truncated.com/api/review-requests/414/draft/:
>>> {'summary': 'review board test'}
>>> >>> Attempting to set field 'description' to 'REVIEW BOARD TEST' for
>>> review request '414'
>>> >>> HTTP PUTting to
>>> http://SERVER02.truncated.com/api/review-requests/414/draft/:
>>> {'description': 'REVIEW BOARD TEST'}
>>> >>> Uploading diff, size: 421
>>> >>> HTTP POSTing to
>>> http://SERVER02.truncated.com/api/review-requests/414/diffs/:
>>> {'basedir': '/operations/puppet'}
>>>
>>> >>> Got API Error 105 (HTTP code 400): 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://SERVER01.truncated.com/opt/operations/puppet/USE_SVN_README'"]},
>>> 'stat': 'fail', 'err': {'msg': 'One or more fields had errors', 'code':
>>> 105}}
>>>
>>>
>>> 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.
>>>
>>>
>>> On Wed, May 11, 2011 at 12:28 PM, Christian Hammond <chip...@chipx86.com
>>> > wrote:
>>>
>>>> You're running exactly 1.5? Try upgrading. There are a lot of API issues
>>>> in 1.5, which I want to rule out first.
>>>>
>>>> Also, are you using mod_python, or something else?
>>>>
>>>> Christian
>>>>
>>>> --
>>>> Christian Hammond - chip...@chipx86.com
>>>> Review Board - http://www.reviewboard.org
>>>> VMware, Inc. - http://www.vmware.com
>>>>
>>>>
>>>> On Wed, May 11, 2011 at 11:10 AM, Thomas Vincent 
>>>> <tvinc...@astreya.com>wrote:
>>>>
>>>>> 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
>>>>>
>>>>
>>>>  --
>>>> 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
>>>
>>
>>  --
>> 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