Hi David, thanks for having interest in my problem.
~/comboard/chargingd (feature/dbus-api %)$ rbt post --debug
master..feature/dbus-api
>>> RBTools 2.0
>>> Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0]
>>> Running on Linux-4.19.0-17-amd64-x86_64-with-debian-10.10
>>> Home = /home/silonp
>>> Current directory = /home/silonp/comboard/chargingd
>>> Command line: rbt post --debug master..feature/dbus-api
>>> Running: tf vc help
>>> Checking for a Git repository...
>>> Running: git rev-parse --git-dir
>>> Running: git config core.bare
>>> Running: git rev-parse --show-toplevel
>>> Running: git symbolic-ref -q HEAD
>>> Running: git config --get branch.feature/dbus-api.merge
>>> Running: git config --get branch.feature/dbus-api.remote
>>> Running: git config --get remote.origin.url
>>> Repository info: Path: gitolite3@git-nur:ccb/chargingd, Base path: ,
Supports changesets: False
>>> Making HTTP GET request to http://wskkosd002.global.web-int.net/api/
>>> Running: git rev-parse master..feature/dbus-api
>>> Running: git config --get branch.feature/dbus-api.merge
>>> Running: git config --get branch.feature/dbus-api.remote
>>> Running: git branch --remotes
>>> Running: git rev-list d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb --not
--remotes=origin
>>> Running: git log -z --reverse
--pretty=format:%H%x1f%P%x1f%an%x1f%ae%x1f%ad%x1f%cn%x1f%ce%x1f%cd%x1f%B
--date=iso8601-strict
d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..ebcaa0ae6ae924ab87571d91282452fc831ac4c7
>>> Running: git version
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..ebcaa0ae6ae924ab87571d91282452fc831ac4c7
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
d6baa0ff1a964b3c08d31c223ac2fd61a87adeeb..199f1f3489546817036d23b2d95ae33dbd4ad2a8
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
199f1f3489546817036d23b2d95ae33dbd4ad2a8..e58cf25349c7d4abea5d68ff4004c5edf8e01184
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
e58cf25349c7d4abea5d68ff4004c5edf8e01184..83a9f02406d91e1cbbd16e0d24d456e504ffc6e7
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
83a9f02406d91e1cbbd16e0d24d456e504ffc6e7..38d453a5d3a2af7c3ab056350f8cad7e4e6e9b61
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
38d453a5d3a2af7c3ab056350f8cad7e4e6e9b61..1cb44afff5e4b41721707a86bc4a49eb622d6be2
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
1cb44afff5e4b41721707a86bc4a49eb622d6be2..52bd4c6f378519b2c701e31296bb4484415d1331
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
52bd4c6f378519b2c701e31296bb4484415d1331..843084c2846318de078f662cf0325cd626322044
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
843084c2846318de078f662cf0325cd626322044..0443f19bbcae4bd3cfe8a3a71964b050e984dca3
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
0443f19bbcae4bd3cfe8a3a71964b050e984dca3..90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a..7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4..18504e19da0391ab4e14812a7c0f51c2a3c98e90
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
18504e19da0391ab4e14812a7c0f51c2a3c98e90..8b8fe13453ed5084b259a640247a6c173d03374e
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
8b8fe13453ed5084b259a640247a6c173d03374e..5c21e1650db79d709fd37e96650a7cb2871495db
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
5c21e1650db79d709fd37e96650a7cb2871495db..865b13f7e56526ca9a52e647cf82bc73fa334115
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
865b13f7e56526ca9a52e647cf82bc73fa334115..19944afa1345cbb37295db1a4260d46164c78a57
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
19944afa1345cbb37295db1a4260d46164c78a57..da70b0d964cc3ba22ea0d4d8ccfdc244828bf05f
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
da70b0d964cc3ba22ea0d4d8ccfdc244828bf05f..537dd7be8294b83bcf2115dd0aa725509059ebba
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
537dd7be8294b83bcf2115dd0aa725509059ebba..fe40f458e179ca0bdeb0c1ffa61ee0a737a58b9c
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
fe40f458e179ca0bdeb0c1ffa61ee0a737a58b9c..034906e446b84c0bc7ca2309ef7659a46ca6c98f
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
034906e446b84c0bc7ca2309ef7659a46ca6c98f..b5c23f275abb95457bb987f8267c6092bec3c4b9
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
b5c23f275abb95457bb987f8267c6092bec3c4b9..d1aaf33e0fca39dec25ee980520ae35e8d95f5f5
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
d1aaf33e0fca39dec25ee980520ae35e8d95f5f5..11b904304663d1e4cd370dfaeca3ed5818dedb43
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
--no-color --full-index --ignore-submodules --find-renames --no-ext-diff
11b904304663d1e4cd370dfaeca3ed5818dedb43..ebcaa0ae6ae924ab87571d91282452fc831ac4c7
>>> Making HTTP GET request to
http://wskkosd002.global.web-int.net/api/validation/commits/
>>> HTTP GET request to
http://wskkosd002.global.web-int.net/api/validation/commits/ cannot be
cached
Validating commits...
[0/23]>>> Making HTTP POST request to
http://wskkosd002.global.web-int.net/api/validation/commits/
>>> Got API Error 224 (HTTP code 400): fatal: not a git repository: 'None'
>>> Error data: {'err': {'code': 224, 'msg': "fatal: not a git repository:
'None'\n"}, 'stat': 'fail'}
Validating commits...
[0/23]
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/rbtools/api/request.py",
line 813, in make_request
request.url, body, headers, request.method))
File "/usr/local/lib/python3.7/dist-packages/rbtools/api/cache.py", line
209, in make_request
return self.urlopen(request)
File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/local/lib/python3.7/dist-packages/rbtools/api/request.py",
line 361, in http_response
response.info())
File "/usr/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 649, in
http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/rbtools/commands/post.py",
line 1085, in main
diff_history)
File "/usr/local/lib/python3.7/dist-packages/rbtools/commands/post.py",
line 1503, in _validate_diff_history
validation_info=validation_info)
File "/usr/local/lib/python3.7/dist-packages/rbtools/api/decorators.py",
line 27, in request_method
*args, **kwargs)
File
"/usr/local/lib/python3.7/dist-packages/rbtools/api/transport/sync.py",
line 82, in execute_request_method
return self._execute_request(request)
File
"/usr/local/lib/python3.7/dist-packages/rbtools/api/transport/sync.py",
line 91, in _execute_request
rsp = self.server.make_request(request)
File "/usr/local/lib/python3.7/dist-packages/rbtools/api/request.py",
line 815, in make_request
self.process_error(e.code, e.read())
File "/usr/local/lib/python3.7/dist-packages/rbtools/api/request.py",
line 789, in process_error
rsp['err']['msg'])
rbtools.api.errors.BadRequestError: fatal: not a git repository: 'None'
(HTTP 400, API Error 224)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/rbt", line 10, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/rbtools/commands/main.py",
line 124, in main
command.run_from_argv([RB_MAIN, command_name] + args)
File
"/usr/local/lib/python3.7/dist-packages/rbtools/commands/__init__.py", line
770, in run_from_argv
exit_code = self.main(*args) or 0
File "/usr/local/lib/python3.7/dist-packages/rbtools/commands/post.py",
line 1093, in main
% (msg_prefix, e))
rbtools.commands.CommandError: Error validating diff
fatal: not a git repository: 'None'
(HTTP 400, API Error 224)
[image: rb_repo_config.png]
Peter.
Dátum: streda 7. júla 2021, čas: 18:25:02 UTC+2, odosielateľ: David
Trowbridge
> Hi,
>
> Would you mind running your rbt command with --debug and including the
> output?
> Can you share how the repository is configured in the Review Board admin
> site?
>
> David
>
> On Wed, Jul 7, 2021 at 8:01 AM Peter Šilon <[email protected]> wrote:
>
>> My .reviewboardrc. RB version 4.0.3
>>
>> REVIEWBOARD_URL = "http://wskkosd002.global.web-int.net/"
>> REPOSITORY = "chargingd"
>> REPOSITORY_TYPE = "git"
>> BRANCH = "master"
>> LAND_DEST_BRANCH = "master"
>>
>> When I try to post a review I get an error.
>>
>> rbt post master..feature/dbus-api
>> Validating commits...
>> [0/23]
>> ERROR: Error validating diff
>>
>> fatal: not a git repository: 'None'
>> (HTTP 400, API Error 224)
>>
>> Repository exists. My .reviewboardrc was completely generated by rbt
>> setup-repo.
>>
>> With NO-EXISTENT Git repo I get this:
>>
>> rbt post --repository=AAA master..feature/dbus-api
>> Validating commits...
>> [0/23]
>> ERROR: Error validating diff
>>
>> The repository path specified is not in the list of known repositories.
>> (HTTP 400, API Error 206)
>>
>> Any help please? I'm slowly giving up on RB.
>>
>> Peter.
>>
>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/reviewboard/2422fe6c-280f-4228-bea4-a4445989479dn%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/reviewboard/2422fe6c-280f-4228-bea4-a4445989479dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
Supercharge your Review Board with Power Pack:
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons:
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/reviewboard/6b262a82-2e9e-468a-8373-31168819030bn%40googlegroups.com.