Re: Repository with svn+ssh:// unable to upload diff

2014-12-18 Thread Christian Hammond
This sounds like a communications or configuration issue between your
Review Board and Subversion server.

Does it ever successfully post?

Can you tell the steps you did to configure access to the Subversion
repository, including what you did with the SSH key?

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On Thu, Dec 18, 2014 at 1:14 AM, Kumar Paramasivam 
wrote:
>
> error_log from the /etc/httpd/log/error_log
>
>
> Error connecting to server: No authentication methods available
>
> [Thu Dec 18 03:39:06 2014] [error] ERROR:root:Error uploading new diff: To
> better debug SSH connection problems, remove the -q option from 'ssh' in
> the [tunnels] section of your Subversion configuration file.
>
> [Thu Dec 18 03:39:06 2014] [error] Network connection closed unexpectedly
>
> [Thu Dec 18 03:39:06 2014] [error] Traceback (most recent call last):
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/webapi/resources/diff.py",
> line 292, in create
>
> [Thu Dec 18 03:39:06 2014] [error]
> request.FILES.get('parent_diff_path'))
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/reviews/forms.py",
> line 116, in create
>
> [Thu Dec 18 03:39:06 2014] [error] history)
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/diffviewer/forms.py",
> line 69, in create
>
> [Thu Dec 18 03:39:06 2014] [error] request=self.request)
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/diffviewer/managers.py",
> line 156, in create_from_upload
>
> [Thu Dec 18 03:39:06 2014] [error] save=save)
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/diffviewer/managers.py",
> line 182, in create_from_data
>
> [Thu Dec 18 03:39:06 2014] [error] check_existence=(not
> parent_diff_file_contents)))
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/diffviewer/managers.py",
> line 300, in _process_files
>
> [Thu Dec 18 03:39:06 2014] [error] request=request))):
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/models.py",
> line 361, in get_file_exists
>
> [Thu Dec 18 03:39:06 2014] [error] base_commit_id, request)
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/models.py",
> line 575, in _get_file_exists_uncached
>
> [Thu Dec 18 03:39:06 2014] [error] exists =
> self.get_scmtool().file_exists(path, revision)
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/core.py",
> line 156, in file_exists
>
> [Thu Dec 18 03:39:06 2014] [error] self.get_file(path, revision)
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/svn/__init__.py",
> line 117, in get_file
>
> [Thu Dec 18 03:39:06 2014] [error] return self.client.get_file(path,
> revision)
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/svn/pysvn.py",
> line 100, in get_file
>
> [Thu Dec 18 03:39:06 2014] [error] return
> self._do_on_path(self._get_file_data, path, revision)
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/svn/pysvn.py",
> line 83, in _do_on_path
>
> [Thu Dec 18 03:39:06 2014] [error] raise SVNTool.normalize_error(e)
>
> [Thu Dec 18 03:39:06 2014] [error]   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/svn/__init__.py",
> line 312, in normalize_error
>
> [Thu Dec 18 03:39:06 2014] [error] raise SCMError(e)
>
> [Thu Dec 18 03:39:06 2014] [error] SCMError: To better debug SSH
> connection problems, remove the -q option from 'ssh' in the [tunnels]
> section of your Subversion configuration file.
>
> [Thu Dec 18 03:39:06 2014] [error] Network connection closed unexpectedly
>
>
>
> On Thursday, December 18, 2014 12:08:22 AM UTC-8, Kumar Paramasivam wrote:
>>
>> Hi,
>>
>> My reviewboard is posted by the diff is not being attached properly.
>>
>> I am using svn+ssh:// as my repository path.
>> Can someone please provide your inputs on this.
>>
>> >>> Making HTTP GET request to http://10.2.51.52/api/review-requests/1/
>>
>> >>> Making HTTP GET request to http://10.2.51.52/api/review-
>> requests/1/diffs/
>>
>> >>> Making HTTP POST request to http://10.2.51.52/api/review-
>> requests/1/diffs/

Re: Repository with svn+ssh:// unable to upload diff

2014-12-18 Thread Kumar Paramasivam
error_log from the /etc/httpd/log/error_log


Error connecting to server: No authentication methods available

[Thu Dec 18 03:39:06 2014] [error] ERROR:root:Error uploading new diff: To 
better debug SSH connection problems, remove the -q option from 'ssh' in 
the [tunnels] section of your Subversion configuration file.

[Thu Dec 18 03:39:06 2014] [error] Network connection closed unexpectedly

[Thu Dec 18 03:39:06 2014] [error] Traceback (most recent call last):

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/webapi/resources/diff.py",
 
line 292, in create

[Thu Dec 18 03:39:06 2014] [error] 
request.FILES.get('parent_diff_path'))

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/reviews/forms.py",
 
line 116, in create

[Thu Dec 18 03:39:06 2014] [error] history)

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/diffviewer/forms.py",
 
line 69, in create

[Thu Dec 18 03:39:06 2014] [error] request=self.request)

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/diffviewer/managers.py",
 
line 156, in create_from_upload

[Thu Dec 18 03:39:06 2014] [error] save=save)

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/diffviewer/managers.py",
 
line 182, in create_from_data

[Thu Dec 18 03:39:06 2014] [error] check_existence=(not 
parent_diff_file_contents)))

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/diffviewer/managers.py",
 
line 300, in _process_files

[Thu Dec 18 03:39:06 2014] [error] request=request))):

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/models.py",
 
line 361, in get_file_exists

[Thu Dec 18 03:39:06 2014] [error] base_commit_id, request)

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/models.py",
 
line 575, in _get_file_exists_uncached

[Thu Dec 18 03:39:06 2014] [error] exists = 
self.get_scmtool().file_exists(path, revision)

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/core.py",
 
line 156, in file_exists

[Thu Dec 18 03:39:06 2014] [error] self.get_file(path, revision)

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/svn/__init__.py",
 
line 117, in get_file

[Thu Dec 18 03:39:06 2014] [error] return self.client.get_file(path, 
revision)

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/svn/pysvn.py",
 
line 100, in get_file

[Thu Dec 18 03:39:06 2014] [error] return 
self._do_on_path(self._get_file_data, path, revision)

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/svn/pysvn.py",
 
line 83, in _do_on_path

[Thu Dec 18 03:39:06 2014] [error] raise SVNTool.normalize_error(e)

[Thu Dec 18 03:39:06 2014] [error]   File 
"/usr/lib/python2.6/site-packages/ReviewBoard-2.0.11-py2.6.egg/reviewboard/scmtools/svn/__init__.py",
 
line 312, in normalize_error

[Thu Dec 18 03:39:06 2014] [error] raise SCMError(e)

[Thu Dec 18 03:39:06 2014] [error] SCMError: To better debug SSH connection 
problems, remove the -q option from 'ssh' in the [tunnels] section of your 
Subversion configuration file.

[Thu Dec 18 03:39:06 2014] [error] Network connection closed unexpectedly



On Thursday, December 18, 2014 12:08:22 AM UTC-8, Kumar Paramasivam wrote:
>
> Hi, 
>
> My reviewboard is posted by the diff is not being attached properly.
>
> I am using svn+ssh:// as my repository path.
> Can someone please provide your inputs on this.
>
> >>> Making HTTP GET request to http://10.2.51.52/api/review-requests/1/
>
> >>> Making HTTP GET request to 
> http://10.2.51.52/api/review-requests/1/diffs/
>
> >>> Making HTTP POST request to 
> http://10.2.51.52/api/review-requests/1/diffs/
>
> >>> Got API Error 105 (HTTP code 400): One or more fields had errors
>
> >>> Error data: {u'fields': {u'path': [u"To better debug SSH connection 
> problems, remove the -q option from 'ssh' in the [tunnels] section of your 
> Subversion configuration file.\nNetwork connection closed unexpectedly"]}, 
> 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 
>
> load_entry_point('RBTools==0.6.3', 'console_scripts', 'rbt')()
>
>   File 
> "/usr/lib/python2.6/site-packages/RBTools-0.6.

Repository with svn+ssh:// unable to upload diff

2014-12-18 Thread Kumar Paramasivam
Hi, 

My reviewboard is posted by the diff is not being attached properly.

I am using svn+ssh:// as my repository path.
Can someone please provide your inputs on this.

>>> Making HTTP GET request to http://10.2.51.52/api/review-requests/1/

>>> Making HTTP GET request to 
http://10.2.51.52/api/review-requests/1/diffs/

>>> Making HTTP POST request to 
http://10.2.51.52/api/review-requests/1/diffs/

>>> Got API Error 105 (HTTP code 400): One or more fields had errors

>>> Error data: {u'fields': {u'path': [u"To better debug SSH connection 
problems, remove the -q option from 'ssh' in the [tunnels] section of your 
Subversion configuration file.\nNetwork connection closed unexpectedly"]}, 
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 

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: To better debug SSH connection problems, remove the -q option 
from 'ssh' in the [tunnels] section of your Subversion configuration file.

Network connection closed unexpectedly


Your review request still exists, but the diff is not attached.


http://10.2.51.52/r/1/

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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.