Hi,
When I try to generate a code review for a certain branch I get this error, 
for other branches I don't. 

>>> RBTools 0.7.5
>>> Python 2.7.11 (default, Jan 22 2016, 08:29:18)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)]
>>> Running on Darwin-15.3.0-x86_64-i386-64bit
>>> Home = /Users/SA
>>> Current directory = /Users/SA/src/sapi
>>> Checking for a Subversion repository...
>>> Running: svn --non-interactive info /var/www/html/rb01/data/repositories
/sapi/.git
>>> Command exited with rc 1: ['svn', '--non-interactive', u'info', 
'/var/www/html/rb01/data/repositories/sapi/.git']
svn: E155007: '/var/www/html/rb01/data/repositories/sapi/.git' is not a 
working copy
---
>>> 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 ***.merge
>>> Running: git config --get ***.remote
>>> Running: git config --get remote.origin.url
>>> repository info: Path: /var/www/html/rb01/data/repositories/sapi/.git, 
Base path: , Supports changesets: False
>>> Making HTTP GET request to ***
>>> Running: git rev-parse refs/heads/****
>>> Running: git merge-base 525bf401c19ea8da6872fe3c39cadd56084dae07 
origin/master
>>> Running: git rev-parse 156168eb97cd9d4bc0eff74d70e68438e81aa8c9
>>> Running: git status --porcelain --untracked-files=no
>>> Running: git rev-parse --git-dir
>>> Running: git version
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules -M --no-ext-diff 
156168eb97cd9d4bc0eff74d70e68438e81aa8c9..525bf401c19ea8da6872fe3c39cadd56084dae07
>>> Making HTTP GET request to ***/validation/diffs/
>>> Cached response for HTTP GET *****/validation/diffs/ expired and was 
modified
>>> Making HTTP POST request to *****/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'error: unable to find 
036dc4f9209437e7d28b4fd12e561d8e43f5b618\nfatal: git cat-file 
036dc4f9209437e7d28b4fd12e561d8e43f5b618: bad file\n', u'err': {u'msg': u'The 
specified diff file could not be parsed.', u'code': 224}}
Traceback (most recent call last):
  File "/usr/local/bin/rbt", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/rbtools/commands/main.py", 
line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File "/usr/local/lib/python2.7/site-packages/rbtools/commands/__init__.py"
, line 622, in run_from_argv
    exit_code = self.main(*args) or 0
  File "/usr/local/lib/python2.7/site-packages/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)

System info: OSX 10.11.3 | RBTools 0.7.5 |Python 2.7.11.
ReviewBoard: 2.5.2.

-- 
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.

Reply via email to