Creating a new comment, first_line not being used correctly?

2012-09-17 Thread soorajchirag
Hi, I am looking at the web page: http://www.reviewboard.org/docs/manual/1.6/webapi/2.0/resources/review-diff-comment-list/#webapi2.0-review-diff-comment-list-resource to know how to post comments using the API on an uploaded diff. The comment is getting posted by using the parameters specifi

Re: Creating a new comment, first_line not being used correctly?

2012-09-18 Thread soorajchirag
s the line number from the > file to the row number here: > https://github.com/smacleod/ReviewBot/blob/490522cfcd2ec8ec3d5a953d0b225344e60e9ad3/bot/reviewbot/processing/review.py#L84 > > It uses a very slow algorithm though, so I only recommend looking at it to > make things clearer. &g

Re: Creating a new comment, first_line not being used correctly?

2012-09-18 Thread soorajchirag
gt; VMware, Inc. - http://www.vmware.com > > > On Mon, Sep 17, 2012 at 4:47 AM, soorajchirag > > > wrote: > >> Hi, >> >> I am looking at the web page: >> http://www.reviewboard.org/docs/manual/1.6/webapi/2.0/resources/review-diff-comment-list/#webapi

Re: Need help resolving error: "ImportError: ... No module named reviewboard.settings"

2012-11-21 Thread soorajchirag
uot; or "license" for more information. > >>> import sys > >>> print sys.path > ['', > '/home/soorajchirag/envs/rb-master/local/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg', > > > ... > > > '/home/soorajchirag/envs/

Re: Creating a review with Python API

2013-05-27 Thread soorajchirag
Hi Steven, I am attempting to get the review request by using the following as you stated in your email: root.get_review_request(review_request_id=15583) but it failed for me with the same AttributeError as in this thread. However, when I tried the other approach in your mail, it works fine. T

Re: Creating a review with Python API

2013-05-28 Thread soorajchirag
n that we need to upgrade the server to ? Regards, Sundeep PS: Could you also please point me to the server code where this Content-type is being added for RootResource. On Monday, May 27, 2013 11:55:45 PM UTC+5:30, soorajchirag wrote: > > Hi Steven, > > I am attempting to get the rev

Re: Creating a review with Python API

2013-05-29 Thread soorajchirag
ed to upgrade the server >> to ? >> >> Regards, >> Sundeep >> >> PS: Could you also please point me to the server code where this >> Content-type is being added for RootResource. >> >> >> On Monday, May 27, 2013 11:55:45 PM UTC+5:30, soor