Hi ,

I was trying to submit a patch to the review board (https://reviews.apache.org 
) in the below mentioned way-

post-review   --username=pranavs --password=abcdefgh  --guess-summary 
CS-13738:Some issue   --guess-description changed the Api

But I  was not successful as it threw a  HTTP 404 exception.  I tried to do 
some work around like the modifying the login url in the python script 
(postreview.py present here " /usr/share/pyshared/rbtools/postreview.py"  )
/*
try:
            print('Logging in with above credentials');
            self.api_post('json/account/login', {                             
// This was  -     api/json/accounts/login by default.
                'username': username,
                'password': password,
            })
        except APIError, e:
            die("Unable to log in: %s" % e)

debug("Logged in.")
*/

Is anybody aware of this issue ? Is there some other workaround for handling 
this issue ? Any sort of suggestions are most welcome.

Thanks & Regards,
Pranav

Reply via email to