Re: unable to change review request state to submitted
Based on the small amount of code visible in your traceback, I think probably what you have is pretty close, but likely the surrounding code that handles authentication isn't correct. -David On Tue, Oct 7, 2014 at 10:25 AM, Jes ch.jeski...@gmail.com wrote: Hi David, Thanks for the reply. It is customized for CMVC. what is the correct way to move review request id into submitted state? Could you pls. provide code snippet for that? Thanks, Jes On Tuesday, October 7, 2014 9:05:56 PM UTC+5:30, David Trowbridge wrote: It looks like you're using some custom version of rbtools? postreview.py (and the post-review entry point) don't exist anymore in 0.6.2, and there's never been a file called approvereview.py You'll need to follow up with whoever made the changes to the package you're using. -David On Tue, Oct 7, 2014 at 3:08 AM, Jes ch.je...@gmail.com wrote: Hi, After publishing review and ship, trying to change state into submitted. But it is failing with following ERROR: 10/05/2014 03:36:06 PM You don't have permission for this (HTTP 403, API Error 101) Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2- py2.7.egg/rbtools/approvereview.py, line 237, in main approve_review( rb_server, review_id ) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2- py2.7.egg/rbtools/approvereview.py, line 22, in approve_review rb_server.api_put( 'api/review-requests/%s/' % review_id, { 'status': 'submitted', } ) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2- py2.7.egg/rbtools/postreview.py, line 797, in api_put self.process_error(e.code, e.read()) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2- py2.7.egg/rbtools/postreview.py, line 628, in process_error rsp['err']['msg']) APIError: You don't have permission for this (HTTP 403, API Error 101) Using RBTools-0.6.2 I added user to super user of RB aswell. But still same issue. But if I login into Review Board using G?UI, then I am able to move it to manually using the close-submitted option. Can you pls. help? Thanks, Jes -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: unable to change review request state to submitted
Thanks David, it is issue with authentication. -Jes On Wednesday, October 8, 2014 9:46:55 PM UTC+5:30, David Trowbridge wrote: Based on the small amount of code visible in your traceback, I think probably what you have is pretty close, but likely the surrounding code that handles authentication isn't correct. -David On Tue, Oct 7, 2014 at 10:25 AM, Jes ch.je...@gmail.com javascript: wrote: Hi David, Thanks for the reply. It is customized for CMVC. what is the correct way to move review request id into submitted state? Could you pls. provide code snippet for that? Thanks, Jes On Tuesday, October 7, 2014 9:05:56 PM UTC+5:30, David Trowbridge wrote: It looks like you're using some custom version of rbtools? postreview.py (and the post-review entry point) don't exist anymore in 0.6.2, and there's never been a file called approvereview.py You'll need to follow up with whoever made the changes to the package you're using. -David On Tue, Oct 7, 2014 at 3:08 AM, Jes ch.je...@gmail.com wrote: Hi, After publishing review and ship, trying to change state into submitted. But it is failing with following ERROR: 10/05/2014 03:36:06 PM You don't have permission for this (HTTP 403, API Error 101) Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2- py2.7.egg/rbtools/approvereview.py, line 237, in main approve_review( rb_server, review_id ) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2- py2.7.egg/rbtools/approvereview.py, line 22, in approve_review rb_server.api_put( 'api/review-requests/%s/' % review_id, { 'status': 'submitted', } ) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2- py2.7.egg/rbtools/postreview.py, line 797, in api_put self.process_error(e.code, e.read()) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2- py2.7.egg/rbtools/postreview.py, line 628, in process_error rsp['err']['msg']) APIError: You don't have permission for this (HTTP 403, API Error 101) Using RBTools-0.6.2 I added user to super user of RB aswell. But still same issue. But if I login into Review Board using G?UI, then I am able to move it to manually using the close-submitted option. Can you pls. help? Thanks, Jes -- Get the Review Board Power Pack at http://www.reviewboard.org/ powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
unable to change review request state to submitted
Hi, After publishing review and ship, trying to change state into submitted. But it is failing with following ERROR: 10/05/2014 03:36:06 PM You don't have permission for this (HTTP 403, API Error 101) Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/approvereview.py, line 237, in main approve_review( rb_server, review_id ) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/approvereview.py, line 22, in approve_review rb_server.api_put( 'api/review-requests/%s/' % review_id, { 'status': 'submitted', } ) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/postreview.py, line 797, in api_put self.process_error(e.code, e.read()) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/postreview.py, line 628, in process_error rsp['err']['msg']) APIError: You don't have permission for this (HTTP 403, API Error 101) Using RBTools-0.6.2 I added user to super user of RB aswell. But still same issue. But if I login into Review Board using G?UI, then I am able to move it to manually using the close-submitted option. Can you pls. help? Thanks, Jes -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: unable to change review request state to submitted
It looks like you're using some custom version of rbtools? postreview.py (and the post-review entry point) don't exist anymore in 0.6.2, and there's never been a file called approvereview.py You'll need to follow up with whoever made the changes to the package you're using. -David On Tue, Oct 7, 2014 at 3:08 AM, Jes ch.jeski...@gmail.com wrote: Hi, After publishing review and ship, trying to change state into submitted. But it is failing with following ERROR: 10/05/2014 03:36:06 PM You don't have permission for this (HTTP 403, API Error 101) Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/approvereview.py, line 237, in main approve_review( rb_server, review_id ) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/approvereview.py, line 22, in approve_review rb_server.api_put( 'api/review-requests/%s/' % review_id, { 'status': 'submitted', } ) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/postreview.py, line 797, in api_put self.process_error(e.code, e.read()) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/postreview.py, line 628, in process_error rsp['err']['msg']) APIError: You don't have permission for this (HTTP 403, API Error 101) Using RBTools-0.6.2 I added user to super user of RB aswell. But still same issue. But if I login into Review Board using G?UI, then I am able to move it to manually using the close-submitted option. Can you pls. help? Thanks, Jes -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: unable to change review request state to submitted
Hi David, Thanks for the reply. It is customized for CMVC. what is the correct way to move review request id into submitted state? Could you pls. provide code snippet for that? Thanks, Jes On Tuesday, October 7, 2014 9:05:56 PM UTC+5:30, David Trowbridge wrote: It looks like you're using some custom version of rbtools? postreview.py (and the post-review entry point) don't exist anymore in 0.6.2, and there's never been a file called approvereview.py You'll need to follow up with whoever made the changes to the package you're using. -David On Tue, Oct 7, 2014 at 3:08 AM, Jes ch.je...@gmail.com javascript: wrote: Hi, After publishing review and ship, trying to change state into submitted. But it is failing with following ERROR: 10/05/2014 03:36:06 PM You don't have permission for this (HTTP 403, API Error 101) Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/approvereview.py, line 237, in main approve_review( rb_server, review_id ) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/approvereview.py, line 22, in approve_review rb_server.api_put( 'api/review-requests/%s/' % review_id, { 'status': 'submitted', } ) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/postreview.py, line 797, in api_put self.process_error(e.code, e.read()) File /usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/postreview.py, line 628, in process_error rsp['err']['msg']) APIError: You don't have permission for this (HTTP 403, API Error 101) Using RBTools-0.6.2 I added user to super user of RB aswell. But still same issue. But if I login into Review Board using G?UI, then I am able to move it to manually using the close-submitted option. Can you pls. help? Thanks, Jes -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.