Hi,
I'm trying to setup a new ReviewBoard 2.0.2 server on a Ubuntu host using a
Perforce repository. I believe I have followed all the instructions for the
installation of ReviewBoard but I get an error when I attempt to post a
review to the RB server. The debug log of rbt post is below:
$ rbt post --debug --server =http://srv-team-web2...removed.../rbsite2
--username removed --password removed 2973451
RBTools 0.6.1
Python 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3]
Running on Linux-3.2.0-58-generic-x86_64-with-Ubuntu-12.04-precise
Home = /home/spm
Current directory =
/home/spm/sperf/powervr/swgraphics/rogueddk/DEV/SERVICES
Checking for a Subversion repository...
Unable to execute svn help: skipping SVN
Checking for a Git repository...
Running: git rev-parse --git-dir
Command exited with rc 128: ['git', 'rev-parse', '--git-dir']
fatal: Not a git repository (or any of the parent directories): .git
---
Checking for a Mercurial repository...
Unable to execute hg --help: skipping Mercurial
Checking for a CVS repository...
Unable to execute cvs: skipping CVS
Checking for a Perforce repository...
Running: p4 info
Running: diff --version
repository info: Path: ['klperforce:1666',
'klperforce.kl.imgtec.org:1666'], Base path: None, Supports changesets: True
Making HTTP GET request to
http://srv-team-web2.kl.imgtec.org/rbsite2/api/
Got HTTP error: 400: h1Bad Request (400)/h1
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
/usr/local/lib/python2.7/dist-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
/usr/local/lib/python2.7/dist-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
/usr/local/lib/python2.7/dist-packages/RBTools-0.6.1-py2.7.egg/rbtools/commands/post.py,
line 706, in main
api_client, api_root = self.get_api(server_url)
File
/usr/local/lib/python2.7/dist-packages/RBTools-0.6.1-py2.7.egg/rbtools/commands/__init__.py,
line 563, in get_api
raise CommandError(Unexpected API Error: %s % e)
rbtools.commands.CommandError: Unexpected API Error: HTTP 400
The RB server log (Debug) does not show any issues, neither do the apached
logs.
I've setup and used a RB 1.6.x server in the past and don't remember seeing
this kind of error. Any help would be greatly appreciated.
Cheers,
Stephen.
--
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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.