1. ReviewBoard 1.5
2. Apache 2.2
3. SVN 1.4
4. Python 2.4

Am trying to post a review on a post-commit hook from subversion
Running the below command
/usr/bin/post-review --server=http://server/reviewboard/ --repository-
url=file:///var/svn/repositories/sandbox/ --username=svn '--
password=svn' '--submit-as=svn' '--revision-range=4493:4494' '--
publish' '--summary=testing reviewboard creation' '--description=(In
[4494]) testing reviewboard creation' -d


This is the output I get from post-review.

>>> svn info file:///var/svn/repositories/sandbox/
>>> diff --version
>>> repository info: Path: file:///var/svn/repositories/sandbox, Base path: /, 
>>> Supports changesets: False
>>> svn diff --diff-cmd=diff file:///var/svn/repositories/sandbox/@4493 
>>> file:///var/svn/repositories/sandbox/@4494
>>> Looking for 'server/reviewboard/' cookie in 
>>> /home/svn/.post-review-cookies.txt
>>> Cookie file loaded, but no cookie for this server
==> Review Board Login Required
Enter username and password for Review Board at http://server/reviewboard/
>>> Logging in with username "svn"
>>> HTTP POSTing to http://server/reviewboard/api/json/accounts/login/: 
>>> {'username': 'svn', 'password': '**************'}
>>> Logged in.
>>> HTTP GETting /api/json/repositories/
>>> HTTP GETting /api/json/repositories/1/info/
>>> repository info: Path: https://server/svn/sandbox, Base path: /, Supports 
>>> changesets: False
>>> Attempting to create review request on https://server/svn/sandbox for None
>>> Submitting the review request as svn
>>> HTTP POSTing to http://server/reviewboard/api/json/reviewrequests/new/: 
>>> {'repository_path': 'https://vhabosapp8/svn/sandbox', 'submit_as': 
>>> 'sandbox'}
>>> Got API Error 103 (HTTP code 200): You are not logged in
>>> Error data: {'deprecated': {'in_version': '1.5'}, 'stat': 'fail', 'err': 
>>> {'msg': 'You are not logged in', 'code': 103}}
==> Review Board Login Required
Enter username and password for Review Board at http://server/reviewboard/
>>> Logging in with username "svn"
>>> HTTP POSTing to http://server/reviewboard/api/json/accounts/login/: 
>>> {'username': 'svn', 'password': '**************'}
>>> Logged in.
>>> Attempting to create review request on https://server/svn/sandbox for None
>>> Submitting the review request as svn
>>> HTTP POSTing to http://server/reviewboard/api/json/reviewrequests/new/: 
>>> {'repository_path': 'https://server/svn/sandbox', 'submit_as': 'svn'}
>>> Got API Error 103 (HTTP code 200): You are not logged in
>>> Error data: {'deprecated': {'in_version': '1.5'}, 'stat': 'fail', 'err': 
>>> {'msg': 'You are not logged in', 'code': 103}}
==> Review Board Login Required
Enter username and password for Review Board at http://server/reviewboard/
>>> Logging in with username "svn"
>>> HTTP POSTing to http://server/reviewboard/api/json/accounts/login/: 
>>> {'username': 'svn', 'password': '**************'}
>>> Logged in.
>>> Attempting to create review request on https://server/svn/sandbox for None
>>> Submitting the review request as svn
>>> HTTP POSTing to http://server/reviewboard/api/json/reviewrequests/new/: 
>>> {'repository_path': 'https://server/svn/sandbox', 'submit_as': 'svn'}
>>> Got API Error 103 (HTTP code 200): You are not logged in
>>> Error data: {'deprecated': {'in_version': '1.5'}, 'stat': 'fail', 'err': 
>>> {'msg': 'You are not logged in', 'code': 103}}
==> Review Board Login Required
Enter username and password for Review Board at http://server/reviewboard/
>>> Logging in with username "svn"
>>> HTTP POSTing to http://server/reviewboard/api/json/accounts/login/: 
>>> {'username': 'svn', 'password': '**************'}
>>> Logged in.
>>> Attempting to create review request on https://server/svn/sandbox for None
>>> Submitting the review request as svn
>>> HTTP POSTing to http://server/reviewboard/api/json/reviewrequests/new/: 
>>> {'repository_path': 'https://server/svn/sandbox', 'submit_as': 'svn'}
>>> Got API Error 103 (HTTP code 200): You are not logged in
>>> Error data: {'deprecated': {'in_version': '1.5'}, 'stat': 'fail', 'err': 
>>> {'msg': 'You are not logged in', 'code': 103}}
Error creating review request: You are not logged in (HTTP 200, API
Error 103)


I am able to login and create reviews manually at http://server/reviewboard
using username "svn" and password (same as the one specified for post-
review)

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