postreview.py

2011-09-19 Thread jack jack
Hi, my company using your RB since long time and they are very happy using the same. Presently we are using 1.0 RB server which i guess is absolute. But we are planning to upgrade stable release version of RB server, I guess 1.5.5. Please correct me if i am wrong or suggest if there is any other s

Re: postreview.py

2011-09-19 Thread Christian Hammond
Hi Jack, 1.6.1 is the latest stable. From our own tests, you should be able to upgrade, but it's possible you will hit issues. First, you will want to fully back up the database. Then you will want to rename your current site directory and make a new one in its place using rb-site. This is neede

Re: postreview.py

2011-09-19 Thread Nilesh Jaiswal
Thanks Christian, for the information that makes me feel good. Regards, Nilesh J On Tue, Sep 20, 2011 at 12:12 AM, Christian Hammond wrote: > Hi Jack, > > 1.6.1 is the latest stable. From our own tests, you should be able to > upgrade, but it's possible you will hit issues. > > First, you will w

Re: postreview.py

2011-09-19 Thread jack jack
Thanks. On Sep 19, 11:42 pm, Christian Hammond wrote: > Hi Jack, > > 1.6.1 is the latest stable. From our own tests, you should be able to > upgrade, but it's possible you will hit issues. > > First, you will want to fully back up the database. > > Then you will want to rename your current site d

Question about postreview.py get_repository_info

2011-01-11 Thread Dan
Hi Here I have a problem with postreview.py when publish a review request, could anyone please have a look? My enviroment is Reviewboard 1.5.1 and SVN. I downloaded postreview.py from https://github.com/reviewboard/rbtools/blob/184334a7a5ddc24172ae2aa0364f13aabe037470/rbtools/postreview.py, and

Re: Question about postreview.py get_repository_info

2011-01-12 Thread Dan
}, "name": "local-android" } } from the data structure of the json, we can see that use "url = rsp['links']['info']['href']" of course will get a array key exception. should use url = rsp['repository']['li

Re: Question about postreview.py get_repository_info

2011-01-12 Thread Dan
A more correct and readable json than last post, the indent for "name" in the last post is wrong. { "stat": "ok", "repository": { "path": "http://192.168.1.131/svn/Android";, "tool": "Subversion", "id": 2, "links": { "info": { "hre

Re: Question about postreview.py get_repository_info

2011-01-12 Thread Christian Hammond
t;            } >        }, >    "name": "local-android" >    } > } > > from the data structure of the json, we can see that use "url = > rsp['links']['info']['href']" of course will get a array key > exception. > sh

Re: Question about postreview.py get_repository_info

2011-01-13 Thread Dan
> >         }, > >     "name": "local-android" > >     } > > } > > > from the data structure of the json, we can see that use "url = > > rsp['links']['info']['href']" of course will get a arr

Re: Question about postreview.py get_repository_info

2011-01-13 Thread Christian Hammond
; 2/", >> >                 "method": >> >                 "GET" >> >             } >> >         }, >> >     "name": "local-android" >> >     } >> > } >> >> > from the dat

Re: Question about postreview.py get_repository_info

2011-01-13 Thread Dan
     "href": "http://192.168.1.131:81/api/repositories/ > >> > 2/", > >> >                 "method": > >> >                 "GET" > >> >             } > >> >         }, > >>

Re: Question about postreview.py get_repository_info

2011-01-13 Thread Dan
     "href": "http://192.168.1.131:81/api/repositories/ > >> > 2/", > >> >                 "method": > >> >                 "GET" > >> >             } > >> >         }, > >>

Re: Question about postreview.py get_repository_info

2011-01-13 Thread Dan
     "href": "http://192.168.1.131:81/api/repositories/ > >> > 2/", > >> >                 "method": > >> >                 "GET" > >> >             } > >> >         }, > >>

Re: Question about postreview.py get_repository_info

2011-01-13 Thread Dan
     "href": "http://192.168.1.131:81/api/repositories/ > >> > 2/", > >> >                 "method": > >> >                 "GET" > >> >             } > >> >         }, > >>

Re: Question about postreview.py get_repository_info

2011-01-13 Thread Dan
     "href": "http://192.168.1.131:81/api/repositories/ > >> > 2/", > >> >                 "method": > >> >                 "GET" > >> >             } > >> >         }, > >>

Re: Question about postreview.py get_repository_info

2011-01-13 Thread Christian Hammond
: "http://192.168.1.131:81/api/repositories/2/ >> >> > info/", >> >> >                 "method": "GET" >> >> >             }, >> >> >             "self": { >> >> >                 &qu

postreview.py exists with "invalid syntax" using Windows

2010-06-10 Thread LeChuck
Hi, I'm using Windows 7 and I wanted to experiment with postreview.py (reviewboard server is already up and running in an ubuntu virtualbox). So I've installed Python 3.1.2 for Windows. But now when I try to execute "python postreview" I'm getting a syntax error in line

Re: postreview.py exists with "invalid syntax" using Windows

2010-06-10 Thread Christian Hammond
Hi Markus, Python 3.x is very different from 2.x. We don't support it yet (nor does most of our dependencies). You should install 2.6. Christian On Thursday, June 10, 2010, LeChuck wrote: > Hi, > > I'm using Windows 7 and I wanted to experiment with postreview.py >

Re: postreview.py exists with "invalid syntax" using Windows

2010-06-11 Thread LeChuck
yet (nor > does most of our dependencies). You should install 2.6. > > Christian > > > > On Thursday, June 10, 2010, LeChuck wrote: > > Hi, > > > I'm using Windows 7 and I wanted to experiment with postreview.py > > (reviewboard server is already up a

Re: postreview.py exists with "invalid syntax" using Windows

2010-06-11 Thread Jan Koprowski
ery different from 2.x. We don't support it yet (nor > > does most of our dependencies). You should install 2.6. > > > Christian > > > On Thursday, June 10, 2010, LeChuck wrote: > > > Hi, > > > > I'm using Windows 7 and I wanted to exper

postreview.py failing with error message: Got API Error 218 (HTTP code 403): Unable to authenticate with the repository using the provided credentials

2011-10-11 Thread jack jack
Hi All, At last I was able to login into the Reviewbaord using LDAP Authentication user account, thanks Christian and Stephen for your valuable input you have extended toward me really appreciated. Now I tried to post a review request using RB tool, RBtool prompts me with username and password,

Re: postreview.py failing with error message: Got API Error 218 (HTTP code 403): Unable to authenticate with the repository using the provided credentials

2011-10-11 Thread Christian Hammond
There have been other people encountering this. Without an LDAP setup I can repro it with, someone else will have to do the work of figuring out where this is failing. That would mean adding logging to the LDAPBackend class, and possibly to djblets/webapi/auth.py. I'd love to get this fixed, but s

Re: postreview.py failing with error message: Got API Error 218 (HTTP code 403): Unable to authenticate with the repository using the provided credentials

2011-10-11 Thread jack jack
Thanks for the quick response. if you could guide me exactly where you would like to put logging on LDAPBackend class and djblets/webapi/auth.py i can do this for you and provide you with results. On Wed, Oct 12, 2011 at 11:12 AM, Christian Hammond wrote: > There have been other people encounter

Re: postreview.py failing with error message: Got API Error 218 (HTTP code 403): Unable to authenticate with the repository using the provided credentials

2011-10-11 Thread Christian Hammond
I don't have a list of lines. You'd have to trace yourself and try to narrow it down. If I knew where to put the logging statements, I'd have a better idea of what was wrong. All I can point you to is djblets/webapi/auth.py and reviewboard/accounts/backends.py. Christian -- Christian Hammond -

Re: postreview.py failing with error message: Got API Error 218 (HTTP code 403): Unable to authenticate with the repository using the provided credentials

2011-10-11 Thread jack jack
i have added the logging in the djblets/webapi/auth.py i would like to sent logging message to you in person.please share your personal mail id. On Wed, Oct 12, 2011 at 11:34 AM, Christian Hammond wrote: > I don't have a list of lines. You'd have to trace yourself and try to > narrow it down. If

Re: postreview.py failing with error message: Got API Error 218 (HTTP code 403): Unable to authenticate with the repository using the provided credentials

2011-10-12 Thread jack jack
This seems to be blocker !! can somebody look into this...this will really help us On Wed, Oct 12, 2011 at 12:37 PM, jack jack wrote: > The host from where i post reviewrequest the file > ~/.post-review-cookies.txt does not contain any RB site name or rbsessionid > etc is this something related