It seems to be the 'Summary' and 'Description' problem. The last review request is created on the web. The other requests are created by RBTools.
<https://lh3.googleusercontent.com/-Codu6bt2ZWE/WDabTO4Hn2I/AAAAAAAAAYQ/LSMdpi6YUBsXGcVPcU12VbtgE35mD-0SwCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161124154327.png> On Wednesday, November 23, 2016 at 5:29:29 PM UTC+8, Hansen Gao wrote: > > I am trying to auto generate ReviewBoard post review request for svn. > Our code encoding is utf-8. Does any one know how to set the RBTools > encoding? > > neohope@debian8:~/repository/REPO1$ rbt post -g auto -p --server http:// > 127.0.0.1 --repository REPO1 --repository-type svn --username user1 > --password pwd1 --debug > > >>> RBTools 0.7.7 > >>> Python 2.7.9 (default, Jun 29 2016, 13:08:31) > [GCC 4.9.2] > >>> Running on Linux-3.16.0-4-amd64-x86_64-with-debian-8.1 > >>> Home = /home/neohope > >>> Current directory = /home/neohope/repository/REPO1 > >>> Command line: rbt post -g auto -p --server http://127.0.0.1 --repository > >>> REPO1 --repository-type svn --username user1 --password pwd1 --debug > >>> Checking for a Subversion repository... > >>> Running: svn --non-interactive info > >>> Running: diff --version > >>> Running: svn --non-interactive --version -q > >>> repository info: Path: svn://127.0.0.1/REPO1, Base path: /, Supports > >>> changesets: False > >>> Making HTTP GET request to http://127.0.0.1/api/ > >>> Making HTTP GET request to > >>> http://127.0.0.1/api/repositories/?tool=Subversion > >>> Cached response for HTTP GET > >>> http://127.0.0.1/api/repositories/?tool=Subversion expired and was > >>> modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/1/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/1/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/2/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/2/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/3/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/3/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/4/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/4/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/5/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/5/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/6/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/6/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/7/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/7/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/8/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/8/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/9/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/9/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/10/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/10/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/11/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/11/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/12/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/12/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/13/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/13/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/14/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/14/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/15/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/15/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/16/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/16/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/17/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/17/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/18/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/18/info/ > >>> expired and was modified > >>> Making HTTP GET request to http://127.0.0.1/api/repositories/19/info/ > >>> Cached response for HTTP GET http://127.0.0.1/api/repositories/19/info/ > >>> expired and was modified > >>> Running: svn --non-interactive info > >>> Running: diff --version > >>> Running: svn --non-interactive --version -q > >>> repository info: Path: svn://127.0.0.1/REPO1, Base path: /, Supports > >>> changesets: False > >>> Running: svn --non-interactive status -q --ignore-externals > >>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry -r > >>> BASE > >>> ...... > >>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry -r > >>> BASE --no-diff-deleted > >>> ...... > >>> Making HTTP GET request to http://127.0.0.1/api/validation/diffs/ > >>> Cached response for HTTP GET http://127.0.0.1/api/validation/diffs/ > >>> expired and was modified > >>> Making HTTP POST request to http://127.0.0.1/api/validation/diffs/ > >>> Got API Error 224 (HTTP code 400): Unexpected error when validating the > >>> diff: 'ascii' codec can't decode byte 0xe6 in position 0: ordinal not in > >>> range(128) > >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"Unexpected error when > >>> validating the diff: 'ascii' codec can't decode byte 0xe6 in position 0: > >>> ordinal not in range(128)", u'code': 224}} > Traceback (most recent call last): > File "/usr/local/bin/rbt", line 11, in <module> > load_entry_point('RBTools==0.7.7', 'console_scripts', 'rbt')() > File > "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.7-py2.7.egg/rbtools/commands/main.py", > line 133, in main > command.run_from_argv([RB_MAIN, command_name] + args) > File > "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.7-py2.7.egg/rbtools/commands/__init__.py", > line 661, in run_from_argv > exit_code = self.main(*args) or 0 > File > "/usr/local/lib/python2.7/dist-packages/RBTools-0.7.7-py2.7.egg/rbtools/commands/post.py", > line 808, in main > (msg_prefix, e)) > rbtools.commands.CommandError: Error validating diff > > Unexpected error when validating the diff: 'ascii' codec can't decode byte > 0xe6 in position 0: ordinal not in range(128) (HTTP 400, API Error 224) > neohope@debian8:~/repository/REPO1$ > > > > <https://lh3.googleusercontent.com/-Codu6bt2ZWE/WDabTO4Hn2I/AAAAAAAAAYQ/LSMdpi6YUBsXGcVPcU12VbtgE35mD-0SwCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161124154327.png> -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
