Re: Authentication failed while adding svn repository

2015-02-16 Thread Alexis Denis
Hello Jeffrey,
The fix was to use PySVN which is the default in 2.0.5. Upgrading to 2.0.5
fixed it. I am sure you can download the latest version of Reviewboard and
it would work https://www.reviewboard.org/downloads/.
At the time, I was also using the Bitnami installer for Reviewboard:
https://bitnami.com/stack/reviewboard
Alexis

On Sun, Feb 15, 2015 at 9:30 PM, Jeffrey Javier jepoi...@gmail.com wrote:

 Good day Alexis!
 Do you mind sharing the fix for this issue? You just downloaded version
 2.0.5 and it worked? please do share the link thanks :)

 On Thursday, July 31, 2014 at 8:36:41 AM UTC+8, Alexis wrote:

 Hi Christian,

 It worked! No hitch. No need to install the patch.

 Thanks,

 Alexis


 On Wed, Jul 30, 2014 at 6:09 PM, Christian Hammond 
 chri...@beanbaginc.com wrote:

 Hi Alexis,

 So, Review Board 2.0.2 is busted with SVN. That's the primary cause of
 your problems. You need 2.0.3 or higher to have a working setup with a
 self-signed cert. (You should install 2.0.5 though.)

 When trying to verify the issue, though, I hit some other problems with
 accepting a certificate. I've attached a patch that should smooth out
 another rough edge (though I don't believe it's required for this case, but
 may help if you hit any errors with a newer release.)

 Christian

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

 On July 30, 2014 at 3:09:37 PM, Alexis Denis (alexi...@gmail.com) wrote:

 Hi Christian,
 It is the original save: it fails even before asking to accept the SSL
 certificate (as mine is not signed by an authority, I have to accept it).
 Alexis


 On Wed, Jul 30, 2014 at 4:42 PM, Christian Hammond 
 chri...@beanbaginc.com wrote:

  Hi Alexis,

  From the code I'm seeing, it does look like we're passing in the
 credentials. I am, however, seeing that we don't pass in credentials when
 confirming an HTTPS certificate. Is that the point where things go wrong,
 or is it on the initial save?

  Christian

   --
  Christian Hammond - chri...@beanbaginc.com

  Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

 On July 30, 2014 at 2:34:26 PM, Alexis Denis (alexi...@gmail.com)
 wrote:

  Christian: Personally, I am running ReviewBoard 2.0.2 and I believe I
 am using the default which is PySVN. I still think it's the wrapper tools
 trying to access the repository without a username or password at first.
 The setup is simple and easy to reproduce: VisualSVN server with no public
 access and a user.
 Holger: I am glad I am not the only one with this issue. I was starting
 to feel a little lonely. Glad to see you found your own workaround.
 Alexis


 On Wed, Jul 30, 2014 at 1:10 PM, Christian Hammond chi...@chipx86.com
 wrote:

 Hi,

 What version of Review Board? Are you using PySVN or Subvertpy?

 Christian


 On Wednesday, July 30, 2014, Holger hkr...@gmail.com wrote:

  My Workaround:

 I have the same problem but found a workaround inspired by Alexis'
 debug information:

 Add the new repository with Show this repository option unchecked.
 Afterwards got directly to the database and change the visible flag for 
 the
 repository in the table  scmtools_repository to 1.


 On Tuesday, July 8, 2014 11:25:40 AM UTC+2, shravanthi s wrote:

 Hi,

 I have installed Review Board 2.0.2 on RHEL 6.5 machine. I installed
 subversion 1.6.11 and pysvn version 1.7.8.
 However when i tried to add a repository, even though my login
 credentials are correct, am unable to add it. It gives an error
 'Authentication failed' . So currently review board is unusable.

 The reviewboard log shows error as below

  ERROR -  - SVN: Failed to get repository information for
 https://test.com/svn/myfolder/Phoenix: callback_get_login required

 Am not sure what is going wrong here. Anything to do with my pysvn
 version?

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



 --
 --
 Christian Hammond - chi...@chipx86.com

 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

 --
 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 a topic in the
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit https://groups.google.com/d/
 topic/reviewboard/r3Z_w3nJbkU/unsubscribe.
 To 

Re: Authentication failed while adding svn repository

2015-02-15 Thread Jeffrey Javier
Good day Alexis!
Do you mind sharing the fix for this issue? You just downloaded version 
2.0.5 and it worked? please do share the link thanks :)

On Thursday, July 31, 2014 at 8:36:41 AM UTC+8, Alexis wrote:

 Hi Christian,

 It worked! No hitch. No need to install the patch.

 Thanks,

 Alexis


 On Wed, Jul 30, 2014 at 6:09 PM, Christian Hammond chri...@beanbaginc.com 
 javascript: wrote:

 Hi Alexis,

 So, Review Board 2.0.2 is busted with SVN. That’s the primary cause of 
 your problems. You need 2.0.3 or higher to have a working setup with a 
 self-signed cert. (You should install 2.0.5 though.)

 When trying to verify the issue, though, I hit some other problems with 
 accepting a certificate. I’ve attached a patch that should smooth out 
 another rough edge (though I don’t believe it’s required for this case, but 
 may help if you hit any errors with a newer release.)

 Christian

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

 On July 30, 2014 at 3:09:37 PM, Alexis Denis (alexi...@gmail.com 
 javascript:) wrote:

 Hi Christian, 
 It is the original save: it fails even before asking to accept the SSL 
 certificate (as mine is not signed by an authority, I have to accept it).
 Alexis
  

 On Wed, Jul 30, 2014 at 4:42 PM, Christian Hammond 
 chri...@beanbaginc.com javascript: wrote:

  Hi Alexis,
  
  From the code I’m seeing, it does look like we’re passing in the 
 credentials. I am, however, seeing that we don’t pass in credentials when 
 confirming an HTTPS certificate. Is that the point where things go wrong, 
 or is it on the initial save?
  
  Christian
  
   -- 
  Christian Hammond - chri...@beanbaginc.com javascript: 

  Review Board - http://www.reviewboard.org 
 Beanbag, Inc. - http://www.beanbaginc.com
   
 On July 30, 2014 at 2:34:26 PM, Alexis Denis (alexi...@gmail.com 
 javascript:) wrote:

  Christian: Personally, I am running ReviewBoard 2.0.2 and I believe I 
 am using the default which is PySVN. I still think it's the wrapper tools 
 trying to access the repository without a username or password at first. 
 The setup is simple and easy to reproduce: VisualSVN server with no public 
 access and a user. 
 Holger: I am glad I am not the only one with this issue. I was starting 
 to feel a little lonely. Glad to see you found your own workaround.
 Alexis
  

 On Wed, Jul 30, 2014 at 1:10 PM, Christian Hammond chi...@chipx86.com 
 javascript: wrote:

 Hi, 

 What version of Review Board? Are you using PySVN or Subvertpy?

 Christian

  
 On Wednesday, July 30, 2014, Holger hkr...@gmail.com javascript: 
 wrote:

  My Workaround: 

 I have the same problem but found a workaround inspired by Alexis' 
 debug information:

 Add the new repository with Show this repository option unchecked. 
 Afterwards got directly to the database and change the visible flag for 
 the 
 repository in the table  scmtools_repository to 1.


 On Tuesday, July 8, 2014 11:25:40 AM UTC+2, shravanthi s wrote: 

 Hi, 

 I have installed Review Board 2.0.2 on RHEL 6.5 machine. I installed 
 subversion 1.6.11 and pysvn version 1.7.8. 
 However when i tried to add a repository, even though my login 
 credentials are correct, am unable to add it. It gives an error 
 'Authentication failed' . So currently review board is unusable.

 The reviewboard log shows error as below

  ERROR -  - SVN: Failed to get repository information for 
 https://test.com/svn/myfolder/Phoenix: callback_get_login required

 Am not sure what is going wrong here. Anything to do with my pysvn 
 version?
  
  --
 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.

  

 --
 --
 Christian Hammond - chi...@chipx86.com javascript: 

 Review Board - http://www.reviewboard.org 
 Beanbag, Inc. - http://www.beanbaginc.com
   
 --
 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 a topic in the 
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/reviewboard/r3Z_w3nJbkU/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.
  
  
 --
 Get the Review Board Power Pack at 

Re: Authentication failed while adding svn repository

2014-07-30 Thread Holger
My Workaround:

I have the same problem but found a workaround inspired by Alexis' debug 
information:

Add the new repository with Show this repository option unchecked. 
Afterwards got directly to the database and change the visible flag for the 
repository in the table  scmtools_repository to 1.


On Tuesday, July 8, 2014 11:25:40 AM UTC+2, shravanthi s wrote:

 Hi,

 I have installed Review Board 2.0.2 on RHEL 6.5 machine. I installed 
 subversion 1.6.11 and pysvn version 1.7.8. 
 However when i tried to add a repository, even though my login credentials 
 are correct, am unable to add it. It gives an error 'Authentication failed' 
 . So currently review board is unusable.

 The reviewboard log shows error as below

  ERROR -  - SVN: Failed to get repository information for 
 https://test.com/svn/myfolder/Phoenix: callback_get_login required

 Am not sure what is going wrong here. Anything to do with my pysvn 
 version?


-- 
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: Authentication failed while adding svn repository

2014-07-30 Thread Christian Hammond
Hi,

What version of Review Board? Are you using PySVN or Subvertpy?

Christian


On Wednesday, July 30, 2014, Holger hkra...@gmail.com wrote:

 My Workaround:

 I have the same problem but found a workaround inspired by Alexis' debug
 information:

 Add the new repository with Show this repository option unchecked.
 Afterwards got directly to the database and change the visible flag for the
 repository in the table  scmtools_repository to 1.


 On Tuesday, July 8, 2014 11:25:40 AM UTC+2, shravanthi s wrote:

 Hi,

 I have installed Review Board 2.0.2 on RHEL 6.5 machine. I installed
 subversion 1.6.11 and pysvn version 1.7.8.
 However when i tried to add a repository, even though my login
 credentials are correct, am unable to add it. It gives an error
 'Authentication failed' . So currently review board is unusable.

 The reviewboard log shows error as below

  ERROR -  - SVN: Failed to get repository information for
 https://test.com/svn/myfolder/Phoenix: callback_get_login required

 Am not sure what is going wrong here. Anything to do with my pysvn
 version?

  --
 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
 javascript:_e(%7B%7D,'cvml','reviewboard%2bunsubscr...@googlegroups.com');
 .
 For more options, visit https://groups.google.com/d/optout.



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

-- 
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: Authentication failed while adding svn repository

2014-07-30 Thread Alexis Denis
Christian: Personally, I am running ReviewBoard 2.0.2 and I believe I am
using the default which is PySVN. I still think it's the wrapper tools
trying to access the repository without a username or password at first.
The setup is simple and easy to reproduce: VisualSVN server with no public
access and a user.
Holger: I am glad I am not the only one with this issue. I was starting to
feel a little lonely. Glad to see you found your own workaround.
Alexis


On Wed, Jul 30, 2014 at 1:10 PM, Christian Hammond chip...@chipx86.com
wrote:

 Hi,

 What version of Review Board? Are you using PySVN or Subvertpy?

 Christian


 On Wednesday, July 30, 2014, Holger hkra...@gmail.com wrote:

 My Workaround:

 I have the same problem but found a workaround inspired by Alexis' debug
 information:

 Add the new repository with Show this repository option unchecked.
 Afterwards got directly to the database and change the visible flag for the
 repository in the table  scmtools_repository to 1.


 On Tuesday, July 8, 2014 11:25:40 AM UTC+2, shravanthi s wrote:

 Hi,

 I have installed Review Board 2.0.2 on RHEL 6.5 machine. I installed
 subversion 1.6.11 and pysvn version 1.7.8.
 However when i tried to add a repository, even though my login
 credentials are correct, am unable to add it. It gives an error
 'Authentication failed' . So currently review board is unusable.

 The reviewboard log shows error as below

  ERROR -  - SVN: Failed to get repository information for
 https://test.com/svn/myfolder/Phoenix: callback_get_login required

 Am not sure what is going wrong here. Anything to do with my pysvn
 version?

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



 --
 --
 Christian Hammond - chip...@chipx86.com

 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

  --
 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 a topic in the
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/reviewboard/r3Z_w3nJbkU/unsubscribe.
 To unsubscribe from this group and all its topics, 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: Authentication failed while adding svn repository

2014-07-30 Thread Christian Hammond
Hi Alexis,

From the code I’m seeing, it does look like we’re passing in the credentials. 
I am, however, seeing that we don’t pass in credentials when confirming an 
HTTPS certificate. Is that the point where things go wrong, or is it on the 
initial save?

Christian

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

On July 30, 2014 at 2:34:26 PM, Alexis Denis (alexisde...@gmail.com) wrote:

Christian: Personally, I am running ReviewBoard 2.0.2 and I believe I am using 
the default which is PySVN. I still think it's the wrapper tools trying to 
access the repository without a username or password at first. The setup is 
simple and easy to reproduce: VisualSVN server with no public access and a user.
Holger: I am glad I am not the only one with this issue. I was starting to feel 
a little lonely. Glad to see you found your own workaround.
Alexis


On Wed, Jul 30, 2014 at 1:10 PM, Christian Hammond chip...@chipx86.com wrote:
Hi,

What version of Review Board? Are you using PySVN or Subvertpy?

Christian


On Wednesday, July 30, 2014, Holger hkra...@gmail.com wrote:
My Workaround:

I have the same problem but found a workaround inspired by Alexis' debug 
information:

Add the new repository with Show this repository option unchecked. Afterwards 
got directly to the database and change the visible flag for the repository in 
the table  scmtools_repository to 1.


On Tuesday, July 8, 2014 11:25:40 AM UTC+2, shravanthi s wrote:
Hi,

I have installed Review Board 2.0.2 on RHEL 6.5 machine. I installed subversion 
1.6.11 and pysvn version 1.7.8. 
However when i tried to add a repository, even though my login credentials are 
correct, am unable to add it. It gives an error 'Authentication failed' . So 
currently review board is unusable.

The reviewboard log shows error as below

 ERROR -  - SVN: Failed to get repository information for 
https://test.com/svn/myfolder/Phoenix: callback_get_login required

Am not sure what is going wrong here. Anything to do with my pysvn version?
--
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.


--
--
Christian Hammond - chip...@chipx86.com

Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

--
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 a topic in the Google 
Groups reviewboard group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/reviewboard/r3Z_w3nJbkU/unsubscribe.
To unsubscribe from this group and all its topics, 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.


Re: Authentication failed while adding svn repository

2014-07-30 Thread Alexis Denis
Hi Christian,
It is the original save: it fails even before asking to accept the SSL
certificate (as mine is not signed by an authority, I have to accept it).
Alexis


On Wed, Jul 30, 2014 at 4:42 PM, Christian Hammond christ...@beanbaginc.com
 wrote:

 Hi Alexis,

 From the code I'm seeing, it does look like we're passing in the
 credentials. I am, however, seeing that we don't pass in credentials when
 confirming an HTTPS certificate. Is that the point where things go wrong,
 or is it on the initial save?

 Christian

 --
 Christian Hammond - christ...@beanbaginc.com

 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

 On July 30, 2014 at 2:34:26 PM, Alexis Denis (alexisde...@gmail.com)
 wrote:

 Christian: Personally, I am running ReviewBoard 2.0.2 and I believe I am
 using the default which is PySVN. I still think it's the wrapper tools
 trying to access the repository without a username or password at first.
 The setup is simple and easy to reproduce: VisualSVN server with no public
 access and a user.
 Holger: I am glad I am not the only one with this issue. I was starting to
 feel a little lonely. Glad to see you found your own workaround.
 Alexis


 On Wed, Jul 30, 2014 at 1:10 PM, Christian Hammond chip...@chipx86.com
 wrote:

 Hi,

 What version of Review Board? Are you using PySVN or Subvertpy?

 Christian


 On Wednesday, July 30, 2014, Holger hkra...@gmail.com wrote:

  My Workaround:

 I have the same problem but found a workaround inspired by Alexis' debug
 information:

 Add the new repository with Show this repository option unchecked.
 Afterwards got directly to the database and change the visible flag for the
 repository in the table  scmtools_repository to 1.


 On Tuesday, July 8, 2014 11:25:40 AM UTC+2, shravanthi s wrote:

 Hi,

 I have installed Review Board 2.0.2 on RHEL 6.5 machine. I installed
 subversion 1.6.11 and pysvn version 1.7.8.
 However when i tried to add a repository, even though my login
 credentials are correct, am unable to add it. It gives an error
 'Authentication failed' . So currently review board is unusable.

 The reviewboard log shows error as below

  ERROR -  - SVN: Failed to get repository information for
 https://test.com/svn/myfolder/Phoenix: callback_get_login required

 Am not sure what is going wrong here. Anything to do with my pysvn
 version?

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



 --
 --
 Christian Hammond - chip...@chipx86.com

 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

 --
 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 a topic in the
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/reviewboard/r3Z_w3nJbkU/unsubscribe.
 To unsubscribe from this group and all its topics, 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.


Re: Authentication failed while adding svn repository

2014-07-30 Thread Christian Hammond
Hi Alexis,

So, Review Board 2.0.2 is busted with SVN. That’s the primary cause of your 
problems. You need 2.0.3 or higher to have a working setup with a self-signed 
cert. (You should install 2.0.5 though.)

When trying to verify the issue, though, I hit some other problems with 
accepting a certificate. I’ve attached a patch that should smooth out another 
rough edge (though I don’t believe it’s required for this case, but may help if 
you hit any errors with a newer release.)

Christian

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

On July 30, 2014 at 3:09:37 PM, Alexis Denis (alexisde...@gmail.com) wrote:

Hi Christian,
It is the original save: it fails even before asking to accept the SSL 
certificate (as mine is not signed by an authority, I have to accept it).
Alexis


On Wed, Jul 30, 2014 at 4:42 PM, Christian Hammond christ...@beanbaginc.com 
wrote:
Hi Alexis,

From the code I’m seeing, it does look like we’re passing in the credentials. 
I am, however, seeing that we don’t pass in credentials when confirming an 
HTTPS certificate. Is that the point where things go wrong, or is it on the 
initial save?

Christian

-- 
Christian Hammond - christ...@beanbaginc.com

Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On July 30, 2014 at 2:34:26 PM, Alexis Denis (alexisde...@gmail.com) wrote:

Christian: Personally, I am running ReviewBoard 2.0.2 and I believe I am using 
the default which is PySVN. I still think it's the wrapper tools trying to 
access the repository without a username or password at first. The setup is 
simple and easy to reproduce: VisualSVN server with no public access and a user.
Holger: I am glad I am not the only one with this issue. I was starting to feel 
a little lonely. Glad to see you found your own workaround.
Alexis


On Wed, Jul 30, 2014 at 1:10 PM, Christian Hammond chip...@chipx86.com wrote:
Hi,

What version of Review Board? Are you using PySVN or Subvertpy?

Christian


On Wednesday, July 30, 2014, Holger hkra...@gmail.com wrote:
My Workaround:

I have the same problem but found a workaround inspired by Alexis' debug 
information:

Add the new repository with Show this repository option unchecked. Afterwards 
got directly to the database and change the visible flag for the repository in 
the table  scmtools_repository to 1.


On Tuesday, July 8, 2014 11:25:40 AM UTC+2, shravanthi s wrote:
Hi,

I have installed Review Board 2.0.2 on RHEL 6.5 machine. I installed subversion 
1.6.11 and pysvn version 1.7.8. 
However when i tried to add a repository, even though my login credentials are 
correct, am unable to add it. It gives an error 'Authentication failed' . So 
currently review board is unusable.

The reviewboard log shows error as below

 ERROR -  - SVN: Failed to get repository information for 
https://test.com/svn/myfolder/Phoenix: callback_get_login required

Am not sure what is going wrong here. Anything to do with my pysvn version?
--
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.


--
--
Christian Hammond - chip...@chipx86.com

Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

--
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 a topic in the Google 
Groups reviewboard group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/reviewboard/r3Z_w3nJbkU/unsubscribe.
To unsubscribe from this group and all its topics, 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 

Re: Authentication failed while adding svn repository

2014-07-30 Thread Alexis Denis
Hi Christian,

It worked! No hitch. No need to install the patch.

Thanks,

Alexis


On Wed, Jul 30, 2014 at 6:09 PM, Christian Hammond christ...@beanbaginc.com
 wrote:

 Hi Alexis,

 So, Review Board 2.0.2 is busted with SVN. That's the primary cause of
 your problems. You need 2.0.3 or higher to have a working setup with a
 self-signed cert. (You should install 2.0.5 though.)

 When trying to verify the issue, though, I hit some other problems with
 accepting a certificate. I've attached a patch that should smooth out
 another rough edge (though I don't believe it's required for this case, but
 may help if you hit any errors with a newer release.)

 Christian

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

 On July 30, 2014 at 3:09:37 PM, Alexis Denis (alexisde...@gmail.com)
 wrote:

 Hi Christian,
 It is the original save: it fails even before asking to accept the SSL
 certificate (as mine is not signed by an authority, I have to accept it).
 Alexis


 On Wed, Jul 30, 2014 at 4:42 PM, Christian Hammond 
 christ...@beanbaginc.com wrote:

  Hi Alexis,

  From the code I'm seeing, it does look like we're passing in the
 credentials. I am, however, seeing that we don't pass in credentials when
 confirming an HTTPS certificate. Is that the point where things go wrong,
 or is it on the initial save?

  Christian

   --
  Christian Hammond - christ...@beanbaginc.com

  Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

 On July 30, 2014 at 2:34:26 PM, Alexis Denis (alexisde...@gmail.com)
 wrote:

  Christian: Personally, I am running ReviewBoard 2.0.2 and I believe I
 am using the default which is PySVN. I still think it's the wrapper tools
 trying to access the repository without a username or password at first.
 The setup is simple and easy to reproduce: VisualSVN server with no public
 access and a user.
 Holger: I am glad I am not the only one with this issue. I was starting
 to feel a little lonely. Glad to see you found your own workaround.
 Alexis


 On Wed, Jul 30, 2014 at 1:10 PM, Christian Hammond chip...@chipx86.com
 wrote:

 Hi,

 What version of Review Board? Are you using PySVN or Subvertpy?

 Christian


 On Wednesday, July 30, 2014, Holger hkra...@gmail.com wrote:

  My Workaround:

 I have the same problem but found a workaround inspired by Alexis'
 debug information:

 Add the new repository with Show this repository option unchecked.
 Afterwards got directly to the database and change the visible flag for the
 repository in the table  scmtools_repository to 1.


 On Tuesday, July 8, 2014 11:25:40 AM UTC+2, shravanthi s wrote:

 Hi,

 I have installed Review Board 2.0.2 on RHEL 6.5 machine. I installed
 subversion 1.6.11 and pysvn version 1.7.8.
 However when i tried to add a repository, even though my login
 credentials are correct, am unable to add it. It gives an error
 'Authentication failed' . So currently review board is unusable.

 The reviewboard log shows error as below

  ERROR -  - SVN: Failed to get repository information for
 https://test.com/svn/myfolder/Phoenix: callback_get_login required

 Am not sure what is going wrong here. Anything to do with my pysvn
 version?

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



 --
 --
 Christian Hammond - chip...@chipx86.com

 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com

 --
 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 a topic in the
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/reviewboard/r3Z_w3nJbkU/unsubscribe.
 To unsubscribe from this group and all its topics, 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.
 

Re: Authentication failed while adding svn repository

2014-07-19 Thread shravanthi s
I tried upgrading pysvn and upgraded my subversion as well. Still same 
error :(  . However when i try to save a repository with Show this 
repository option unchecked, then its able to save the repository. Am 
still seeing same error in logs. The only solution i can think of is to get 
rid of all installations and start on a clean slate! 

-- 
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: Authentication failed while adding svn repository

2014-07-18 Thread David Trowbridge
It's expected that username and password would be None in the particular stack 
trace you included (since at that point it's just creating it to check that it 
can). The actual repository checking is a different code path that does include 
credentials.

-David

 On Jul 16, 2014, at 12:11 PM, Alexis alexisde...@gmail.com wrote:
 
 Hi Christian,
 
 I am encountering the same issue. it seems that before accessing the 
 repository, review board checks that it exists by trying to access it without 
 credentials (assumes there is public access to read) and then it accesses it 
 using the credentials. I have made the code fail where the error occurs to 
 get a traceback:
 2014-07-15 15:31:52,529 - ERROR -  - SVN: Failed to get repository 
 information for https://example.com:81/svn/Test: callback_get_login required
 2014-07-15 15:50:25,674 - ERROR -  - Exception thrown for user admin at 
 http://example.com:8181/reviewboard/admin/db/scmtools/repository/add/
 
 unexpected indent (pysvn.py, line 39)
 Traceback (most recent call last):
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\core\handlers\base.py, 
 line 112, in get_response
 response = wrapped_callback(request, *callback_args, **callback_kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\options.py, 
 line 432, in wrapper
 return self.admin_site.admin_view(view)(*args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, line 
 99, in _wrapped_view
 response = view_func(request, *args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\views\decorators\cache.py,
  line 52, in _wrapped_view_func
 response = view_func(request, *args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\sites.py, 
 line 198, in inner
 return view(request, *args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, line 
 29, in _wrapper
 return bound_func(*args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, line 
 99, in _wrapped_view
 response = view_func(request, *args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, line 
 25, in bound_func
 return func(self, *args2, **kwargs2)
   File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\db\transaction.py, 
 line 371, in inner
 return func(*args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\options.py, 
 line 1113, in add_view
 if form.is_valid():
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
  line 1024, in is_valid
 if not super(RepositoryForm, self).is_valid():
   File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
 line 129, in is_valid
 return self.is_bound and not bool(self.errors)
   File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
 line 121, in errors
 self.full_clean()
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
  line 813, in full_clean
 super(RepositoryForm, self).full_clean()
   File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
 line 273, in full_clean
 self._clean_fields()
   File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
 line 291, in _clean_fields
 value = getattr(self, 'clean_%s' % name)()
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
  line 988, in clean_tool
 scmtool_class = tool.get_scmtool_class()
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\models.py,
  line 56, in get_scmtool_class
 [six.binary_type(attr)])
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\svn\__init__.py,
  line 552, in module
 recompute_svn_backend()
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\svn\__init__.py,
  line 527, in recompute_svn_backend
 fromlist=['Client', 'has_svn_backend'])
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\svn\pysvn.py,
  line 39
 logging.debug('SVN: username: %s, password: %s' %
^
 IndentationError: unexpected indent
 2014-07-15 16:25:14,766 - INFO -  - Using reviewboard.scmtools.svn.pysvn 
 backend for SVN
 2014-07-15 16:35:53,088 - INFO -  - Using reviewboard.scmtools.svn.pysvn 
 backend for SVN
 2014-07-15 16:36:55,710 - DEBUG -  - SVN: username: None, password: None
 
 As you can see at this point, username and password are both none. I created 
 a hack by commenting 

Re: Authentication failed while adding svn repository

2014-07-18 Thread Alexis
David,

Thanks for the response. All I am saying is that at that point of the code, 
it fails with authentication error not when it checks for the repository. I 
added log messages at the points where it checks for repository and it 
passes. It's at creation time that it fails not when it checks for the 
repository. After I comment out the exception so it can pass the creation 
without authentication, it passes the repository checking and the creation 
of a new repository. So there is one point where it tries to access the 
repository without authentication.

Maybe the error comes from from form.py, clean(self), 
self._verify_repository_path(), scmtool_class.check_repository(path, 
username, password,self.local_site_name)?

What can I do to debug this? Do you want me to put some logging printouts 
at any point of the code? I am obviously running at this point but with a 
monumental hack of commenting out error handling (exceptions).

Alexis

On Friday, 18 July 2014 15:51:55 UTC-5, David Trowbridge wrote:

 It's expected that username and password would be None in the particular 
 stack trace you included (since at that point it's just creating it to 
 check that it can). The actual repository checking is a different code path 
 that does include credentials.

 -David

 On Jul 16, 2014, at 12:11 PM, Alexis alexi...@gmail.com javascript: 
 wrote:

 Hi Christian,

 I am encountering the same issue. it seems that before accessing the 
 repository, review board checks that it exists by trying to access it 
 without credentials (assumes there is public access to read) and then it 
 accesses it using the credentials. I have made the code fail where the 
 error occurs to get a traceback:
 2014-07-15 15:31:52,529 - ERROR -  - SVN: Failed to get repository 
 information for https://example.com:81/svn/Test: callback_get_login 
 required
 2014-07-15 15:50:25,674 - ERROR -  - Exception thrown for user admin at 
 http://example.com:8181/reviewboard/admin/db/scmtools/repository/add/

 unexpected indent (pysvn.py, line 39)
 Traceback (most recent call last):
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\core\handlers\base.py, 
 line 112, in get_response
 response = wrapped_callback(request, *callback_args, **callback_kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\options.py, 
 line 432, in wrapper
 return self.admin_site.admin_view(view)(*args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
 line 99, in _wrapped_view
 response = view_func(request, *args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\views\decorators\cache.py,
  
 line 52, in _wrapped_view_func
 response = view_func(request, *args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\sites.py, 
 line 198, in inner
 return view(request, *args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
 line 29, in _wrapper
 return bound_func(*args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
 line 99, in _wrapped_view
 response = view_func(request, *args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
 line 25, in bound_func
 return func(self, *args2, **kwargs2)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\db\transaction.py, line 
 371, in inner
 return func(*args, **kwargs)
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\options.py, 
 line 1113, in add_view
 if form.is_valid():
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
  
 line 1024, in is_valid
 if not super(RepositoryForm, self).is_valid():
   File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
 line 129, in is_valid
 return self.is_bound and not bool(self.errors)
   File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
 line 121, in errors
 self.full_clean()
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
  
 line 813, in full_clean
 super(RepositoryForm, self).full_clean()
   File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
 line 273, in full_clean
 self._clean_fields()
   File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
 line 291, in _clean_fields
 value = getattr(self, 'clean_%s' % name)()
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
  
 line 988, in clean_tool
 scmtool_class = tool.get_scmtool_class()
   File 
 C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\models.py,
  
 line 56, in get_scmtool_class
 

Re: Authentication failed while adding svn repository

2014-07-16 Thread Alexis
Hi Christian,

I am encountering the same issue. it seems that before accessing the 
repository, review board checks that it exists by trying to access it 
without credentials (assumes there is public access to read) and then it 
accesses it using the credentials. I have made the code fail where the 
error occurs to get a traceback:
2014-07-15 15:31:52,529 - ERROR -  - SVN: Failed to get repository 
information for https://roswell.corp.standardaero.com:8443/svn/TSE: 
callback_get_login required
2014-07-15 15:50:25,674 - ERROR -  - Exception thrown for user admin at 
http://41626wpg:8181/reviewboard/admin/db/scmtools/repository/add/

unexpected indent (pysvn.py, line 39)
Traceback (most recent call last):
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\core\handlers\base.py, 
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\options.py, 
line 432, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
line 99, in _wrapped_view
response = view_func(request, *args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\views\decorators\cache.py, 
line 52, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\sites.py, 
line 198, in inner
return view(request, *args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
line 29, in _wrapper
return bound_func(*args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
line 99, in _wrapped_view
response = view_func(request, *args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
line 25, in bound_func
return func(self, *args2, **kwargs2)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\db\transaction.py, line 
371, in inner
return func(*args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\options.py, 
line 1113, in add_view
if form.is_valid():
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
 
line 1024, in is_valid
if not super(RepositoryForm, self).is_valid():
  File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
line 129, in is_valid
return self.is_bound and not bool(self.errors)
  File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
line 121, in errors
self.full_clean()
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
 
line 813, in full_clean
super(RepositoryForm, self).full_clean()
  File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
line 273, in full_clean
self._clean_fields()
  File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
line 291, in _clean_fields
value = getattr(self, 'clean_%s' % name)()
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
 
line 988, in clean_tool
scmtool_class = tool.get_scmtool_class()
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\models.py,
 
line 56, in get_scmtool_class
[six.binary_type(attr)])
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\svn\__init__.py,
 
line 552, in module
recompute_svn_backend()
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\svn\__init__.py,
 
line 527, in recompute_svn_backend
fromlist=['Client', 'has_svn_backend'])
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\svn\pysvn.py,
 
line 39
logging.debug('SVN: username: %s, password: %s' %
   ^
IndentationError: unexpected indent
2014-07-15 16:25:14,766 - INFO -  - Using reviewboard.scmtools.svn.pysvn 
backend for SVN
2014-07-15 16:35:53,088 - INFO -  - Using reviewboard.scmtools.svn.pysvn 
backend for SVN
2014-07-15 16:36:55,710 - DEBUG -  - *SVN: username: None, password: None*

As you can see at this point, username and password are both none. I 
created a hack by commenting out the exception code in 
ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\svn__init__.py but it is 
obviously not a proper fix:

def on_ssl_failure(e, path, cert_data):
logging.error('SVN: Failed to get repository information '
  'for %s: %s' % (path, e))
#if 'callback_get_login required' in six.text_type(e):
#raise AuthenticationError(msg=Authentication 

Re: Authentication failed while adding svn repository

2014-07-16 Thread Alexis
Hi Christian,

I am encountering the same issue. it seems that before accessing the 
repository, review board checks that it exists by trying to access it 
without credentials (assumes there is public access to read) and then it 
accesses it using the credentials. I have made the code fail where the 
error occurs to get a traceback:
2014-07-15 15:31:52,529 - ERROR -  - SVN: Failed to get repository 
information for https://example.com:81/svn/Test: callback_get_login required
2014-07-15 15:50:25,674 - ERROR -  - Exception thrown for user admin 
at http://example.com:8181/reviewboard/admin/db/scmtools/repository/add/

unexpected indent (pysvn.py, line 39)
Traceback (most recent call last):
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\core\handlers\base.py, 
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\options.py, 
line 432, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
line 99, in _wrapped_view
response = view_func(request, *args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\views\decorators\cache.py, 
line 52, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\sites.py, 
line 198, in inner
return view(request, *args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
line 29, in _wrapper
return bound_func(*args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
line 99, in _wrapped_view
response = view_func(request, *args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\utils\decorators.py, 
line 25, in bound_func
return func(self, *args2, **kwargs2)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\db\transaction.py, line 
371, in inner
return func(*args, **kwargs)
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\django\django\contrib\admin\options.py, 
line 1113, in add_view
if form.is_valid():
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
 
line 1024, in is_valid
if not super(RepositoryForm, self).is_valid():
  File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
line 129, in is_valid
return self.is_bound and not bool(self.errors)
  File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
line 121, in errors
self.full_clean()
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
 
line 813, in full_clean
super(RepositoryForm, self).full_clean()
  File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
line 273, in full_clean
self._clean_fields()
  File C:\BitNami\reviewboard-2.0.2-0\apps\django\django\forms\forms.py, 
line 291, in _clean_fields
value = getattr(self, 'clean_%s' % name)()
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\forms.py,
 
line 988, in clean_tool
scmtool_class = tool.get_scmtool_class()
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\models.py,
 
line 56, in get_scmtool_class
[six.binary_type(attr)])
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\svn\__init__.py,
 
line 552, in module
recompute_svn_backend()
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\svn\__init__.py,
 
line 527, in recompute_svn_backend
fromlist=['Client', 'has_svn_backend'])
  File 
C:\BitNami\reviewboard-2.0.2-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\svn\pysvn.py,
 
line 39
logging.debug('SVN: username: %s, password: %s' %
   ^
IndentationError: unexpected indent
2014-07-15 16:25:14,766 - INFO -  - Using reviewboard.scmtools.svn.pysvn 
backend for SVN
2014-07-15 16:35:53,088 - INFO -  - Using reviewboard.scmtools.svn.pysvn 
backend for SVN
2014-07-15 16:36:55,710 - DEBUG -  - *SVN: username: None, password: None*

As you can see at this point, username and password are both none. I 
created a hack by commenting out the exception code in 
ReviewBoard-2.0.2-py2.7.egg\reviewboard\scmtools\svn__init__.py but it is 
obviously not a proper fix:

def on_ssl_failure(e, path, cert_data):
logging.error('SVN: Failed to get repository information '
  'for %s: %s' % (path, e))
#if 'callback_get_login required' in six.text_type(e):
#raise AuthenticationError(msg=Authentication failed)


Re: Authentication failed while adding svn repository

2014-07-14 Thread Christian Hammond
I wish I had an answer for you, but this is not typical behavior.

I’d try upgrading PySVN. I’d also delete your $sitedir/data/.subversion 
directory, to start from scratch.

Make sure the correct username and password are being used in the repository 
setup. Don’t specify a username in the URL.

If all that fails.. not sure, really. We’d have to investigate deeper by 
actually running code on your server, but we only offer that with support 
contracts.

Christian

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

On July 13, 2014 at 10:45:50 PM, shravanthi s (shrav...@gmail.com) wrote:

I have checked reviewboard.log and this is the only error which comes up in the 
log

 ERROR -  - SVN: Failed to get repository information for 
https://test.com/svn/myfolder/Phoenix: callback_get_login required

Any other log you want me to check?

--
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: Authentication failed while adding svn repository

2014-07-13 Thread MoonWalker
Did you tried to enable logging to find out what is actually happening ?

On Sunday, July 13, 2014 12:01:14 AM UTC+10, shravanthi s wrote:

 Should i try to reinstall pysvn or subversion?

 I have to get this working asap :( Can someone pls help me resolve this 
 issue?



-- 
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: Authentication failed while adding svn repository

2014-07-13 Thread shravanthi s
I have checked reviewboard.log and this is the only error which comes up in 
the log

 ERROR -  - SVN: Failed to get repository information for 
https://test.com/svn/myfolder/Phoenix: callback_get_login required

Any other log you want me to check?

-- 
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: Authentication failed while adding svn repository

2014-07-12 Thread shravanthi s
Should i try to reinstall pysvn or subversion?

I have to get this working asap :( Can someone pls help me resolve this 
 issue?


-- 
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: Authentication failed while adding svn repository

2014-07-11 Thread shravanthi s


 I have tried accessing the svn repo from the server and it works without 
 any issue. So am not sure what else is causing the issue. Any pointers?


-- 
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: Authentication failed while adding svn repository

2014-07-10 Thread shravanthi s
I tried this piece of code to check if pysvn was working fine

import pysvn
 
def login(realm, username, may_save):
user = 'my_user'
password = 'my_password'
return True, user, password, False
 
def svnCo(repo_url,checkout_dir):
client = pysvn.Client()
client.callback_get_login = login
client.checkout(repo_url,checkout_dir)
 
svnCo('https://my-svn-server.net/my-project','/data/local_repo/my-project/')

And it checked out the svn files without any issue. So it is nothing to do 
with svn link or credentials or pysvn version. 
What else do you think is causing the issue?





-- 
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: Authentication failed while adding svn repository

2014-07-10 Thread MoonWalker
If I remember well svn (in our case) will block the user if the credentials 
were wrong after 3 times. Have you tried to login in the reviewboard server 
and try to access the svn repository? 

On Thursday, July 10, 2014 8:55:35 PM UTC+10, shravanthi s wrote:

 I tried this piece of code to check if pysvn was working fine

 import pysvn
  
 def login(realm, username, may_save):
 user = 'my_user'
 password = 'my_password'
 return True, user, password, False
  
 def svnCo(repo_url,checkout_dir):
 client = pysvn.Client()
 client.callback_get_login = login
 client.checkout(repo_url,checkout_dir)
  
 svnCo('https://my-svn-server.net/my-project
 ','/data/local_repo/my-project/')

 And it checked out the svn files without any issue. So it is nothing to do 
 with svn link or credentials or pysvn version. 
 What else do you think is causing the issue?





-- 
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: Authentication failed while adding svn repository

2014-07-09 Thread shravanthi s
I have verified that credentials are correct and i can login using same 
credentials manually into svn. I also entered required credentials while 
adding repository info. It still gives the same error. Am not sure what 
else can go wrong here. Do you need any other information? I dont know what 
else to try, to fix this issue

On Tuesday, 8 July 2014 14:55:40 UTC+5:30, shravanthi s wrote:

 Hi,

 I have installed Review Board 2.0.2 on RHEL 6.5 machine. I installed 
 subversion 1.6.11 and pysvn version 1.7.8. 
 However when i tried to add a repository, even though my login credentials 
 are correct, am unable to add it. It gives an error 'Authentication failed' 
 . So currently review board is unusable.

 The reviewboard log shows error as below

  ERROR -  - SVN: Failed to get repository information for 
 https://test.com/svn/myfolder/Phoenix: callback_get_login required

 Am not sure what is going wrong here. Anything to do with my pysvn 
 version?


-- 
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: Authentication failed while adding svn repository

2014-07-08 Thread shravanthi s


Any update on this? Am kinda stuck as review board in unusable right now. 
Can someone please point me in the right direction?

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