Re: Post-review: Review id before publishing the review request

2011-12-02 Thread Christian Hammond
I'm not entirely sure what the problem is. If your script is creating the review request, then the ID is coming back in the payload. If it's doing anything with the review request, you should have the ID. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.

Re: Post-review: Review id before publishing the review request

2011-12-02 Thread Nilesh Jaiswal
My script doing following steps call post-review At this point i expect the Review id get generated hence i try to fetch the review id through change number below routine call subroutine to get_review_request_by_changenum which does self.myurl = self.rbserver + '/api/review-requests/?ch

Re: Post-review: Review id before publishing the review request

2011-12-02 Thread Christian Hammond
That's happening because your script isn't logging in as the user who posted the review request. Unpublished review requests can only be accessed by the user who owns them. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vm

Re: Post-review: Review id before publishing the review request

2011-12-02 Thread jack jack
Hi Chris, Thanks for the response. My script has logged in as user who posted the review request. Just to bring to your notice that for ReviewBoard V 1.0 api our script was working fine and getting the Review id. before publishing. Has this behavior changed in RB 1.6? if yes then how to get rid b

Re: Post-review: Review id before publishing the review request

2011-12-02 Thread Christian Hammond
The behavior hasn't changed. The way logins work has. Can you show me the code that logs in? (Btw, this is probably more appropriate for the reviewboard-dev list) Christian On Dec 2, 2011, at 5:19, jack jack wrote: > Hi Chris, > > Thanks for the response. > > My script has logged in as us

Re: Error setting up subversion repository

2011-12-02 Thread Matt Billock
Additional info: - This install is on CentOS - using Apache - The ssh login is failing in paramiko. - When I attempt to save my repository info, the only error I receive is "(13, 'Permission denied')". - I traced the call into paramiko's code, at sock.connect(), but cannot figure out exactly what'

Re: Error setting up subversion repository

2011-12-02 Thread Matt Billock
Fixed the (13,'Permission Denied') error with the following line: setsebool -P httpd_can_network_connect 1 taken from: http://wiki.apache.org/httpd/13PermissionDenied SELinux, apparently by default, was preventing apache from making network connections. I've moved on to a more different error,