Not sure what has changed in our configuration or repository that could be the problem. We have been using reviewboard for a couple of years. In the past couple of days, "rbt post" is failing for multiple users with:
rbtools.commands.CommandError: Error validating diff The specified diff file could not be parsed. (HTTP 400, API Error 224) I used --debug and got this detail, with certain fields obfuscated: $ rbt post --debug --tracking-branch=origin/myTrackingBranch >>> RBTools 0.7.4 >>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] >>> Running on Windows-7-6.1.7601-SP1 >>> Home = C:\Users\myUserName\AppData\Roaming >>> Current directory = C:\myDirectory >>> Running: git version >>> Checking for a Subversion repository... >>> Unable to execute "svn help": skipping SVN >>> 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.myBranchName.merge >>> Command exited with rc 1: ['git', 'config', '--get', u'branch.myBranchName.merge'] --- >>> Running: git config --get branch.myBranchName.remote >>> Command exited with rc 1: ['git', 'config', '--get', u'branch.myBranchName.remote'] --- >>> Running: git config --get remote.origin.url >>> repository info: Path: https://myUserName@myGitServer/bitbucket/scm/myRepository.git, Base path: , Supports changesets: False >>> Making HTTP GET request to http://myReviewBoardServer/api/ >>> Running: git rev-parse refs/heads/myBranchName >>> Running: git merge-base 71f1767180902f1cf6b3defbc8d5a9869576bf25 origin/myTrackingBranch >>> Running: git rev-parse 2250f117eedb858afeaf824e2c45b22246a1d2fa >>> Running: git status --porcelain --untracked-files=no >>> Running: git rev-parse --git-dir >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules -M --no-ext-diff 2250f117eedb858afeaf824e2c45b22246a1d2fa..71f1767180902f1cf6b3defbc8d5a9869576bf25 >>> Making HTTP GET request to http://myReviewBoardServer/api/validation/diffs/ >>> Cached response for HTTP GET http://myReviewBoardServer/api/validation/diffs/ expired and was modified >>> Making HTTP POST request to http://myReviewBoardServer/api/validation/diffs/ >>> Got API Error 224 (HTTP code 400): The specified diff file could not be parsed. >>> Error data: {u'stat': u'fail', u'reason': u'fatal: git cat-file: could not get object info\n', u'err': {u'msg': u'The specified diff file could not be parsed.', u'code': 224}} Traceback (most recent call last): File "C:/tools/RBTools/bin/../Python27/Scripts/rbt-script.py", line 8, in <module> load_entry_point('RBTools==0.7.4', 'console_scripts', 'rbt')() File "C:\tools\RBTools\Python27\lib\site-packages\rbtools-0.7.4-py2.7.egg\rbtools\commands\main.py", line 133, in main command.run_from_argv([RB_MAIN, command_name] + args) File "C:\tools\RBTools\Python27\lib\site-packages\rbtools-0.7.4-py2.7.egg\rbtools\commands\__init__.py", line 612, in run_from_argv exit_code = self.main(*args) or 0 File "C:\tools\RBTools\Python27\lib\site-packages\rbtools-0.7.4-py2.7.egg\rbtools\commands\post.py", line 754, in main (msg_prefix, e)) rbtools.commands.CommandError: Error validating diff The specified diff file could not be parsed. (HTTP 400, API Error 224) Can anyone help with this error? -- 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 "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.