I got working by adding: os.environ['P4USER'] = "xxxx" to reviewboard.wsgi
On Wednesday, June 11, 2014 3:47:30 PM UTC-4, Diego Velasquez wrote: > > Hello, > > I set up review board in my Ubuntu VM with success I can see the review > board administration from my local machine(Mac OS). We use perforce for our > development, when I try to post a review trough a terminal but I got the > following error: > > rbt post -o -d --p4-port $P4PORT CLNUMBER > > >>> Making HTTP GET request to http://17.104.186.5/api/review-requests/ > >>> Making HTTP POST request to http://17.104.186.5/api/review-requests/ > >>> Got API Error 218 (HTTP code 403): Unable to authenticate with the > repository using the provided credentials. > >>> Error data: {u'stat': u'fail', u'err': {u'msg': u'Unable to > authenticate with the repository using the provided credentials.', u'code': > 218}} > Traceback (most recent call last): > File "/usr/local/bin/rbt", line 9, in <module> > load_entry_point('RBTools==0.6.1', 'console_scripts', 'rbt')() > File > "/Library/Python/2.7/site-packages/RBTools-0.6.1-py2.7.egg/rbtools/commands/main.py", > > line 134, in main > command.run_from_argv([RB_MAIN, command_name] + args) > File > "/Library/Python/2.7/site-packages/RBTools-0.6.1-py2.7.egg/rbtools/commands/__init__.py", > > line 416, in run_from_argv > exit_code = self.main(*args) or 0 > File > "/Library/Python/2.7/site-packages/RBTools-0.6.1-py2.7.egg/rbtools/commands/post.py", > > line 784, in main > submit_as=self.options.submit_as) > File > "/Library/Python/2.7/site-packages/RBTools-0.6.1-py2.7.egg/rbtools/commands/post.py", > > line 507, in post_request > raise CommandError("Error creating review request: %s" % e) > rbtools.commands.CommandError: Error creating review request: Unable to > authenticate with the repository using the provided credentials. (HTTP 403, > API Error 218) > > > I created the repository using my credentials so I know that the > credentials in the server are fine. I don't have access to the whole > repository, but I do have access to the files that will be use for review > board. > > Did I miss anything in the server side? > > Thanks, > -Diego > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
