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.


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.

Re: Condense diff warning: UnicodeWarning: Unicode unequal comparison.....

2014-12-18 Thread Ravikumar R
Thank you David on quick response.

The bug report has been generated: 
https://code.google.com/p/reviewboard/issues/detail?id=3698

Please let me know if more information is needed!

Thanks, Ravi

On Thursday, December 18, 2014 5:46:46 AM UTC+5:30, David Trowbridge wrote:
>
> Ravi,
>
> Would you mind filing a bug about this?
>
> Thanks!
> -David
>
> On Wed, Dec 17, 2014 at 8:28 AM, Ravikumar R  > wrote:
>>
>> Hello,
>>
>> While doing condense diff (from RB version 1.6.9 ==> 2.0.11, the below 
>> warning is observed, but the task was successful.
>> This pilot migration was done in a test environment by taking DB dump 
>> with a different installation.
>>
>> Can below message on STDOUT be ignored?
>> Can we consider the DB upgrade was successful?
>> Am I good to go ahead with production DB upgrade?
>>
>> PS: DB is MySQL-5.6, ensured DB and its all tables are mapped to utf8 
>> (production DB is in latin1) character set and collation to DB default also 
>> all tables are moved to InnoDB as first step.
>>
>> Please suggest.
>>
>> Thanks, Ravi
>>
>> == STDOUT is as below =
>> $ rb-site manage  /var/reviewboard/localsite -- condensediffs
>> Processing 555709 diffs for duplicates...
>>
>> This may take a while. It is safe to continue using Review Board while 
>> this is
>> processing, but it may temporarily run slower.
>>
>> WARNING:py.warnings:/usr/lib/python2.7/site-packages/ReviewBoard-2.0.11-py2.7.egg/reviewboard/diffviewer/models.py:174:
>>  
>> UnicodeWarning: Unicode unequal comparison failed to convert both arguments 
>> to Unicode - interpreting them as being unequal
>>   if parent_diff != "":
>>
>>   [100%] 555709/555709 - 0 seconds remaining
>>
>> ===
>>
>> -- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.


Reviewboard 1.7 -> Reviewboard 2.0.x update

2014-12-18 Thread Daniel Laird
All,

We were running Reviewboard 1.7.25 and people used a number of methods to 
create review requests:
svn diff - manually upload
post-review
rbt

I have just migrated us to Reviewboard 2.0.11 and seem to have hit an issue.

Some of our reviews no longer display it suggests that a file cant be found.
And seems to have prepended some sub part of the path before the full file 
path.
So I get something like

/svn/REPONAME/http://SVN_SERVER/svn/REPONAME/path/to/file.cpp cant be found.

Have we got to change something to make these work?

I can provide logs offline if that helps?

Dan

-- 
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.


Re: Reviewboard 1.7 -> Reviewboard 2.0.x update

2014-12-18 Thread Daniel Laird
To follow up the error message we get from the diff viewer is:
The file 
'/svn/Common_PythonTests/http://SVN_SERVER_NAME/svn/Common_PythonTests/path/to/file/base.py'
 
(r1838) could not be found in the repository: 
'/svn/Common_PythonTests/!svn/rvr/1838/http:/SVN_SERVER/svn/Common_PythonTests/path/to/file/base.py'
 
path not found

The review was created before the migration (1.7.25) - we dumped the 
database, re-imported and off we went.
New requests seem to be ok and many of the old requests are fine.  This was 
probably created via the GUI in 1.7.25 and uploaded a diff file produced by 
SVN diff.

Cheers
Dan 

On Thursday, 18 December 2014 11:29:18 UTC, Daniel Laird wrote:
>
> All,
>
> We were running Reviewboard 1.7.25 and people used a number of methods to 
> create review requests:
> svn diff - manually upload
> post-review
> rbt
>
> I have just migrated us to Reviewboard 2.0.11 and seem to have hit an 
> issue.
>
> Some of our reviews no longer display it suggests that a file cant be 
> found.
> And seems to have prepended some sub part of the path before the full file 
> path.
> So I get something like
>
> /svn/REPONAME/http://SVN_SERVER/svn/REPONAME/path/to/file.cpp cant be 
> found.
>
> Have we got to change something to make these work?
>
> I can provide logs offline if that helps?
>
> Dan
>
>

-- 
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.


Re: Getting a list of all RBs that a user participated in (commented on, ship it, etc) via the API

2014-12-18 Thread Evan Borgstrom
Done. https://code.google.com/p/reviewboard/issues/detail?id=3700

Hopefully you can find some bandwidth internally or with a student for this 
request. Considering you're going to add the info in a tab in the UI I 
would hope exposing the same info via an API would be trivial.

Thanks,
EB

On Wednesday, December 17, 2014 5:47:15 PM UTC-8, David Trowbridge wrote:
>
> Evan,
>
> It would be nice to have, but short of a third-party contribution to do 
> it, we probably don't have time. We might assign it as a student project 
> for one of the classes we work with. Mind filing an enhancement request?
>
> -David
>
> On Wed, Dec 17, 2014 at 5:41 PM, Evan Borgstrom  > wrote:
>>
>> Thanks for the reply, David.
>>
>> Will the data used in /users// be available via an API point as 
>> well? I'm really looking to get this data programatically.
>>
>> LMK.
>>
>> Thanks,
>> EB
>>
>> On Wednesday, December 17, 2014 4:18:10 PM UTC-8, David Trowbridge wrote:
>>>
>>> Evan,
>>>
>>> In Review Board 2.1, there will be a new tab on the user page 
>>> (/users//) that lists each of the code reviews that they did. In 
>>> the meantime, the only other way to get this information would be to query 
>>> the database (either through the database directly, via the python shell, 
>>> or by writing an extension that does what you want).
>>>
>>> -David
>>>
>>> On Thu, Dec 11, 2014 at 12:56 PM, Evan Borgstrom  
>>> wrote:

 Hi all,

 Can anyone provide some guidance on the best way to get a list of all 
 of the RBs that a user has participated in?

 For example, if a user is a member of a large group that gets lots of 
 RBs assigned to them I want to get a list of those specific RBs where the 
 user actually commented or provided a review/ship it without seeing the 
 RBs 
 they didn't participate in.

 Is this possible? I've been through the API docs but can't see anything 
 straight forward.

 Thanks,
 EB

 -- 
 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...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>  -- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.


was not found in the repository. Review board version 2.0.11

2014-12-18 Thread Ivan Stuart
I was trying to create a pre-commit review.

I selected the repository and selected my diff file.
The diff was create in the directory C:\Projects\gui-app
Where the SVN check out to gui-app was from Command: Checkout from 
https://sami.cdt.int.company.com/svn/product_gui/gui-app/trunk
The SVN repo in review board is configured as 
https://sami.cdt.int.company.com/svn/product_gui/gui-app/trunk/
I have tried various base directory values but review board is always 
returning the error:
"The file 
"/gui-app/trunk/source/alert/src/main/java/com/company/cef/service/alert/AlertClientFactory.java"
 
(revision 23424) was not found in the repository.


-- 
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.


Re: was not found in the repository. Review board version 2.0.11

2014-12-18 Thread Christian Hammond
Can you show the configuration for the repository on Review Board? It's
important that the path that's chosen points to the very root of the
Subversion repository, and not a subdirectory within it.

Have you tried posting using RBTools?

Christian

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

On Thu, Dec 18, 2014 at 3:26 AM, Ivan Stuart  wrote:
>
> I was trying to create a pre-commit review.
>
> I selected the repository and selected my diff file.
> The diff was create in the directory C:\Projects\gui-app
> Where the SVN check out to gui-app was from Command: Checkout from
> https://sami.cdt.int.company.com/svn/product_gui/gui-app/trunk
> The SVN repo in review board is configured as
> https://sami.cdt.int.company.com/svn/product_gui/gui-app/trunk/
> I have tried various base directory values but review board is always
> returning the error:
> "The file
> "/gui-app/trunk/source/alert/src/main/java/com/company/cef/service/alert/AlertClientFactory.java"
> (revision 23424) was not found in the repository.
>
>
>  --
> 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.
>

-- 
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.


Re: Getting a list of all RBs that a user participated in (commented on, ship it, etc) via the API

2014-12-18 Thread Christian Hammond
The API design takes more consideration, as we need to ensure that what we
add is going to be performant, consistent with the rest of the API, and
future-proof. Rendering additional data on a page can be done without
having to as closely consider future design changes, as it's not an an
interface that needs to maintain the same sort of backwards-compatibility.

Christian

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

On Thu, Dec 18, 2014 at 10:25 AM, Evan Borgstrom 
wrote:
>
> Done. https://code.google.com/p/reviewboard/issues/detail?id=3700
>
> Hopefully you can find some bandwidth internally or with a student for
> this request. Considering you're going to add the info in a tab in the UI I
> would hope exposing the same info via an API would be trivial.
>
> Thanks,
> EB
>
> On Wednesday, December 17, 2014 5:47:15 PM UTC-8, David Trowbridge wrote:
>>
>> Evan,
>>
>> It would be nice to have, but short of a third-party contribution to do
>> it, we probably don't have time. We might assign it as a student project
>> for one of the classes we work with. Mind filing an enhancement request?
>>
>> -David
>>
>> On Wed, Dec 17, 2014 at 5:41 PM, Evan Borgstrom 
>> wrote:
>>>
>>> Thanks for the reply, David.
>>>
>>> Will the data used in /users// be available via an API point
>>> as well? I'm really looking to get this data programatically.
>>>
>>> LMK.
>>>
>>> Thanks,
>>> EB
>>>
>>> On Wednesday, December 17, 2014 4:18:10 PM UTC-8, David Trowbridge wrote:

 Evan,

 In Review Board 2.1, there will be a new tab on the user page
 (/users//) that lists each of the code reviews that they did. In
 the meantime, the only other way to get this information would be to query
 the database (either through the database directly, via the python shell,
 or by writing an extension that does what you want).

 -David

 On Thu, Dec 11, 2014 at 12:56 PM, Evan Borgstrom 
 wrote:
>
> Hi all,
>
> Can anyone provide some guidance on the best way to get a list of all
> of the RBs that a user has participated in?
>
> For example, if a user is a member of a large group that gets lots of
> RBs assigned to them I want to get a list of those specific RBs where the
> user actually commented or provided a review/ship it without seeing the 
> RBs
> they didn't participate in.
>
> Is this possible? I've been through the API docs but can't see
> anything straight forward.
>
> Thanks,
> EB
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/pow
> erpack/
> ---
> 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...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
  --
>>> 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...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>  --
> 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.
>

-- 
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.


Re: Reviewboard 1.7 -> Reviewboard 2.0.x update

2014-12-18 Thread Christian Hammond
Hi Dan,

Would you be able to provide some of the data from that diff (specifically,
the 'Index:' line, '---', and '+++' lines in the diff)?

A lot of work was done on Subversion since 1.7.x, so something may have
regressed. I don't recall being able to handle file paths containing
'http:' in it, though.

Christian

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

On Thu, Dec 18, 2014 at 4:32 AM, Daniel Laird  wrote:
>
> To follow up the error message we get from the diff viewer is:
> The file '/svn/Common_PythonTests/
> http://SVN_SERVER_NAME/svn/Common_PythonTests/path/to/file/base.py'
> (r1838) could not be found in the repository:
> '/svn/Common_PythonTests/!svn/rvr/1838/http:/SVN_SERVER/svn/Common_PythonTests/path/to/file/base.py'
> path not found
>
> The review was created before the migration (1.7.25) - we dumped the
> database, re-imported and off we went.
> New requests seem to be ok and many of the old requests are fine.  This
> was probably created via the GUI in 1.7.25 and uploaded a diff file
> produced by SVN diff.
>
> Cheers
> Dan
>
> On Thursday, 18 December 2014 11:29:18 UTC, Daniel Laird wrote:
>>
>> All,
>>
>> We were running Reviewboard 1.7.25 and people used a number of methods to
>> create review requests:
>> svn diff - manually upload
>> post-review
>> rbt
>>
>> I have just migrated us to Reviewboard 2.0.11 and seem to have hit an
>> issue.
>>
>> Some of our reviews no longer display it suggests that a file cant be
>> found.
>> And seems to have prepended some sub part of the path before the full
>> file path.
>> So I get something like
>>
>> /svn/REPONAME/http://SVN_SERVER/svn/REPONAME/path/to/file.cpp cant be
>> found.
>>
>> Have we got to change something to make these work?
>>
>> I can provide logs offline if that helps?
>>
>> Dan
>>
>>  --
> 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.
>

-- 
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.


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: RB email notification not worked

2014-12-18 Thread Christian Hammond
If you can get the test e-mail, it's more likely that the mail server is
filtering out the e-mails.

Can you answer my prior questions about the type of mail server?

Can you also verify that you are using the correct mail settings (username,
password, TLS)?

Christian

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

On Tue, Dec 16, 2014 at 10:53 PM, Jing Shao  wrote:
>
> I can get the test email. So I think mail server works fine.
>
> I only need to set email config on Admin settings, no need for RB server
> config, right?
>
>
> > 在 2014年12月17日,下午2:50,Christian Hammond  写道:
> >
> > Hi,
> >
> > Most likely, the server you have set up for e-mail is not accepting
> connections and it's timing out. What mail server are you using, and are
> you 100% sure that the address is correct and is functioning as an SMTP
> server?
> >
> > Christian
> >
> > --
> > Christian Hammond - christ...@beanbaginc.com
> > Review Board - https://www.reviewboard.org
> > Beanbag, Inc. - https://www.beanbaginc.com
> >
> > -Original Message-
> > From: Shao Jing 
> > Reply: reviewboard@googlegroups.com >
> > Date: December 16, 2014 at 9:42:26 PM
> > To: reviewboard@googlegroups.com >
> > Subject:  RB email notification not worked
> >
> >> Hi,
> >>
> >> I configured email setting in Admin. Test email works fine.
> >>
> >> But when publish a review, it starts loading, and never end.
> >> Without email notification enabled, it works fine.
> >>
> >> What config I missed?
> >>
> >> Thanks.
> >>
> >> --
> >> 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.
> >>
> >
>
> --
> 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.
>

-- 
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.