On 3 Jun., 10:48, Christian Hammond <chip...@chipx86.com> wrote: > The value passed to --server must be a full URL, not just a file path.
Thanks, Christian, using --server=http://testsrv/reviews actually helped. But I still wonder why the incomplete URL "testsrv/reviews" is then expanded to http://testsrv/reviews/testsrv/reviews/ - it seems http://testsrv/reviews is prepended, but where does it get this URL from? Also, where is the problem with the rc-file shown below (from my original posting): [joac...@testsrv perf]$ cat ~/.reviewboardrc REVIEWBOARD_URL=http://testsrv/reviews [joac...@testsrv perf]$ post-review -d Syntax error in config file: /home/joachim/.reviewboardrc Line 1 offset 21 [...] > > [joac...@testsrv perf]$ post-review -d --server=testsrv/reviews [...] > > >>> Logging in with username "joachim" > > >>> HTTP POSTing to > >http://testsrv/reviews/testsrv/reviews/api/json/accounts/login/: > > {'username': 'joachim', 'password': '**************'} > > > >>> Got HTTP error: 404: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 > > Transitional//EN" > > > Obviously, the URL is incorrect: the server string "testsrv/reviews" > > is repeated. -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en