I am running ReviewBoard on localhost via BitNami. I am using a local 
bazaar repository on the C: Drive. When I try to post using the command 
below, I get an error. I discovered this only occurs when the current 
revision contains an edit of an exist file. If the revision is just newly 
added files, the command works. I am using RBTools 0.7.4. I have tried this 
with 0.7.6 and get the same results.

rbt post command:
rbt post --server=http://localhost/reviewboard -p --guess-fields=yes 
--repository-type=bazaar --repository-url=file://C:\TheRBRepo\TheBranch -d 

>>> RBTools 0.7.4
>>> Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel
>>> Running on Windows-7-6.1.7601-SP1
>>> Home = C:\Users\gkotas\AppData\Roaming
>>> Current directory = C:\TheRBRepo\TheBranch
>>> Running: git version
>>> Checking for a Bazaar repository...
>>> Running: bzr info
>>> repository info: Path: C:\TheRBRepo\TheBranch, Base path: /, Supports 
sets: False
>>> Making HTTP GET request to http://localhost/reviewboard/api/
>>> Running: bzr revno -r before:13
>>> Running: bzr revno -r 13
>>> Running: bzr info
>>> repository info: Path: C:\TheRBRepo\TheBranch, Base path: /, Supports 
sets: False
>>> Running: bzr diff -q -r revno:12..revno:13
>>> Command exited with rc 1: [u'bzr', u'diff', u'-q', u'-r', 
>>> Making HTTP GET request to http://localhost/reviewboard/api/validation/
>>> Cached response for HTTP GET http:
fs/ expired and was modified
>>> Making HTTP POST request to 
>>> Got API Error 224 (HTTP code 400): The specified diff file could not be 
>>> Error data: {u'stat': u'fail', u'reason': u'Not a branch: 
/branch/": location is a repository.', u'err': {u'msg': u'The specified 
diff fil
e could not be parsed.', u'code': 224}}
Traceback (most recent call last):
 File "C:\Bitnami\reviewboard-2.5-0\python\Scripts\rbt-script.py", line 9, 
in <
   load_entry_point('rbtools==0.7.4', 'console_scripts', 'rbt')()
7.egg\rbtools\commands\main.py", line 133, in main
   command.run_from_argv([RB_MAIN, command_name] + args)
7.egg\rbtools\commands\__init__.py", line 612, in run_from_argv
   exit_code = self.main(*args) or 0
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)

Supercharge your Review Board with Power Pack: 
Want us to host Review Board for you? Check out RBCommons: 
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