I have RBT version: RBTools 4.1 (Python 3.10.12) mandag den 18. marts 2024 kl. 14.26.43 UTC+1 skrev Lasse Bonner:
> Hello, I get this error: > CRITICAL: This ValidateDiffCommitResource does not have an attribute > "validation_info". > when trying to run *rbt post*. > > Here is my -d log of the same call > >>> RBTools 4.1 > >>> Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] > >>> Running on Linux-6.5.0-25-generic-x86_64-with-glibc2.35 > >>> Home = /home/xxx > >>> Current directory = /home/xxxx > >>> Command line: rbt post --tracking-branch=pre_production -d > >>> Making HTTP GET request to https://rb.envision-gic.com/api/ > >>> [scan] Checking for available SCMs for /home/xxxx... > >>> [scan] Only considering the following types of repositories: git > >>> [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] SCM scan complete. Found git (/home/xxx) > >>> [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 remote.pre_production.url > >>> Command errored with rc=1: git config --get remote.pre_production.url > >>> Command stdout=b'' > >>> Command stderr=b'' > >>> [scan] Successfully found repository information: > <RepositoryInfo(path='/home/xxxx/.git', base_path='', > local_path='/home/xxx')> > >>> Making HTTP GET request to > http://rb.envision-gic.com/api/repositories/?name=xxxx&only-fields=id%2Cname%2Cmirror_path%2Cpath&only-links=info&tool=Git%2CPerforce%2CSubversion > >>> Cached response for HTTP GET > http://rb.envision-gic.com/api/repositories/?name=xxxx&only-fields=id%2Cname%2Cmirror_path%2Cpath&only-links=info&tool=Git%2CPerforce%2CSubversion > > expired and was modified > >>> Making HTTP GET request to > http://rb.envision-gic.com/api/repositories/1/info/ > >>> Got API Error 209 (HTTP code 501): The specified repository is not > able to perform this action. > >>> Error data: {'err': {'code': 209, 'msg': 'The specified repository is > not able to perform this action.', 'type': > 'repository-request-not-supported'}, 'stat': 'fail'} > >>> Running: git rev-parse refs/heads/test/test > >>> Running: git branch --remotes > >>> Running: git config --get branch.pre_production.remote > >>> Running: git rev-parse pre_production > >>> Running: git rev-list 602f7ef211d2c928452c82c8be012707482277af --not > --remotes=origin > >>> Running: git status --porcelain --untracked-files=no > --ignore-submodules=dirty > >>> 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 > 602f7ef211d2c928452c82c8be012707482277af..e4a689de8a8cbf4a1e8e4a859dd852e835fa1db5 > >>> 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 > 602f7ef211d2c928452c82c8be012707482277af..e4a689de8a8cbf4a1e8e4a859dd852e835fa1db5 > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > b06cc5c1db0890d398201c388563acbe9ec465d8..e4a689de8a8cbf4a1e8e4a859dd852e835fa1db5 > >>> Making HTTP GET request to > http://rb.envision-gic.com/api/validation/commits/ > >>> Cached response for HTTP GET > http://rb.envision-gic.com/api/validation/commits/ expired and was > modified > Validating commits... > [0/1]>>> Making HTTP POST request to > http://rb.envision-gic.com/api/validation/commits/ > Validating commits... > [0/1] > Traceback (most recent call last): > File > "/home/xxxx/.local/lib/python3.10/site-packages/rbtools/api/resource.py", > line 848, in __getattr__ > field_payload = self._fields[name] > KeyError: 'validation_info' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/home/xxx/.local/bin/rbt", line 8, in <module> > sys.exit(main()) > File > "/home/xxxx/.local/lib/python3.10/site-packages/rbtools/commands/main.py", > line 207, in main > command.run_from_argv([RB_MAIN, command_name] + args) > File > "/home/xxxx/.local/lib/python3.10/site-packages/rbtools/commands/__init__.py", > > line 1118, in run_from_argv > exit_code = self.main(*args) or 0 > File > "/home/xxxx/.local/lib/python3.10/site-packages/rbtools/commands/post.py", > line 957, in main > diff_history = self._validate_diff_history(diff_history) > File > "/home/xxxx/.local/lib/python3.10/site-packages/rbtools/commands/post.py", > line 1594, in _validate_diff_history > validation_info = validation_rsp.validation_info > File > "/home/xxxx/.local/lib/python3.10/site-packages/rbtools/api/resource.py", > line 850, in __getattr__ > raise AttributeError('This %s does not have an attribute "%s".' > AttributeError: This ValidateDiffCommitResource does not have an attribute > "validation_info". > -- 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 reviewboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/be0e4c9a-0d7f-4e45-83b6-5a3a427b8846n%40googlegroups.com.