Re: can not upload diff - list index out of range
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 apivova...@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+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.
Re: can not upload diff - list index out of range
$ rbt diff diff --git jdbc/pom.xml jdbc/pom.xml index 8071e87a5da5efca973502bf21926549f887c9d6..6ae8c3c90fe9b71eed717614c81d9b2b36466b39 100644 --- jdbc/pom.xml +++ jdbc/pom.xml @@ -139,6 +139,11 @@ build sourceDirectory${basedir}/src/java/sourceDirectory +resources + resource +directory${basedir}/src/resources/directory + /resource +/resources plugins plugin groupIdorg.apache.maven.plugins/groupId diff --git jdbc/src/resources/META-INF/services/java.sql.Driver jdbc/src/resources/META-INF/services/java.sql.Driver new file mode 100644 index ..ec764c2249aaf2edb5d88a88d02133aaddbea254 --- /dev/null +++ jdbc/src/resources/META-INF/services/java.sql.Driver @@ -0,0 +1 @@ +org.apache.hive.jdbc.HiveDriver 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 javascript: 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 javascript:. 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.
Re: can not upload diff - list index out of range
https://lh4.googleusercontent.com/-bxWmJiJIh9U/VM02XsPEQaI/axM/WQ2LUPgVDT4/s1600/rb-web-error.png https://lh4.googleusercontent.com/-bxWmJiJIh9U/VM02XsPEQaI/axM/WQ2LUPgVDT4/s1600/rb-web-error.png Try web UI 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 javascript: 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 javascript:. 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.
Re: can not upload diff - list index out of range
$ rbt --version RBTools 0.6.3 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 javascript: 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 javascript:. 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.
Re: can not upload diff - list index out of range
[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 a9b2f4b79c6b543dcabed15752a0280d4f2dbccf 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=pendingexpand=draftrepository=20from-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 javascript: 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 javascript:. 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
Re: can not upload diff - list index out of range
Can you tell me what's in your .gitconfig? -David On Sat Jan 31 2015 at 1:01:34 PM Alexander Pivovarov apivova...@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 a9b2f4b79c6b543dcabed15752a0280d4f2dbccf 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=pendingexpand=draftrepository=20from-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,
Re: can not upload diff - list index out of range
We don't run reviews.apache.org. It's possible that they upgraded the server and something regressed. -David On Sat Jan 31 2015 at 6:17:22 PM Alexander Pivovarov apivova...@gmail.com wrote: Thank you for solving the issue. rbt post -u is working now for me Hive dev guide requires to use git diff --no-prefix to generate patch file. https://cwiki.apache.org/confluence/display/Hive/HowToContribute#HowToContribute-CreatingaPatch So, if I need to upload my patch to Review Board via web UI should I generate another patch file without --no-prefix option? BTW, Review Board web UI allowed to upload not prefixed patches 10 days ago. e.g. https://reviews.apache.org/r/30003/ Did you guys fix smth last week? On Saturday, January 31, 2015 at 2:27:19 PM UTC-8, David Trowbridge wrote: 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 apivo...@gmail.com wrote: $ cat .gitconfig [user] name = Alexander Pivovarov email = apivo...@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..a9b2f4b79c6b543dca bed15752a0280d4f2dbccf -M --no-ext-diff Running: git log --reverse --pretty=format:%s%n%n%b ^ af6632a53e81139e0f771f800931a7ac569fdf1e a9b2f4b79c6b543dcabed15752a0280d4f2dbccf 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=pendingexpand=draftrepository=20from-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))
Re: can not upload diff - list index out of range
Thank you for solving the issue. rbt post -u is working now for me Hive dev guide requires to use git diff --no-prefix to generate patch file. https://cwiki.apache.org/confluence/display/Hive/HowToContribute#HowToContribute-CreatingaPatch So, if I need to upload my patch to Review Board via web UI should I generate another patch file without --no-prefix option? BTW, Review Board web UI allowed to upload not prefixed patches 10 days ago. e.g. https://reviews.apache.org/r/30003/ Did you guys fix smth last week? On Saturday, January 31, 2015 at 2:27:19 PM UTC-8, David Trowbridge wrote: 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 apivo...@gmail.com javascript: wrote: $ cat .gitconfig [user] name = Alexander Pivovarov email = apivo...@lendingclub.com javascript: [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=pendingexpand=draft repository=20from-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
Re: can not upload diff - list index out of range
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=pendingexpand=draft repository=20from-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