<https://lh3.googleusercontent.com/-qr-iOA9PLWE/VM1C3YoUQ6I/AAAAAAAAaxc/TWrHXZ-HR6o/s1600/rb-web-error.png>

<https://lh3.googleusercontent.com/-qr-iOA9PLWE/VM1C3YoUQ6I/AAAAAAAAaxc/TWrHXZ-HR6o/s1600/rb-web-error.png>
[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=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/



$ 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>
         <groupId>org.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 
0000000000000000000000000000000000000000..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 12:06:32 PM UTC-8, Alexander Pivovarov 
wrote:
>
> Can not upload diff
> Error: list index out of range
>
> rbt post gives the 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.

Reply via email to