C:\Users\hongyver.INCA\Desktop\ubuntu\test>rbt setup-repo -d
>>> RBTools 5.0
>>> Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
>>> Running on Windows-10-10.0.22631-SP0
>>> Home = C:\Users\hongyver.INCA\AppData\Roaming
>>> Current directory = C:\Users\hongyver.INCA\Desktop\ubuntu\test
>>> Command line: rbt setup-repo -d
This command is intended to help users create a .reviewboardrc file in the current
directory to connect a repository and Review Board server.
Repositories must currently exist on your server (either hosted
internally or via RBCommons) to successfully generate this file.
Repositories can be added using the Admin Dashboard in Review Board or
under your team administration settings in RBCommons.
Press CTRL + C anytime during this command to cancel generating your
config file.
Enter the Review Board server URL:
http://10.10.110.245:81>>> Making HTTP GET request to
http://10.10.110.245:81/api/>>> Cached response for HTTP GET
http://10.10.110.245:81/api/ expired and was not modified
>>> [scan] Checking for available SCMs for C:\Users\hongyver.INCA\Desktop\ubuntu\test...
>>> [scan] Considering all repository types
>>> [scan] Skipping Bazaar: Command line tools (one of ('brz', 'bzr')) are missing.
>>> [scan] Skipping VersionVault / ClearCase: Command line tools ('cleartool') are missing.
>>> [scan] Skipping CVS: Command line tools ('cvs') are missing.
>>> [scan] Checking for a Git repository...
>>> Running: git rev-parse --git-dir
>>> Running: git config --get core.bare
>>> Running: git rev-parse --show-toplevel
>>> [scan] Skipping Mercurial: Command line tools ('hg') are missing.
>>> [scan] Skipping Perforce: Command line tools ('p4') are missing.
>>> [scan] Skipping Plastic: Command line tools ('cm') are missing.
>>> [scan] Skipping Cliosoft SOS: Command line tools ('soscmd') are missing.
>>> [scan] Checking for a Subversion repository...
>>> Running: svn --non-interactive info
>>> Command exited with rc=1 (errors ignored): svn --non-interactive info
>>> Command stdout=b''
>>> Command stderr=b"svn: E155007: 'C:\\Users\\hongyver.INCA\\Desktop\\ubuntu\\test' is not a working copy\r\n"
>>> Running: tf vc help
>>> Command not found (tf vc help)
>>> [scan] Skipping Team Foundation Server: Command line tools (one of ('VS2017+ tf', 'Team Explorer Everywhere tf.cmd', 'Our wrapper (rbt install tfs)')) are missing.
>>> [scan] SCM scan complete. Found git (C:\Users\hongyver.INCA\Desktop\ubuntu\test)
>>> [scan] Verifying repository information...
>>> Running: git rev-parse --git-dir
>>> Running: git config --get core.bare
>>> Running: git rev-parse --show-toplevel
>>> Running: git symbolic-ref -q HEAD
>>> Running: git show-ref --verify refs/remotes/p4/master
>>> Command errored with rc=128: git show-ref --verify refs/remotes/p4/master
>>> Command stdout=b''
>>> Command stderr=b"fatal: 'refs/remotes/p4/master' - not a valid ref\n"
>>> Running: git config --get branch.main.merge
>>> Running: git config --get branch.main.remote
>>> Running: git config --get remote.origin.url
>>> [scan] Successfully found repository information: <RepositoryInfo(path='
http://10.10.110.245/root/test.git', base_path='', local_path='C:\\Users\\hongyver.INCA\\Desktop\\ubuntu\\test')>
>>> Making HTTP GET request to
http://10.10.110.245/api/repositories/?only-fields=id%2Cname%2Cmirror_path%2Cpath&only-links=info%2Cdiff_file_attachments&path=http%3A%2F%2F10.10.110.245%2Froot%2Ftest.git&tool=Git%2CPerforce%2CSubversion%2CTeam+Foundation+Server+%28git%29>>> Cached response for HTTP GET
http://10.10.110.245/api/repositories/?only-fields=id%2Cname%2Cmirror_path%2Cpath&only-links=info%2Cdiff_file_attachments&path=http%3A%2F%2F10.10.110.245%2Froot%2Ftest.git&tool=Git%2CPerforce%2CSubversion%2CTeam+Foundation+Server+%28git%29 expired and was modified
Traceback (most recent call last):
File "C:\Program Files\RBTools\Python\lib\site-packages\rbtools-5.0-py3.10.egg\rbtools\api\resource.py", line 809, in __getattr__
field_payload = self._fields[name]
KeyError: 'total_results'