4560: RBTools setup fails

aeinsman

What version are you running?

RBTools 0.7.10
Python 2.7.5 (default, Oct 11 2015, 17:47:16)
GCC 4.8.3 20140911 (Red Hat 4.8.3-9)
Running on Linux-3.10.0-327.10.1.el7.x86_64-x86_64-with-redhat-7.2-Maipo
reviewboard-2.5.10-1

What's the URL of the page containing the problem?

http://127.0.0.1/reviewboard/api/repositories/1/info/

What steps will reproduce the problem?

  1. Installed reviewboard using the bitnami installer
  2. configure clearcase as VCS
  3. Install RBTTools and then run rbt setup-repo -d on command line

What is the expected output? What do you see instead?

I do not exactly know what the correct output should be as this has never worked. I do not think that it should be an error though. Here is what I see:

RBTools 0.7.10
Python 2.7.5 (default, Oct 11 2015, 17:47:16)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]
Running on Linux-3.10.0-327.10.1.el7.x86_64-x86_64-with-redhat-7.2-Maipo
Home = /user/swtech
Current directory = /cm_data/swt
Command line: rbt setup-repo -d
Enter the Review Board server URL: http://127.0.0.1/reviewboard/
Running: tf vc help
Checking for a Subversion repository...
Running: svn --non-interactive info
Command exited with rc 1: ['svn', '--non-interactive', u'info']
svn: E155007: '/cm_data/swt' is not a working copy


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 parent up to mount point /cm_data/swt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).


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...
Unable to execute "p4 help": skipping Perforce
Checking for a Plastic repository...
Unable to execute "cm version": skipping Plastic
Checking for a ClearCase repository...
Running: cleartool pwv -short
Running: diff --version
Running: cleartool lsview -full -properties -cview
Running: cleartool describe -short vob:.
Running: cleartool pwv -root
repository info: Path: /cm_data/swt, Base path: /cm_data/swt, Supports changesets: False
Making HTTP GET request to http://127.0.0.1/reviewboard/api/
API cache "/user/swtech/.cache/rbtools/apicache.db" does not exist; creating.
Running: cleartool lsvob -long /cm_data/swt
Repository's /cm_data/swt uuid is u'deaa9515.535411d8.b660.00:01:80:9d:57:b3'
Making HTTP GET request to http://127.0.0.1/reviewboard/api/repositories/?tool=ClearCase
Added cache entry for HTTP GET request to http://127.0.0.1/reviewboard/api/repositories/?tool=ClearCase
Making HTTP GET request to http://127.0.0.1/reviewboard/api/repositories/1/info/
Got API Error 210 (HTTP code 500): There was an error fetching extended information for this repository.
Error data: {u'stat': u'fail', u'err': {u'msg': u'There was an error fetching extended information for this repository.', u'code': 210}}
Traceback (most recent call last):
File "/usr/bin/rbt", line 9, in <module>
load_entry_point('RBTools==0.7.10', 'console_scripts', 'rbt')()
File "/usr/lib/python2.7/site-packages/rbtools/commands/main.py", line 133, in main
command.run_from_argv([RB_MAIN, command_name] + args)
File "/usr/lib/python2.7/site-packages/rbtools/commands/init.py", line 663, in run_from_argv
exit_code = self.main(*args) or 0
File "/usr/lib/python2.7/site-packages/rbtools/commands/setup_repo.py", line 109, in main
repository_info = repository_info.find_server_repository_info(api_root)
File "/usr/lib/python2.7/site-packages/rbtools/clients/clearcase.py", line 986, in find_server_repository_info
if parse_version(server.rb_version) >= parse_version('1.5.3'):
File "/usr/lib/python2.7/site-packages/rbtools/api/resource.py", line 301, in getattr
raise AttributeError
AttributeError

What operating system are you using? What browser?

RHEL 7.2 with Crome browser

Please provide any additional information below.

david
#1 david

I know it's been a while, but can you check the Review Board log to see if there's anything there? It looks like the repository may not be configured correctly on the server.

  • -New
    +NeedInfo
  • -RBTools setup fails
    +RBTools setup fails
david
#2 david
  • -NeedInfo
    +Incomplete