OK, the issue is the noprefix line. I'll get a fix in for rbtools but in the meantime, if you remove that line from your config, it should work.
-David On Sat Jan 31 2015 at 2:14:56 PM Alexander Pivovarov <apivova...@gmail.com> wrote: > $ cat .gitconfig > [user] > name = Alexander Pivovarov > email = apivova...@lendingclub.com > [branch] > autosetuprebase = always > [push] > default = simple > [pull] > rebase = true > [diff] > noprefix = true > > > > > > On Saturday, January 31, 2015 at 1:05:27 PM UTC-8, David Trowbridge wrote: > >> Can you tell me what's in your .gitconfig? >> >> -David >> > On Sat Jan 31 2015 at 1:01:34 PM Alexander Pivovarov <apivo...@gmail.com> >> wrote: >> >>> [apivovarov@c11 hive]$ rbt post -u -d --username apivovarov --password >>> <pwd> -g yes >>> >>> RBTools 0.6.3 >>> >>> Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) >>> [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] >>> >>> Running on Linux-2.6.32-504.3.3.el6.x86_64-x86_64-with-centos-6.6- >>> Final >>> >>> Home = /home/alex >>> >>> Current directory = /home/alex/workhive/hive >>> >>> Checking for a Subversion repository... >>> >>> Running: svn info --non-interactive >>> >>> Command exited with rc 1: ['svn', 'info', '--non-interactive'] >>> svn: '.' 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 branch.HIVE-7998.merge >>> >>> Command exited with rc 1: ['git', 'config', '--get', >>> 'branch.HIVE-7998.merge'] >>> --- >>> >>> Running: git config --get branch.HIVE-7998.remote >>> >>> Command exited with rc 1: ['git', 'config', '--get', >>> 'branch.HIVE-7998.remote'] >>> --- >>> >>> Running: git config --get remote.origin.url >>> >>> repository info: Path: g...@github.com:apache/hive.git, Base path: , >>> Supports changesets: False >>> >>> Making HTTP GET request to https://reviews.apache.org/api/ >>> >>> Running: git rev-parse refs/heads/HIVE-7998 >>> >>> Running: git merge-base a9b2f4b79c6b543dcabed15752a0280d4f2dbccf >>> origin/trunk >>> >>> Running: git rev-parse af6632a53e81139e0f771f800931a7ac569fdf1e >>> >>> Running: git status --porcelain --untracked-files=no >>> >>> Running: git diff --no-color --full-index --ignore-submodules >>> af6632a53e81139e0f771f800931a7ac569fdf1e..a9b2f4b79c6b543dcabed15752a0280d4f2dbccf >>> -M --no-ext-diff >>> >>> Running: git log --reverse --pretty=format:%s%n%n%b ^ >>> af6632a53e81139e0f771f800931a7ac569fdf1e a9b2f4b79c6b543dcabed15752a028 >>> 0d4f2dbccf >>> >>> Making HTTP GET request to https://reviews.apache.org/api/session/ >>> >>> Making HTTP GET request to https://reviews.apache.org/ >>> api/users/apivovarov/ >>> >>> Making HTTP GET request to https://reviews.apache.org/ >>> api/repositories/ >>> >>> Making HTTP GET request to https://reviews.apache.org/ >>> api/review-requests/?status=pending&expand=draft& >>> repository=20&from-user=apivovarov >>> Update Review Request #30476: 'HIVE-7998 Enhance JDBC Driver to not >>> require class specification'? [Yes/No]: Yes >>> >>> Making HTTP GET request to https://reviews.apache.org/ >>> api/review-requests/30476/ >>> >>> Making HTTP GET request to https://reviews.apache.org/ >>> api/review-requests/30476/diffs/ >>> >>> Making HTTP POST request to https://reviews.apache.org/ >>> api/review-requests/30476/diffs/ >>> >>> Got API Error 105 (HTTP code 400): One or more fields had errors >>> >>> Error data: {u'fields': {u'path': [u'list index out of range']}, >>> u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', >>> u'code': 105}} >>> Traceback (most recent call last): >>> File "/usr/bin/rbt", line 9, in <module> >>> load_entry_point('RBTools==0.6.3', 'console_scripts', 'rbt')() >>> File >>> "/usr/lib/python2.6/site-packages/RBTools-0.6.3-py2.6.egg/rbtools/commands/main.py", >>> line 134, in main >>> command.run_from_argv([RB_MAIN, command_name] + args) >>> File "/usr/lib/python2.6/site-packages/RBTools-0.6.3-py2.6. >>> egg/rbtools/commands/__init__.py", line 416, in run_from_argv >>> exit_code = self.main(*args) or 0 >>> File >>> "/usr/lib/python2.6/site-packages/RBTools-0.6.3-py2.6.egg/rbtools/commands/post.py", >>> line 791, in main >>> submit_as=self.options.submit_as) >>> File >>> "/usr/lib/python2.6/site-packages/RBTools-0.6.3-py2.6.egg/rbtools/commands/post.py", >>> line 551, in post_request >>> raise CommandError(u'\n'.join(error_msg)) >>> rbtools.commands.CommandError: Error uploading diff >>> >>> >>> One or more fields had errors (HTTP 400, API Error 105) >>> >>> path: list index out of range >>> >>> Your review request still exists, but the diff is not attached. >>> >>> https://reviews.apache.org/r/30476/ >>> >>> >>> >>> >>> On Saturday, January 31, 2015 at 9:35:25 AM UTC-8, David Trowbridge >>> wrote: >>> >>>> Hi, >>>> >>>> Can you tell us what version of Review Board you're using? >>>> >>>> Also, can you attach the output of 'rbt post --debug' and 'rbt diff'? >>>> (If the latter is sensitive, let us know and we can figure something out). >>>> >>>> -David >>>> >>>> On Fri Jan 30 2015 at 6:16:36 PM Alexander Pivovarov < >>>> apivo...@gmail.com> wrote: >>>> >>> I'm trying to upload hive patch for review >>>>> I'm using hive-git >>>>> >>>>> both web ui and "rbt post" return - list index out of range >>>>> >>>>> I even tried to upload old hive patches which I successfully uploaded >>>>> for review before - still same error - list index out of range >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> 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...@googlegroups.com. >>>> >>>> >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>> 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...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > 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. > -- 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.