Re: Failed to get repository information svn+ssh

2013-11-20 Thread 刘金雨
I got the same issue and report it at here Issue 3140: unable to add 
subversion 
respositoryhttps://code.google.com/p/reviewboard/issues/detail?id=3140


在 2013年3月13日星期三UTC+11上午6时42分47秒,Christian Hammond写道:

 That's a known issue. We tell pysvn about the path and username, but it 
 chooses to ignore the username. We should probably rewrite the path 
 on-the-fly, but I fear that can lead to unexpected configuration problems.

 You should be able to put the username in and just have the original in 
 Mirror Path for lookup, or better yet, just specify the repository name in 
 .reviewboardrc.

 Christian


 On Mar 12, 2013, at 5:41, Pierre-Emmanuel Dutang 
 dut...@gmail.comjavascript: 
 wrote:

 Hi guys,

 I tried this solution 
 https://code.google.com/p/reviewboard/issues/detail?id=2834 and visibly 
 it's working but I still have an issue about the username.

 The username have to be in the repo address, if I don't put any name in 
 the repo address it's doesn't works :(

 best

 Pierre

 On Thursday, February 21, 2013 6:51:42 AM UTC+1, Christian Hammond wrote:

 We're going to get a fix for this in a release tonight.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Wed, Feb 20, 2013 at 2:44 PM, Alex Edwards edward...@gmail.comwrote:

 This did in fact work.

 thankyou


 On Tuesday, 19 February 2013 08:28:36 UTC-8, o10k...@gmail.com wrote:

 Hi.

 Perhaps, Issue 2834 could be helpful for you.

 http://code.google.com/p/reviewboard/issues/detail?id=2834

  -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
 --- 
 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/groups/opt_out.
  
  




-- 
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/groups/opt_out.


Re: Failed to get repository information svn+ssh

2013-03-12 Thread Pierre-Emmanuel Dutang
Hi guys,

I tried this solution 
https://code.google.com/p/reviewboard/issues/detail?id=2834 and visibly 
it's working but I still have an issue about the username.

The username have to be in the repo address, if I don't put any name in the 
repo address it's doesn't works :(

best

Pierre

On Thursday, February 21, 2013 6:51:42 AM UTC+1, Christian Hammond wrote:

 We're going to get a fix for this in a release tonight.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Wed, Feb 20, 2013 at 2:44 PM, Alex Edwards 
 edward...@gmail.comjavascript:
  wrote:

 This did in fact work.

 thankyou


 On Tuesday, 19 February 2013 08:28:36 UTC-8, o10k...@gmail.com wrote:

 Hi.

 Perhaps, Issue 2834 could be helpful for you.

 http://code.google.com/p/**reviewboard/issues/detail?id=**2834http://code.google.com/p/reviewboard/issues/detail?id=2834

  -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard...@googlegroups.com javascript:
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  




-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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/groups/opt_out.




Re: Failed to get repository information svn+ssh

2013-03-12 Thread Christian Hammond
That's a known issue. We tell pysvn about the path and username, but it chooses 
to ignore the username. We should probably rewrite the path on-the-fly, but I 
fear that can lead to unexpected configuration problems.

You should be able to put the username in and just have the original in Mirror 
Path for lookup, or better yet, just specify the repository name in 
.reviewboardrc.

Christian


On Mar 12, 2013, at 5:41, Pierre-Emmanuel Dutang duta...@gmail.com wrote:

 Hi guys,
 
 I tried this solution 
 https://code.google.com/p/reviewboard/issues/detail?id=2834 and visibly it's 
 working but I still have an issue about the username.
 
 The username have to be in the repo address, if I don't put any name in the 
 repo address it's doesn't works :(
 
 best
 
 Pierre
 
 On Thursday, February 21, 2013 6:51:42 AM UTC+1, Christian Hammond wrote:
 
 We're going to get a fix for this in a release tonight.
 
 Christian
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 
 On Wed, Feb 20, 2013 at 2:44 PM, Alex Edwards edward...@gmail.com wrote:
 This did in fact work.
 
 thankyou
 
 
 On Tuesday, 19 February 2013 08:28:36 UTC-8, o10k...@gmail.com wrote:
 
 Hi.
 
 Perhaps, Issue 2834 could be helpful for you.
 
 http://code.google.com/p/reviewboard/issues/detail?id=2834
 
 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
 --- 
 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/groups/opt_out.
 

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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/groups/opt_out.




Re: Failed to get repository information svn+ssh

2013-02-19 Thread o10ka . 72b
Hi.

Perhaps, Issue 2834 could be helpful for you.

http://code.google.com/p/reviewboard/issues/detail?id=2834

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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/groups/opt_out.




Re: Failed to get repository information svn+ssh

2013-02-12 Thread andreasfischer82
Same problem here! I do not get ReviewBoard 1.7.5 working with our 
subversion repository.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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/groups/opt_out.




Re: Failed to get repository information svn+ssh

2013-02-06 Thread Alex Edwards
I don't have a working solution yet

On Tuesday, 5 February 2013 05:23:06 UTC-8, Pierre-Emmanuel Dutang wrote:

 Hello guys,

 Have you find a solution for this issue cause I have exactly the same 
 problem when I want to add a svn repository.

 thanks

 On Thursday, January 24, 2013 9:37:55 PM UTC+1, Alex Edwards wrote:

 yes I am using my svn username in the url like this 
 svn+ssh://username@host/repo

 and when i use the gui to create a repository I use the same url but I 
 also set the username to be the same username 

 On Thursday, 24 January 2013 12:02:28 UTC-8, Christian Hammond wrote:

 Also I don't think the rb-site shell test you're doing is enough. 
 There's a bunch of environment variables and things we set that won't be 
 set in this case. You should repro by actually trying to create a 
 repository, and making sure you include the username in the svn+ssh://.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Thu, Jan 24, 2013 at 11:07 AM, Christian Hammond chi...@gmail.comwrote:

 Make sure you're including the proper username as part of the URL.

 Christian


 On Jan 24, 2013, at 9:40, Alex Edwards edward...@gmail.com wrote:

 Ok,

 that didn't appear to have any effect. 
 I deleted the file that was output by that command and reinstalled 
 using the command you asked.

 I'm still not ruling out that this is a config problem by me. I tried 
 running the rb shell

 rb-site manage /path/ shell

 I repeated this (and imported pysvn)
  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:

 This hung until something killed it (maybe 5-10 min)
 Should I be trying a rb specific script?

 On Thursday, 24 January 2013 00:19:58 UTC-8, Christian Hammond wrote:

 Hi Alex,

 I've either lost my mind or found a very weird bug, so I want to have 
 you run a test for me to see what happens.

 Blow away your pycrypto installation. You can find the location by 
 doing:

 $ python
  import Crypto
  Crypto.__file__

 There should be a path to a .egg file (or something inside it). It 
 should be a single file, not a directory.

 Once you've done that, re-install using:

 $ sudo easy_install -Z pycrypto

 -Z is going to have it install as an egg directory, rather than a zip 
 file.

 Then try again to set up the repository and see what happens.

 Christian


 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Wed, Jan 23, 2013 at 7:39 PM, Christian Hammond 
 chi...@gmail.comwrote:

 If you run the rb-site command I mentioned, you should get that shell.

 I've been actively working on this problem, but it is very strange... 
 I'll let you know when I finally have something to test.

 Christian


 On Jan 23, 2013, at 8:59, Alex Edwards edward...@gmail.com wrote:

 I'm not sure how to run as a rb shell, I was just running in python

 On Tuesday, 22 January 2013 11:07:28 UTC-8, Christian Hammond wrote:

 Running that likely wont give you an accurate repro case. There's a 
 lot that goes on to configure what's used for SSH and how the key is 
 loaded.

 Are you just running that in Python, or using 'rb-site manage 
 /path/to/site shell'?

 Christian


 On Jan 22, 2013, at 10:55, Alex Edwards edward...@gmail.com wrote:

 that didn't seem to change anything.

 If i do this:

  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:


 should I see some content? or does python just exit?


 On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond wrote:

 I don't think Apache really factors into this.

 One more thing to try is to edit your site's conf/settings_local.py 
 file and add:

 TIME_ZONE = 'US/Pacific'

 And then restart Apache and try again.

 If it works, it's a bandaid. I have thoughts on a better fix, but I 
 want to check that first.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com 

 On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.com 
 wrote:

 All servers are running on PST, I had already configured the 
 timezone (or reviewboard has done it for me) to US/Pacific. I tried 
 reviewboard on UTC same errors in the logs, ive checked and they are 
 all in 
 sync. Does apache keep a default location/timezone as well that I 
 might 
 need to change?

 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:

 I've spent the past couple hours looking into this. I doubt I will 
 have a fix by tomorrow, unfortunately. This is a very strange bug.

 Here's what's basically going on:

 Review Board 1.7 uses Django 1.4, which introduced timezone 
 support, used to specify timezone info in the database and allow for 
 per-user timezone localization. We made use of this and set the 
 default 
 

Re: Failed to get repository information svn+ssh

2013-02-05 Thread Pierre-Emmanuel Dutang
Hello guys,

I would like to know if you have a solution for this issue cause I have 
exactly the same problem on my svn repository

thanks

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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/groups/opt_out.




Re: Failed to get repository information svn+ssh

2013-02-05 Thread Pierre-Emmanuel Dutang
Hello guys,

Have you find a solution for this issue cause I have exactly the same 
problem when I want to add a svn repository.

thanks

On Thursday, January 24, 2013 9:37:55 PM UTC+1, Alex Edwards wrote:

 yes I am using my svn username in the url like this 
 svn+ssh://username@host/repo

 and when i use the gui to create a repository I use the same url but I 
 also set the username to be the same username 

 On Thursday, 24 January 2013 12:02:28 UTC-8, Christian Hammond wrote:

 Also I don't think the rb-site shell test you're doing is enough. There's 
 a bunch of environment variables and things we set that won't be set in 
 this case. You should repro by actually trying to create a repository, and 
 making sure you include the username in the svn+ssh://.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Thu, Jan 24, 2013 at 11:07 AM, Christian Hammond chi...@gmail.comwrote:

 Make sure you're including the proper username as part of the URL.

 Christian


 On Jan 24, 2013, at 9:40, Alex Edwards edward...@gmail.com wrote:

 Ok,

 that didn't appear to have any effect. 
 I deleted the file that was output by that command and reinstalled using 
 the command you asked.

 I'm still not ruling out that this is a config problem by me. I tried 
 running the rb shell

 rb-site manage /path/ shell

 I repeated this (and imported pysvn)
  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:

 This hung until something killed it (maybe 5-10 min)
 Should I be trying a rb specific script?

 On Thursday, 24 January 2013 00:19:58 UTC-8, Christian Hammond wrote:

 Hi Alex,

 I've either lost my mind or found a very weird bug, so I want to have 
 you run a test for me to see what happens.

 Blow away your pycrypto installation. You can find the location by 
 doing:

 $ python
  import Crypto
  Crypto.__file__

 There should be a path to a .egg file (or something inside it). It 
 should be a single file, not a directory.

 Once you've done that, re-install using:

 $ sudo easy_install -Z pycrypto

 -Z is going to have it install as an egg directory, rather than a zip 
 file.

 Then try again to set up the repository and see what happens.

 Christian


 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Wed, Jan 23, 2013 at 7:39 PM, Christian Hammond chi...@gmail.comwrote:

 If you run the rb-site command I mentioned, you should get that shell.

 I've been actively working on this problem, but it is very strange... 
 I'll let you know when I finally have something to test.

 Christian


 On Jan 23, 2013, at 8:59, Alex Edwards edward...@gmail.com wrote:

 I'm not sure how to run as a rb shell, I was just running in python

 On Tuesday, 22 January 2013 11:07:28 UTC-8, Christian Hammond wrote:

 Running that likely wont give you an accurate repro case. There's a 
 lot that goes on to configure what's used for SSH and how the key is 
 loaded.

 Are you just running that in Python, or using 'rb-site manage 
 /path/to/site shell'?

 Christian


 On Jan 22, 2013, at 10:55, Alex Edwards edward...@gmail.com wrote:

 that didn't seem to change anything.

 If i do this:

  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:


 should I see some content? or does python just exit?


 On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond wrote:

 I don't think Apache really factors into this.

 One more thing to try is to edit your site's conf/settings_local.py 
 file and add:

 TIME_ZONE = 'US/Pacific'

 And then restart Apache and try again.

 If it works, it's a bandaid. I have thoughts on a better fix, but I 
 want to check that first.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com 

 On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.com 
 wrote:

 All servers are running on PST, I had already configured the 
 timezone (or reviewboard has done it for me) to US/Pacific. I tried 
 reviewboard on UTC same errors in the logs, ive checked and they are 
 all in 
 sync. Does apache keep a default location/timezone as well that I might 
 need to change?

 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:

 I've spent the past couple hours looking into this. I doubt I will 
 have a fix by tomorrow, unfortunately. This is a very strange bug.

 Here's what's basically going on:

 Review Board 1.7 uses Django 1.4, which introduced timezone 
 support, used to specify timezone info in the database and allow for 
 per-user timezone localization. We made use of this and set the 
 default 
 server timezone to UTC.

 Somehow, setting this timezone to UTC causes a problem I think 
 between libsvn and rbssh. rbssh's 

Re: Failed to get repository information svn+ssh

2013-01-24 Thread Christian Hammond
Hi Alex,

I've either lost my mind or found a very weird bug, so I want to have you
run a test for me to see what happens.

Blow away your pycrypto installation. You can find the location by doing:

$ python
 import Crypto
 Crypto.__file__

There should be a path to a .egg file (or something inside it). It should
be a single file, not a directory.

Once you've done that, re-install using:

$ sudo easy_install -Z pycrypto

-Z is going to have it install as an egg directory, rather than a zip file.

Then try again to set up the repository and see what happens.

Christian


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


On Wed, Jan 23, 2013 at 7:39 PM, Christian Hammond chip...@gmail.comwrote:

 If you run the rb-site command I mentioned, you should get that shell.

 I've been actively working on this problem, but it is very strange... I'll
 let you know when I finally have something to test.

 Christian


 On Jan 23, 2013, at 8:59, Alex Edwards edwards.a...@gmail.com wrote:

 I'm not sure how to run as a rb shell, I was just running in python

 On Tuesday, 22 January 2013 11:07:28 UTC-8, Christian Hammond wrote:

 Running that likely wont give you an accurate repro case. There's a lot
 that goes on to configure what's used for SSH and how the key is loaded.

 Are you just running that in Python, or using 'rb-site manage
 /path/to/site shell'?

 Christian


 On Jan 22, 2013, at 10:55, Alex Edwards edward...@gmail.com wrote:

 that didn't seem to change anything.

 If i do this:

  client = pysvn.Client()
  client.set_default_username('**user')
  client.info2('svn+ssh://host**/repo')
 Password:


 should I see some content? or does python just exit?


 On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond wrote:

 I don't think Apache really factors into this.

 One more thing to try is to edit your site's conf/settings_local.py file
 and add:

 TIME_ZONE = 'US/Pacific'

 And then restart Apache and try again.

 If it works, it's a bandaid. I have thoughts on a better fix, but I want
 to check that first.

 Christian

 --
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com

 On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.com wrote:

 All servers are running on PST, I had already configured the timezone
 (or reviewboard has done it for me) to US/Pacific. I tried reviewboard on
 UTC same errors in the logs, ive checked and they are all in sync. Does
 apache keep a default location/timezone as well that I might need to change?

 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:

 I've spent the past couple hours looking into this. I doubt I will have
 a fix by tomorrow, unfortunately. This is a very strange bug.

 Here's what's basically going on:

 Review Board 1.7 uses Django 1.4, which introduced timezone support,
 used to specify timezone info in the database and allow for per-user
 timezone localization. We made use of this and set the default server
 timezone to UTC.

 Somehow, setting this timezone to UTC causes a problem I think between
 libsvn and rbssh. rbssh's stdin is interrupted early, causing rbssh's
 connection to the server to terminate, causing Review Board to see an
 error, indicating the repository isn't valid.

 Something, somewhere fails when the timezone configured for Review
 Board doesn't match the system timezone.

 Now, what would help is if you could run a test or two for me.

 First off, what timezone is your actual server in/set to?

 Can you try setting your timezone in Review Board's admin UI to match
 that timezone, and try again?

 Christian

 --
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Mon, Jan 21, 2013 at 8:17 PM, Christian Hammond 
 chi...@chipx86.comwrote:

 Good news. I was able to reproduce this.

 I'm going to figure out the root cause and get it into the RB 1.7.3
 release. This will be late tomorrow or, more likely, the day after.

 Christian

 --
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com

 On Jan 21, 2013, at 8:04 PM, Alex Edwards edward...@gmail.com wrote:

 I'm not certain what version it was I will check in the morning it
 would have been 1.6.14 or 1.6.15, how would I test rbssh?

 I dont particularly need to use a certificate, can I get this working
 with a password? I just assumed it only worked with keys! I can set the 
 ssh
 user to have the same password as the svn account, not that secure but I 
 am
 primarily trying to get this working to get it introduced into the process
 where I have recently started.

 thanks
 Alex

 On Monday, 21 January 2013 19:51:30 UTC-8, Christian Hammond wrote:

 Specifying your own ssh will actually make it worse. It needs to use
 our own rbssh in order to use your key.

 

Re: Failed to get repository information svn+ssh

2013-01-24 Thread Alex Edwards
Ok,

that didn't appear to have any effect. 
I deleted the file that was output by that command and reinstalled using 
the command you asked.

I'm still not ruling out that this is a config problem by me. I tried 
running the rb shell

rb-site manage /path/ shell

I repeated this (and imported pysvn)
 client = pysvn.Client()
 client.set_default_username('user')
 client.info2('svn+ssh://host/repo')
Password:

This hung until something killed it (maybe 5-10 min)
Should I be trying a rb specific script?

On Thursday, 24 January 2013 00:19:58 UTC-8, Christian Hammond wrote:

 Hi Alex,

 I've either lost my mind or found a very weird bug, so I want to have you 
 run a test for me to see what happens.

 Blow away your pycrypto installation. You can find the location by doing:

 $ python
  import Crypto
  Crypto.__file__

 There should be a path to a .egg file (or something inside it). It should 
 be a single file, not a directory.

 Once you've done that, re-install using:

 $ sudo easy_install -Z pycrypto

 -Z is going to have it install as an egg directory, rather than a zip file.

 Then try again to set up the repository and see what happens.

 Christian


 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Wed, Jan 23, 2013 at 7:39 PM, Christian Hammond 
 chi...@gmail.comjavascript:
  wrote:

 If you run the rb-site command I mentioned, you should get that shell.

 I've been actively working on this problem, but it is very strange... 
 I'll let you know when I finally have something to test.

 Christian


 On Jan 23, 2013, at 8:59, Alex Edwards edward...@gmail.com javascript: 
 wrote:

 I'm not sure how to run as a rb shell, I was just running in python

 On Tuesday, 22 January 2013 11:07:28 UTC-8, Christian Hammond wrote:

 Running that likely wont give you an accurate repro case. There's a lot 
 that goes on to configure what's used for SSH and how the key is loaded.

 Are you just running that in Python, or using 'rb-site manage 
 /path/to/site shell'?

 Christian


 On Jan 22, 2013, at 10:55, Alex Edwards edward...@gmail.com wrote:

 that didn't seem to change anything.

 If i do this:

  client = pysvn.Client()
  client.set_default_username('**user')
  client.info2('svn+ssh://host**/repo')
 Password:


 should I see some content? or does python just exit?


 On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond wrote:

 I don't think Apache really factors into this.

 One more thing to try is to edit your site's conf/settings_local.py 
 file and add:

 TIME_ZONE = 'US/Pacific'

 And then restart Apache and try again.

 If it works, it's a bandaid. I have thoughts on a better fix, but I 
 want to check that first.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com 

 On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.com wrote:

 All servers are running on PST, I had already configured the timezone 
 (or reviewboard has done it for me) to US/Pacific. I tried reviewboard on 
 UTC same errors in the logs, ive checked and they are all in sync. Does 
 apache keep a default location/timezone as well that I might need to 
 change?

 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:

 I've spent the past couple hours looking into this. I doubt I will 
 have a fix by tomorrow, unfortunately. This is a very strange bug.

 Here's what's basically going on:

 Review Board 1.7 uses Django 1.4, which introduced timezone support, 
 used to specify timezone info in the database and allow for per-user 
 timezone localization. We made use of this and set the default server 
 timezone to UTC.

 Somehow, setting this timezone to UTC causes a problem I think between 
 libsvn and rbssh. rbssh's stdin is interrupted early, causing rbssh's 
 connection to the server to terminate, causing Review Board to see an 
 error, indicating the repository isn't valid.

 Something, somewhere fails when the timezone configured for Review 
 Board doesn't match the system timezone.

 Now, what would help is if you could run a test or two for me.

 First off, what timezone is your actual server in/set to?

 Can you try setting your timezone in Review Board's admin UI to match 
 that timezone, and try again?

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Mon, Jan 21, 2013 at 8:17 PM, Christian Hammond chi...@chipx86.com
  wrote:

 Good news. I was able to reproduce this.

 I'm going to figure out the root cause and get it into the RB 1.7.3 
 release. This will be late tomorrow or, more likely, the day after.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com 

 On Jan 21, 2013, at 8:04 PM, Alex Edwards edward...@gmail.com 
 wrote:

 

Re: Failed to get repository information svn+ssh

2013-01-24 Thread Christian Hammond
Make sure you're including the proper username as part of the URL.

Christian


On Jan 24, 2013, at 9:40, Alex Edwards edwards.a...@gmail.com wrote:

 Ok,
 
 that didn't appear to have any effect. 
 I deleted the file that was output by that command and reinstalled using the 
 command you asked.
 
 I'm still not ruling out that this is a config problem by me. I tried running 
 the rb shell
 
 rb-site manage /path/ shell
 
 I repeated this (and imported pysvn)
  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:
 
 This hung until something killed it (maybe 5-10 min)
 Should I be trying a rb specific script?
 
 On Thursday, 24 January 2013 00:19:58 UTC-8, Christian Hammond  wrote:
 
 Hi Alex,
 
 I've either lost my mind or found a very weird bug, so I want to have you 
 run a test for me to see what happens.
 
 Blow away your pycrypto installation. You can find the location by doing:
 
 $ python
  import Crypto
  Crypto.__file__
 
 There should be a path to a .egg file (or something inside it). It should be 
 a single file, not a directory.
 
 Once you've done that, re-install using:
 
 $ sudo easy_install -Z pycrypto
 
 -Z is going to have it install as an egg directory, rather than a zip file.
 
 Then try again to set up the repository and see what happens.
 
 Christian
 
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 
 On Wed, Jan 23, 2013 at 7:39 PM, Christian Hammond chi...@gmail.com wrote:
 If you run the rb-site command I mentioned, you should get that shell.
 
 I've been actively working on this problem, but it is very strange... I'll 
 let you know when I finally have something to test.
 
 Christian
 
 
 On Jan 23, 2013, at 8:59, Alex Edwards edward...@gmail.com wrote:
 
 I'm not sure how to run as a rb shell, I was just running in python
 
 On Tuesday, 22 January 2013 11:07:28 UTC-8, Christian Hammond wrote:
 
 Running that likely wont give you an accurate repro case. There's a lot 
 that goes on to configure what's used for SSH and how the key is loaded.
 
 Are you just running that in Python, or using 'rb-site manage 
 /path/to/site shell'?
 
 Christian
 
 
 On Jan 22, 2013, at 10:55, Alex Edwards edward...@gmail.com wrote:
 
 that didn't seem to change anything.
 
 If i do this:
  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:
 
 should I see some content? or does python just exit?
 
 On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond wrote:
 
 I don't think Apache really factors into this.
 
 One more thing to try is to edit your site's conf/settings_local.py 
 file and add:
 
 TIME_ZONE = 'US/Pacific'
 
 And then restart Apache and try again.
 
 If it works, it's a bandaid. I have thoughts on a better fix, but I 
 want to check that first.
 
 Christian
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.com wrote:
 
 All servers are running on PST, I had already configured the timezone 
 (or reviewboard has done it for me) to US/Pacific. I tried reviewboard 
 on UTC same errors in the logs, ive checked and they are all in sync. 
 Does apache keep a default location/timezone as well that I might need 
 to change?
 
 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:
 
 I've spent the past couple hours looking into this. I doubt I will 
 have a fix by tomorrow, unfortunately. This is a very strange bug.
 
 Here's what's basically going on:
 
 Review Board 1.7 uses Django 1.4, which introduced timezone support, 
 used to specify timezone info in the database and allow for per-user 
 timezone localization. We made use of this and set the default server 
 timezone to UTC.
 
 Somehow, setting this timezone to UTC causes a problem I think 
 between libsvn and rbssh. rbssh's stdin is interrupted early, causing 
 rbssh's connection to the server to terminate, causing Review Board 
 to see an error, indicating the repository isn't valid.
 
 Something, somewhere fails when the timezone configured for Review 
 Board doesn't match the system timezone.
 
 Now, what would help is if you could run a test or two for me.
 
 First off, what timezone is your actual server in/set to?
 
 Can you try setting your timezone in Review Board's admin UI to match 
 that timezone, and try again?
 
 Christian
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 
 On Mon, Jan 21, 2013 at 8:17 PM, Christian Hammond 
 chi...@chipx86.com wrote:
 Good news. I was able to reproduce this.
 
 I'm going to figure out the root cause and get it into the RB 1.7.3 
 release. This will be late tomorrow or, more likely, the day after.
 
 Christian
 
 -- 
 Christian Hammond - 

Re: Failed to get repository information svn+ssh

2013-01-24 Thread Christian Hammond
Also I don't think the rb-site shell test you're doing is enough. There's a
bunch of environment variables and things we set that won't be set in this
case. You should repro by actually trying to create a repository, and
making sure you include the username in the svn+ssh://.

Christian

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


On Thu, Jan 24, 2013 at 11:07 AM, Christian Hammond chip...@gmail.comwrote:

 Make sure you're including the proper username as part of the URL.

 Christian


 On Jan 24, 2013, at 9:40, Alex Edwards edwards.a...@gmail.com wrote:

 Ok,

 that didn't appear to have any effect.
 I deleted the file that was output by that command and reinstalled using
 the command you asked.

 I'm still not ruling out that this is a config problem by me. I tried
 running the rb shell

 rb-site manage /path/ shell

 I repeated this (and imported pysvn)
  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:

 This hung until something killed it (maybe 5-10 min)
 Should I be trying a rb specific script?

 On Thursday, 24 January 2013 00:19:58 UTC-8, Christian Hammond wrote:

 Hi Alex,

 I've either lost my mind or found a very weird bug, so I want to have you
 run a test for me to see what happens.

 Blow away your pycrypto installation. You can find the location by doing:

 $ python
  import Crypto
  Crypto.__file__

 There should be a path to a .egg file (or something inside it). It should
 be a single file, not a directory.

 Once you've done that, re-install using:

 $ sudo easy_install -Z pycrypto

 -Z is going to have it install as an egg directory, rather than a zip
 file.

 Then try again to set up the repository and see what happens.

 Christian


 --
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Wed, Jan 23, 2013 at 7:39 PM, Christian Hammond chi...@gmail.comwrote:

 If you run the rb-site command I mentioned, you should get that shell.

 I've been actively working on this problem, but it is very strange...
 I'll let you know when I finally have something to test.

 Christian


 On Jan 23, 2013, at 8:59, Alex Edwards edward...@gmail.com wrote:

 I'm not sure how to run as a rb shell, I was just running in python

 On Tuesday, 22 January 2013 11:07:28 UTC-8, Christian Hammond wrote:

 Running that likely wont give you an accurate repro case. There's a lot
 that goes on to configure what's used for SSH and how the key is loaded.

 Are you just running that in Python, or using 'rb-site manage
 /path/to/site shell'?

 Christian


 On Jan 22, 2013, at 10:55, Alex Edwards edward...@gmail.com wrote:

 that didn't seem to change anything.

 If i do this:

  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:


 should I see some content? or does python just exit?


 On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond wrote:

 I don't think Apache really factors into this.

 One more thing to try is to edit your site's conf/settings_local.py
 file and add:

 TIME_ZONE = 'US/Pacific'

 And then restart Apache and try again.

 If it works, it's a bandaid. I have thoughts on a better fix, but I
 want to check that first.

 Christian

 --
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com

 On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.com wrote:

 All servers are running on PST, I had already configured the timezone
 (or reviewboard has done it for me) to US/Pacific. I tried reviewboard on
 UTC same errors in the logs, ive checked and they are all in sync. Does
 apache keep a default location/timezone as well that I might need to 
 change?

 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:

 I've spent the past couple hours looking into this. I doubt I will
 have a fix by tomorrow, unfortunately. This is a very strange bug.

 Here's what's basically going on:

 Review Board 1.7 uses Django 1.4, which introduced timezone support,
 used to specify timezone info in the database and allow for per-user
 timezone localization. We made use of this and set the default server
 timezone to UTC.

 Somehow, setting this timezone to UTC causes a problem I think
 between libsvn and rbssh. rbssh's stdin is interrupted early, causing
 rbssh's connection to the server to terminate, causing Review Board to 
 see
 an error, indicating the repository isn't valid.

 Something, somewhere fails when the timezone configured for Review
 Board doesn't match the system timezone.

 Now, what would help is if you could run a test or two for me.

 First off, what timezone is your actual server in/set to?

 Can you try setting your timezone in Review Board's admin UI to match
 that timezone, and try again?

 Christian

 --
 

Re: Failed to get repository information svn+ssh

2013-01-24 Thread Alex Edwards
yes I am using my svn username in the url like this 
svn+ssh://username@host/repo

and when i use the gui to create a repository I use the same url but I also 
set the username to be the same username 

On Thursday, 24 January 2013 12:02:28 UTC-8, Christian Hammond wrote:

 Also I don't think the rb-site shell test you're doing is enough. There's 
 a bunch of environment variables and things we set that won't be set in 
 this case. You should repro by actually trying to create a repository, and 
 making sure you include the username in the svn+ssh://.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Thu, Jan 24, 2013 at 11:07 AM, Christian Hammond 
 chi...@gmail.comjavascript:
  wrote:

 Make sure you're including the proper username as part of the URL.

 Christian


 On Jan 24, 2013, at 9:40, Alex Edwards edward...@gmail.com javascript: 
 wrote:

 Ok,

 that didn't appear to have any effect. 
 I deleted the file that was output by that command and reinstalled using 
 the command you asked.

 I'm still not ruling out that this is a config problem by me. I tried 
 running the rb shell

 rb-site manage /path/ shell

 I repeated this (and imported pysvn)
  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:

 This hung until something killed it (maybe 5-10 min)
 Should I be trying a rb specific script?

 On Thursday, 24 January 2013 00:19:58 UTC-8, Christian Hammond wrote:

 Hi Alex,

 I've either lost my mind or found a very weird bug, so I want to have 
 you run a test for me to see what happens.

 Blow away your pycrypto installation. You can find the location by doing:

 $ python
  import Crypto
  Crypto.__file__

 There should be a path to a .egg file (or something inside it). It 
 should be a single file, not a directory.

 Once you've done that, re-install using:

 $ sudo easy_install -Z pycrypto

 -Z is going to have it install as an egg directory, rather than a zip 
 file.

 Then try again to set up the repository and see what happens.

 Christian


 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Wed, Jan 23, 2013 at 7:39 PM, Christian Hammond chi...@gmail.comwrote:

 If you run the rb-site command I mentioned, you should get that shell.

 I've been actively working on this problem, but it is very strange... 
 I'll let you know when I finally have something to test.

 Christian


 On Jan 23, 2013, at 8:59, Alex Edwards edward...@gmail.com wrote:

 I'm not sure how to run as a rb shell, I was just running in python

 On Tuesday, 22 January 2013 11:07:28 UTC-8, Christian Hammond wrote:

 Running that likely wont give you an accurate repro case. There's a 
 lot that goes on to configure what's used for SSH and how the key is 
 loaded.

 Are you just running that in Python, or using 'rb-site manage 
 /path/to/site shell'?

 Christian


 On Jan 22, 2013, at 10:55, Alex Edwards edward...@gmail.com wrote:

 that didn't seem to change anything.

 If i do this:

  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:


 should I see some content? or does python just exit?


 On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond wrote:

 I don't think Apache really factors into this.

 One more thing to try is to edit your site's conf/settings_local.py 
 file and add:

 TIME_ZONE = 'US/Pacific'

 And then restart Apache and try again.

 If it works, it's a bandaid. I have thoughts on a better fix, but I 
 want to check that first.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com 

 On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.com 
 wrote:

 All servers are running on PST, I had already configured the timezone 
 (or reviewboard has done it for me) to US/Pacific. I tried reviewboard 
 on 
 UTC same errors in the logs, ive checked and they are all in sync. Does 
 apache keep a default location/timezone as well that I might need to 
 change?

 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:

 I've spent the past couple hours looking into this. I doubt I will 
 have a fix by tomorrow, unfortunately. This is a very strange bug.

 Here's what's basically going on:

 Review Board 1.7 uses Django 1.4, which introduced timezone support, 
 used to specify timezone info in the database and allow for per-user 
 timezone localization. We made use of this and set the default server 
 timezone to UTC.

 Somehow, setting this timezone to UTC causes a problem I think 
 between libsvn and rbssh. rbssh's stdin is interrupted early, causing 
 rbssh's connection to the server to terminate, causing Review Board to 
 see 
 an error, indicating the repository isn't valid.

 

Re: Failed to get repository information svn+ssh

2013-01-23 Thread Alex Edwards
I'm not sure how to run as a rb shell, I was just running in python

On Tuesday, 22 January 2013 11:07:28 UTC-8, Christian Hammond wrote:

 Running that likely wont give you an accurate repro case. There's a lot 
 that goes on to configure what's used for SSH and how the key is loaded.

 Are you just running that in Python, or using 'rb-site manage 
 /path/to/site shell'?

 Christian


 On Jan 22, 2013, at 10:55, Alex Edwards edward...@gmail.com javascript: 
 wrote:

 that didn't seem to change anything.

 If i do this:

  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:


 should I see some content? or does python just exit?


 On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond wrote:

 I don't think Apache really factors into this.

 One more thing to try is to edit your site's conf/settings_local.py file 
 and add:

 TIME_ZONE = 'US/Pacific'

 And then restart Apache and try again.

 If it works, it's a bandaid. I have thoughts on a better fix, but I want 
 to check that first.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com 

 On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.com wrote:

 All servers are running on PST, I had already configured the timezone (or 
 reviewboard has done it for me) to US/Pacific. I tried reviewboard on UTC 
 same errors in the logs, ive checked and they are all in sync. Does apache 
 keep a default location/timezone as well that I might need to change?

 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:

 I've spent the past couple hours looking into this. I doubt I will have 
 a fix by tomorrow, unfortunately. This is a very strange bug.

 Here's what's basically going on:

 Review Board 1.7 uses Django 1.4, which introduced timezone support, 
 used to specify timezone info in the database and allow for per-user 
 timezone localization. We made use of this and set the default server 
 timezone to UTC.

 Somehow, setting this timezone to UTC causes a problem I think between 
 libsvn and rbssh. rbssh's stdin is interrupted early, causing rbssh's 
 connection to the server to terminate, causing Review Board to see an 
 error, indicating the repository isn't valid.

 Something, somewhere fails when the timezone configured for Review Board 
 doesn't match the system timezone.

 Now, what would help is if you could run a test or two for me.

 First off, what timezone is your actual server in/set to?

 Can you try setting your timezone in Review Board's admin UI to match 
 that timezone, and try again?

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Mon, Jan 21, 2013 at 8:17 PM, Christian Hammond 
 chi...@chipx86.comwrote:

 Good news. I was able to reproduce this.

 I'm going to figure out the root cause and get it into the RB 1.7.3 
 release. This will be late tomorrow or, more likely, the day after.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com 

 On Jan 21, 2013, at 8:04 PM, Alex Edwards edward...@gmail.com wrote:

 I'm not certain what version it was I will check in the morning it 
 would have been 1.6.14 or 1.6.15, how would I test rbssh? 

 I dont particularly need to use a certificate, can I get this working 
 with a password? I just assumed it only worked with keys! I can set the 
 ssh 
 user to have the same password as the svn account, not that secure but I 
 am 
 primarily trying to get this working to get it introduced into the process 
 where I have recently started.

 thanks
 Alex

 On Monday, 21 January 2013 19:51:30 UTC-8, Christian Hammond wrote:

 Specifying your own ssh will actually make it worse. It needs to use 
 our own rbssh in order to use your key.

 What 1.6.x release did you first have this problem in? I'm trying to 
 determine if there's some big regression in us, in pysvn/svn, or if 
 there's 
 some common configuration problem.

 Christian


 On Jan 21, 2013, at 10:13, Alex Edwards edward...@gmail.com wrote:

 I have also tried adding this to the svn config file in site 
 root/data/.subversion/config

 ssh = ssh -i 
 /var/www/test.com/data/.ssh/**id_dsahttp://test.com/data/.ssh/id_dsa

 but that doesnt seem to change anything either!

 On Monday, 21 January 2013 10:04:30 UTC-8, Alex Edwards wrote:

 the server with apache and RB is runnning ubuntu, the svn server has 
 selinux but it has been disabled

 I tried using pysvn and was prompted for a password, after which it 
 hung for a while then seems to have exited python (i think), should I 
 have 
 still been in the python shell after executing that command?

 aedwards@aedwards-vm1:~$ sudo -u www-data python
 [sudo] password for aedwards: 
 Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
 [GCC 4.7.2] on linux2
 Type help, 

Re: Failed to get repository information svn+ssh

2013-01-23 Thread Christian Hammond
If you run the rb-site command I mentioned, you should get that shell.

I've been actively working on this problem, but it is very strange... I'll let 
you know when I finally have something to test.

Christian


On Jan 23, 2013, at 8:59, Alex Edwards edwards.a...@gmail.com wrote:

 I'm not sure how to run as a rb shell, I was just running in python
 
 On Tuesday, 22 January 2013 11:07:28 UTC-8, Christian Hammond  wrote:
 
 Running that likely wont give you an accurate repro case. There's a lot that 
 goes on to configure what's used for SSH and how the key is loaded.
 
 Are you just running that in Python, or using 'rb-site manage /path/to/site 
 shell'?
 
 Christian
 
 
 On Jan 22, 2013, at 10:55, Alex Edwards edward...@gmail.com wrote:
 
 that didn't seem to change anything.
 
 If i do this:
  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:
 
 should I see some content? or does python just exit?
 
 On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond wrote:
 
 I don't think Apache really factors into this.
 
 One more thing to try is to edit your site's conf/settings_local.py file 
 and add:
 
 TIME_ZONE = 'US/Pacific'
 
 And then restart Apache and try again.
 
 If it works, it's a bandaid. I have thoughts on a better fix, but I want 
 to check that first.
 
 Christian
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.com wrote:
 
 All servers are running on PST, I had already configured the timezone (or 
 reviewboard has done it for me) to US/Pacific. I tried reviewboard on UTC 
 same errors in the logs, ive checked and they are all in sync. Does 
 apache keep a default location/timezone as well that I might need to 
 change?
 
 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:
 
 I've spent the past couple hours looking into this. I doubt I will have 
 a fix by tomorrow, unfortunately. This is a very strange bug.
 
 Here's what's basically going on:
 
 Review Board 1.7 uses Django 1.4, which introduced timezone support, 
 used to specify timezone info in the database and allow for per-user 
 timezone localization. We made use of this and set the default server 
 timezone to UTC.
 
 Somehow, setting this timezone to UTC causes a problem I think between 
 libsvn and rbssh. rbssh's stdin is interrupted early, causing rbssh's 
 connection to the server to terminate, causing Review Board to see an 
 error, indicating the repository isn't valid.
 
 Something, somewhere fails when the timezone configured for Review Board 
 doesn't match the system timezone.
 
 Now, what would help is if you could run a test or two for me.
 
 First off, what timezone is your actual server in/set to?
 
 Can you try setting your timezone in Review Board's admin UI to match 
 that timezone, and try again?
 
 Christian
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 
 On Mon, Jan 21, 2013 at 8:17 PM, Christian Hammond chi...@chipx86.com 
 wrote:
 Good news. I was able to reproduce this.
 
 I'm going to figure out the root cause and get it into the RB 1.7.3 
 release. This will be late tomorrow or, more likely, the day after.
 
 Christian
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 On Jan 21, 2013, at 8:04 PM, Alex Edwards edward...@gmail.com wrote:
 
 I'm not certain what version it was I will check in the morning it 
 would have been 1.6.14 or 1.6.15, how would I test rbssh? 
 
 I dont particularly need to use a certificate, can I get this working 
 with a password? I just assumed it only worked with keys! I can set 
 the ssh user to have the same password as the svn account, not that 
 secure but I am primarily trying to get this working to get it 
 introduced into the process where I have recently started.
 
 thanks
 Alex
 
 On Monday, 21 January 2013 19:51:30 UTC-8, Christian Hammond wrote:
 
 Specifying your own ssh will actually make it worse. It needs to use 
 our own rbssh in order to use your key.
 
 What 1.6.x release did you first have this problem in? I'm trying to 
 determine if there's some big regression in us, in pysvn/svn, or if 
 there's some common configuration problem.
 
 Christian
 
 
 On Jan 21, 2013, at 10:13, Alex Edwards edward...@gmail.com wrote:
 
 I have also tried adding this to the svn config file in site 
 root/data/.subversion/config
 
 ssh = ssh -i /var/www/test.com/data/.ssh/id_dsa
 
 but that doesnt seem to change anything either!
 
 On Monday, 21 January 2013 10:04:30 UTC-8, Alex Edwards wrote:
 
 the server with apache and RB is runnning ubuntu, the svn server 
 has selinux but it has been disabled
 
 I tried using pysvn and was prompted for a password, after which it 
 hung for a while then seems 

Re: Failed to get repository information svn+ssh

2013-01-22 Thread Alex Edwards
All servers are running on PST, I had already configured the timezone (or 
reviewboard has done it for me) to US/Pacific. I tried reviewboard on UTC 
same errors in the logs, ive checked and they are all in sync. Does apache 
keep a default location/timezone as well that I might need to change?

On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:

 I've spent the past couple hours looking into this. I doubt I will have a 
 fix by tomorrow, unfortunately. This is a very strange bug.

 Here's what's basically going on:

 Review Board 1.7 uses Django 1.4, which introduced timezone support, used 
 to specify timezone info in the database and allow for per-user timezone 
 localization. We made use of this and set the default server timezone to 
 UTC.

 Somehow, setting this timezone to UTC causes a problem I think between 
 libsvn and rbssh. rbssh's stdin is interrupted early, causing rbssh's 
 connection to the server to terminate, causing Review Board to see an 
 error, indicating the repository isn't valid.

 Something, somewhere fails when the timezone configured for Review Board 
 doesn't match the system timezone.

 Now, what would help is if you could run a test or two for me.

 First off, what timezone is your actual server in/set to?

 Can you try setting your timezone in Review Board's admin UI to match that 
 timezone, and try again?

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Mon, Jan 21, 2013 at 8:17 PM, Christian Hammond 
 chi...@chipx86.comjavascript:
  wrote:

 Good news. I was able to reproduce this.

 I'm going to figure out the root cause and get it into the RB 1.7.3 
 release. This will be late tomorrow or, more likely, the day after.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com 

 On Jan 21, 2013, at 8:04 PM, Alex Edwards edward...@gmail.comjavascript: 
 wrote:

 I'm not certain what version it was I will check in the morning it would 
 have been 1.6.14 or 1.6.15, how would I test rbssh? 

 I dont particularly need to use a certificate, can I get this working 
 with a password? I just assumed it only worked with keys! I can set the ssh 
 user to have the same password as the svn account, not that secure but I am 
 primarily trying to get this working to get it introduced into the process 
 where I have recently started.

 thanks
 Alex

 On Monday, 21 January 2013 19:51:30 UTC-8, Christian Hammond wrote:

 Specifying your own ssh will actually make it worse. It needs to use our 
 own rbssh in order to use your key.

 What 1.6.x release did you first have this problem in? I'm trying to 
 determine if there's some big regression in us, in pysvn/svn, or if there's 
 some common configuration problem.

 Christian


 On Jan 21, 2013, at 10:13, Alex Edwards edward...@gmail.com wrote:

 I have also tried adding this to the svn config file in site 
 root/data/.subversion/config

 ssh = ssh -i 
 /var/www/test.com/data/.ssh/**id_dsahttp://test.com/data/.ssh/id_dsa

 but that doesnt seem to change anything either!

 On Monday, 21 January 2013 10:04:30 UTC-8, Alex Edwards wrote:

 the server with apache and RB is runnning ubuntu, the svn server has 
 selinux but it has been disabled

 I tried using pysvn and was prompted for a password, after which it 
 hung for a while then seems to have exited python (i think), should I have 
 still been in the python shell after executing that command?

 aedwards@aedwards-vm1:~$ sudo -u www-data python
 [sudo] password for aedwards: 
 Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
 [GCC 4.7.2] on linux2
 Type help, copyright, credits or license for more information.
  import pysvn
  client = pysvn.Client()
  client.info2('svn+ssh://aedwar**d...@myserver.com/export/cvs/**
 svn/repos http://aedwa...@myserver.com/export/cvs/svn/repos')
 aedw...@myserver.com's password: 

 aedwards@aedwards-vm1:~$

 On Monday, 21 January 2013 09:47:03 UTC-8, Matthew Woehlke wrote:

 On 2013-01-21 12:42, Alex Edwards wrote: 
  I am still having trouble getting this to work, I am unsure what I 
 am doing 
  differently to others. I started with rb 1.6 but couldn't get it 
 working so 
  I thought I would have a go with rb 1.7.1 I reinstalled reviewboard 
 and 
  rbtools. And I am still facing the same problems. 
  
  - I have created an ssh key pair and uploaded the key to 
 reviewboard 
  (and the server). 
  - I can ssh to the server using the key 
  - I can ssh to the server using the apache user (and key) 
  
  When I attempt to add a repository I get an error A repository was 
 not 
  found at the specified path. 

 This sounds suspiciously like Jonathan's recent git troubles... is 
 your 
 server using SELinux? If yes, have you checked your SELinux log for 
 denials? 

 -- 
 Matthew 


 -- 
 Want to help the Review Board project? Donate 

Re: Failed to get repository information svn+ssh

2013-01-22 Thread Christian Hammond
I don't think Apache really factors into this.

One more thing to try is to edit your site's conf/settings_local.py file and 
add:

TIME_ZONE = 'US/Pacific'

And then restart Apache and try again.

If it works, it's a bandaid. I have thoughts on a better fix, but I want to 
check that first.

Christian

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

On Jan 22, 2013, at 8:43 AM, Alex Edwards edwards.a...@gmail.com wrote:

 All servers are running on PST, I had already configured the timezone (or 
 reviewboard has done it for me) to US/Pacific. I tried reviewboard on UTC 
 same errors in the logs, ive checked and they are all in sync. Does apache 
 keep a default location/timezone as well that I might need to change?
 
 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:
 I've spent the past couple hours looking into this. I doubt I will have a fix 
 by tomorrow, unfortunately. This is a very strange bug.
 
 Here's what's basically going on:
 
 Review Board 1.7 uses Django 1.4, which introduced timezone support, used to 
 specify timezone info in the database and allow for per-user timezone 
 localization. We made use of this and set the default server timezone to UTC.
 
 Somehow, setting this timezone to UTC causes a problem I think between libsvn 
 and rbssh. rbssh's stdin is interrupted early, causing rbssh's connection to 
 the server to terminate, causing Review Board to see an error, indicating the 
 repository isn't valid.
 
 Something, somewhere fails when the timezone configured for Review Board 
 doesn't match the system timezone.
 
 Now, what would help is if you could run a test or two for me.
 
 First off, what timezone is your actual server in/set to?
 
 Can you try setting your timezone in Review Board's admin UI to match that 
 timezone, and try again?
 
 Christian
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 
 On Mon, Jan 21, 2013 at 8:17 PM, Christian Hammond chi...@chipx86.com wrote:
 Good news. I was able to reproduce this.
 
 I'm going to figure out the root cause and get it into the RB 1.7.3 release. 
 This will be late tomorrow or, more likely, the day after.
 
 Christian
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 On Jan 21, 2013, at 8:04 PM, Alex Edwards edward...@gmail.com wrote:
 
 I'm not certain what version it was I will check in the morning it would 
 have been 1.6.14 or 1.6.15, how would I test rbssh? 
 
 I dont particularly need to use a certificate, can I get this working with a 
 password? I just assumed it only worked with keys! I can set the ssh user to 
 have the same password as the svn account, not that secure but I am 
 primarily trying to get this working to get it introduced into the process 
 where I have recently started.
 
 thanks
 Alex
 
 On Monday, 21 January 2013 19:51:30 UTC-8, Christian Hammond wrote:
 Specifying your own ssh will actually make it worse. It needs to use our own 
 rbssh in order to use your key.
 
 What 1.6.x release did you first have this problem in? I'm trying to 
 determine if there's some big regression in us, in pysvn/svn, or if there's 
 some common configuration problem.
 
 Christian
 
 
 On Jan 21, 2013, at 10:13, Alex Edwards edward...@gmail.com wrote:
 
 I have also tried adding this to the svn config file in site 
 root/data/.subversion/config
 
 ssh = ssh -i /var/www/test.com/data/.ssh/id_dsa
 
 but that doesnt seem to change anything either!
 
 On Monday, 21 January 2013 10:04:30 UTC-8, Alex Edwards wrote:
 the server with apache and RB is runnning ubuntu, the svn server has 
 selinux but it has been disabled
 
 I tried using pysvn and was prompted for a password, after which it hung 
 for a while then seems to have exited python (i think), should I have still 
 been in the python shell after executing that command?
 
 aedwards@aedwards-vm1:~$ sudo -u www-data python
 [sudo] password for aedwards: 
 Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
 [GCC 4.7.2] on linux2
 Type help, copyright, credits or license for more information.
  import pysvn
  client = pysvn.Client()
  client.info2('svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos')
 aedw...@myserver.com's password: 
 
 aedwards@aedwards-vm1:~$
 
 On Monday, 21 January 2013 09:47:03 UTC-8, Matthew Woehlke wrote:
 On 2013-01-21 12:42, Alex Edwards wrote: 
  I am still having trouble getting this to work, I am unsure what I am 
  doing 
  differently to others. I started with rb 1.6 but couldn't get it working 
  so 
  I thought I would have a go with rb 1.7.1 I reinstalled reviewboard and 
  rbtools. And I am still facing the same problems. 
  
  - I have created an ssh key pair and uploaded the key to reviewboard 
  (and the server). 
  - I can ssh to the server using the key 
  - I can ssh to 

Re: Failed to get repository information svn+ssh

2013-01-22 Thread Alex Edwards
that didn't seem to change anything.

If i do this:

 client = pysvn.Client()
 client.set_default_username('user')
 client.info2('svn+ssh://host/repo')
Password:


should I see some content? or does python just exit?


On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond wrote:

 I don't think Apache really factors into this.

 One more thing to try is to edit your site's conf/settings_local.py file 
 and add:

 TIME_ZONE = 'US/Pacific'

 And then restart Apache and try again.

 If it works, it's a bandaid. I have thoughts on a better fix, but I want 
 to check that first.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com 

 On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.comjavascript: 
 wrote:

 All servers are running on PST, I had already configured the timezone (or 
 reviewboard has done it for me) to US/Pacific. I tried reviewboard on UTC 
 same errors in the logs, ive checked and they are all in sync. Does apache 
 keep a default location/timezone as well that I might need to change?

 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:

 I've spent the past couple hours looking into this. I doubt I will have a 
 fix by tomorrow, unfortunately. This is a very strange bug.

 Here's what's basically going on:

 Review Board 1.7 uses Django 1.4, which introduced timezone support, used 
 to specify timezone info in the database and allow for per-user timezone 
 localization. We made use of this and set the default server timezone to 
 UTC.

 Somehow, setting this timezone to UTC causes a problem I think between 
 libsvn and rbssh. rbssh's stdin is interrupted early, causing rbssh's 
 connection to the server to terminate, causing Review Board to see an 
 error, indicating the repository isn't valid.

 Something, somewhere fails when the timezone configured for Review Board 
 doesn't match the system timezone.

 Now, what would help is if you could run a test or two for me.

 First off, what timezone is your actual server in/set to?

 Can you try setting your timezone in Review Board's admin UI to match 
 that timezone, and try again?

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Mon, Jan 21, 2013 at 8:17 PM, Christian Hammond chi...@chipx86.comwrote:

 Good news. I was able to reproduce this.

 I'm going to figure out the root cause and get it into the RB 1.7.3 
 release. This will be late tomorrow or, more likely, the day after.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com 

 On Jan 21, 2013, at 8:04 PM, Alex Edwards edward...@gmail.com wrote:

 I'm not certain what version it was I will check in the morning it would 
 have been 1.6.14 or 1.6.15, how would I test rbssh? 

 I dont particularly need to use a certificate, can I get this working 
 with a password? I just assumed it only worked with keys! I can set the ssh 
 user to have the same password as the svn account, not that secure but I am 
 primarily trying to get this working to get it introduced into the process 
 where I have recently started.

 thanks
 Alex

 On Monday, 21 January 2013 19:51:30 UTC-8, Christian Hammond wrote:

 Specifying your own ssh will actually make it worse. It needs to use 
 our own rbssh in order to use your key.

 What 1.6.x release did you first have this problem in? I'm trying to 
 determine if there's some big regression in us, in pysvn/svn, or if 
 there's 
 some common configuration problem.

 Christian


 On Jan 21, 2013, at 10:13, Alex Edwards edward...@gmail.com wrote:

 I have also tried adding this to the svn config file in site 
 root/data/.subversion/config

 ssh = ssh -i 
 /var/www/test.com/data/.ssh/**id_dsahttp://test.com/data/.ssh/id_dsa

 but that doesnt seem to change anything either!

 On Monday, 21 January 2013 10:04:30 UTC-8, Alex Edwards wrote:

 the server with apache and RB is runnning ubuntu, the svn server has 
 selinux but it has been disabled

 I tried using pysvn and was prompted for a password, after which it 
 hung for a while then seems to have exited python (i think), should I 
 have 
 still been in the python shell after executing that command?

 aedwards@aedwards-vm1:~$ sudo -u www-data python
 [sudo] password for aedwards: 
 Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
 [GCC 4.7.2] on linux2
 Type help, copyright, credits or license for more information.
  import pysvn
  client = pysvn.Client()
  client.info2('svn+ssh://aedwar**d...@myserver.com/export/cvs/**
 svn/repos http://aedwa...@myserver.com/export/cvs/svn/repos')
 aedw...@myserver.com's password: 

 aedwards@aedwards-vm1:~$

 On Monday, 21 January 2013 09:47:03 UTC-8, Matthew Woehlke wrote:

 On 2013-01-21 12:42, Alex Edwards wrote: 
  I am still having trouble getting this to work, I am unsure what 

Re: Failed to get repository information svn+ssh

2013-01-22 Thread Christian Hammond
Running that likely wont give you an accurate repro case. There's a lot that 
goes on to configure what's used for SSH and how the key is loaded.

Are you just running that in Python, or using 'rb-site manage /path/to/site 
shell'?

Christian


On Jan 22, 2013, at 10:55, Alex Edwards edwards.a...@gmail.com wrote:

 that didn't seem to change anything.
 
 If i do this:
  client = pysvn.Client()
  client.set_default_username('user')
  client.info2('svn+ssh://host/repo')
 Password:
 
 should I see some content? or does python just exit?
 
 On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond  wrote:
 
 I don't think Apache really factors into this.
 
 One more thing to try is to edit your site's conf/settings_local.py file and 
 add:
 
 TIME_ZONE = 'US/Pacific'
 
 And then restart Apache and try again.
 
 If it works, it's a bandaid. I have thoughts on a better fix, but I want to 
 check that first.
 
 Christian
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.com wrote:
 
 All servers are running on PST, I had already configured the timezone (or 
 reviewboard has done it for me) to US/Pacific. I tried reviewboard on UTC 
 same errors in the logs, ive checked and they are all in sync. Does apache 
 keep a default location/timezone as well that I might need to change?
 
 On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote:
 
 I've spent the past couple hours looking into this. I doubt I will have a 
 fix by tomorrow, unfortunately. This is a very strange bug.
 
 Here's what's basically going on:
 
 Review Board 1.7 uses Django 1.4, which introduced timezone support, used 
 to specify timezone info in the database and allow for per-user timezone 
 localization. We made use of this and set the default server timezone to 
 UTC.
 
 Somehow, setting this timezone to UTC causes a problem I think between 
 libsvn and rbssh. rbssh's stdin is interrupted early, causing rbssh's 
 connection to the server to terminate, causing Review Board to see an 
 error, indicating the repository isn't valid.
 
 Something, somewhere fails when the timezone configured for Review Board 
 doesn't match the system timezone.
 
 Now, what would help is if you could run a test or two for me.
 
 First off, what timezone is your actual server in/set to?
 
 Can you try setting your timezone in Review Board's admin UI to match that 
 timezone, and try again?
 
 Christian
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 
 On Mon, Jan 21, 2013 at 8:17 PM, Christian Hammond chi...@chipx86.com 
 wrote:
 Good news. I was able to reproduce this.
 
 I'm going to figure out the root cause and get it into the RB 1.7.3 
 release. This will be late tomorrow or, more likely, the day after.
 
 Christian
 
 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com
 
 On Jan 21, 2013, at 8:04 PM, Alex Edwards edward...@gmail.com wrote:
 
 I'm not certain what version it was I will check in the morning it would 
 have been 1.6.14 or 1.6.15, how would I test rbssh? 
 
 I dont particularly need to use a certificate, can I get this working 
 with a password? I just assumed it only worked with keys! I can set the 
 ssh user to have the same password as the svn account, not that secure 
 but I am primarily trying to get this working to get it introduced into 
 the process where I have recently started.
 
 thanks
 Alex
 
 On Monday, 21 January 2013 19:51:30 UTC-8, Christian Hammond wrote:
 
 Specifying your own ssh will actually make it worse. It needs to use 
 our own rbssh in order to use your key.
 
 What 1.6.x release did you first have this problem in? I'm trying to 
 determine if there's some big regression in us, in pysvn/svn, or if 
 there's some common configuration problem.
 
 Christian
 
 
 On Jan 21, 2013, at 10:13, Alex Edwards edward...@gmail.com wrote:
 
 I have also tried adding this to the svn config file in site 
 root/data/.subversion/config
 
 ssh = ssh -i /var/www/test.com/data/.ssh/id_dsa
 
 but that doesnt seem to change anything either!
 
 On Monday, 21 January 2013 10:04:30 UTC-8, Alex Edwards wrote:
 
 the server with apache and RB is runnning ubuntu, the svn server has 
 selinux but it has been disabled
 
 I tried using pysvn and was prompted for a password, after which it 
 hung for a while then seems to have exited python (i think), should I 
 have still been in the python shell after executing that command?
 
 aedwards@aedwards-vm1:~$ sudo -u www-data python
 [sudo] password for aedwards: 
 Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
 [GCC 4.7.2] on linux2
 Type help, copyright, credits or license for more information.
  import pysvn
  client = pysvn.Client()
  

Failed to get repository information svn+ssh

2013-01-21 Thread Alex Edwards
Hello,

I am still having trouble getting this to work, I am unsure what I am doing 
differently to others. I started with rb 1.6 but couldn't get it working so 
I thought I would have a go with rb 1.7.1 I reinstalled reviewboard and 
rbtools. And I am still facing the same problems.

   - I have created an ssh key pair and uploaded the key to reviewboard 
   (and the server). 
   - I can ssh to the server using the key 
   - I can ssh to the server using the apache user (and key)

When I attempt to add a repository I get an error A repository was not 
found at the specified path.
Hosting Service: none
Repository Type: SVN
Path: svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos
Username: aedwards

With these settings the error in the logs (if I remove username from 
path I get the same errors):

2013-01-21 09:28:08,994 - DEBUG - SVNTool: Attempting ssh connection with 
host: myserver.com, username: aedwards
2013-01-21 09:28:09,035 - DEBUG - starting thread (client mode): 0xc18c550L
2013-01-21 09:28:09,040 - INFO - Connected (version 2.0, client OpenSSH_4.3)
2013-01-21 09:28:09,043 - DEBUG - kex 
algos:['diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 
'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client 
encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 
'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 
'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se'] 
server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 
'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 
'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se'] 
client mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 
'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server 
mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 
'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client 
compress:['none', 'z...@openssh.com'] server compress:['none', 
'z...@openssh.com'] client lang:[''] server lang:[''] kex follows?False
2013-01-21 09:28:09,044 - DEBUG - Ciphers agreed: local=aes128-ctr, 
remote=aes128-ctr
2013-01-21 09:28:09,044 - DEBUG - using kex diffie-hellman-group1-sha1; 
server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: 
local hmac-sha1, remote hmac-sha1; compression: local none, remote none
2013-01-21 09:28:09,097 - DEBUG - Switch to new keys ...
2013-01-21 09:28:09,099 - DEBUG - Trying SSH key 
cf081ddcceda04cb28d22e7c8e5fa0da
2013-01-21 09:28:09,142 - DEBUG - userauth is OK
2013-01-21 09:28:09,277 - INFO - Authentication (publickey) successful!
2013-01-21 09:28:09,378 - DEBUG - EOF in transport thread
2013-01-21 09:28:09,543 - ERROR - SVN: Failed to get repository information 
for svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos: Unable to connect 
to a repository at URL 
'svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos'
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

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: Failed to get repository information svn+ssh

2013-01-21 Thread Matthew Woehlke

On 2013-01-21 12:42, Alex Edwards wrote:

I am still having trouble getting this to work, I am unsure what I am doing
differently to others. I started with rb 1.6 but couldn't get it working so
I thought I would have a go with rb 1.7.1 I reinstalled reviewboard and
rbtools. And I am still facing the same problems.

- I have created an ssh key pair and uploaded the key to reviewboard
(and the server).
- I can ssh to the server using the key
- I can ssh to the server using the apache user (and key)

When I attempt to add a repository I get an error A repository was not
found at the specified path.


This sounds suspiciously like Jonathan's recent git troubles... is your 
server using SELinux? If yes, have you checked your SELinux log for denials?


--
Matthew

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: Failed to get repository information svn+ssh

2013-01-21 Thread Alex Edwards
My problem seems very similar to this 
http://code.google.com/p/reviewboard/issues/detail?id=1750

On Monday, 21 January 2013 09:42:08 UTC-8, Alex Edwards wrote:

 Hello,

 I am still having trouble getting this to work, I am unsure what I am 
 doing differently to others. I started with rb 1.6 but couldn't get it 
 working so I thought I would have a go with rb 1.7.1 I reinstalled 
 reviewboard and rbtools. And I am still facing the same problems.

- I have created an ssh key pair and uploaded the key to reviewboard 
(and the server). 
- I can ssh to the server using the key 
- I can ssh to the server using the apache user (and key)

 When I attempt to add a repository I get an error A repository was not 
 found at the specified path.
 Hosting Service: none
 Repository Type: SVN
 Path: svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos
 Username: aedwards

 With these settings the error in the logs (if I remove username from 
 path I get the same errors):

 2013-01-21 09:28:08,994 - DEBUG - SVNTool: Attempting ssh connection with 
 host: myserver.com, username: aedwards
 2013-01-21 09:28:09,035 - DEBUG - starting thread (client mode): 0xc18c550L
 2013-01-21 09:28:09,040 - INFO - Connected (version 2.0, client 
 OpenSSH_4.3)
 2013-01-21 09:28:09,043 - DEBUG - kex 
 algos:['diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 
 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client 
 encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 
 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 
 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se'] 
 server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 
 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 
 'aes192-cbc', 'aes256-cbc', 'arcfour', 'rijndael-...@lysator.liu.se'] 
 client mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', '
 hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server 
 mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', '
 hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client 
 compress:['none', 'z...@openssh.com'] server compress:['none', '
 z...@openssh.com'] client lang:[''] server lang:[''] kex follows?False
 2013-01-21 09:28:09,044 - DEBUG - Ciphers agreed: local=aes128-ctr, 
 remote=aes128-ctr
 2013-01-21 09:28:09,044 - DEBUG - using kex diffie-hellman-group1-sha1; 
 server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: 
 local hmac-sha1, remote hmac-sha1; compression: local none, remote none
 2013-01-21 09:28:09,097 - DEBUG - Switch to new keys ...
 2013-01-21 09:28:09,099 - DEBUG - Trying SSH key 
 cf081ddcceda04cb28d22e7c8e5fa0da
 2013-01-21 09:28:09,142 - DEBUG - userauth is OK
 2013-01-21 09:28:09,277 - INFO - Authentication (publickey) successful!
 2013-01-21 09:28:09,378 - DEBUG - EOF in transport thread
 2013-01-21 09:28:09,543 - ERROR - SVN: Failed to get repository 
 information for svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos: 
 Unable to connect to a repository at URL 'svn+ssh://
 aedwa...@myserver.com/export/cvs/svn/repos'
 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



-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: Failed to get repository information svn+ssh

2013-01-21 Thread Alex Edwards
the server with apache and RB is runnning ubuntu, the svn server has 
selinux but it has been disabled

I tried using pysvn and was prompted for a password, after which it hung 
for a while then seems to have exited python (i think), should I have still 
been in the python shell after executing that command?

aedwards@aedwards-vm1:~$ sudo -u www-data python
[sudo] password for aedwards: 
Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
[GCC 4.7.2] on linux2
Type help, copyright, credits or license for more information.
 import pysvn
 client = pysvn.Client()
 client.info2('svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos')
aedwa...@myserver.com's password: 

aedwards@aedwards-vm1:~$

On Monday, 21 January 2013 09:47:03 UTC-8, Matthew Woehlke wrote:

 On 2013-01-21 12:42, Alex Edwards wrote: 
  I am still having trouble getting this to work, I am unsure what I am 
 doing 
  differently to others. I started with rb 1.6 but couldn't get it working 
 so 
  I thought I would have a go with rb 1.7.1 I reinstalled reviewboard and 
  rbtools. And I am still facing the same problems. 
  
  - I have created an ssh key pair and uploaded the key to reviewboard 
  (and the server). 
  - I can ssh to the server using the key 
  - I can ssh to the server using the apache user (and key) 
  
  When I attempt to add a repository I get an error A repository was not 
  found at the specified path. 

 This sounds suspiciously like Jonathan's recent git troubles... is your 
 server using SELinux? If yes, have you checked your SELinux log for 
 denials? 

 -- 
 Matthew 


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: Failed to get repository information svn+ssh

2013-01-21 Thread Alex Edwards
I have also tried adding this to the svn config file in site 
root/data/.subversion/config

ssh = ssh -i /var/www/test.com/data/.ssh/id_dsa

but that doesnt seem to change anything either!

On Monday, 21 January 2013 10:04:30 UTC-8, Alex Edwards wrote:

 the server with apache and RB is runnning ubuntu, the svn server has 
 selinux but it has been disabled

 I tried using pysvn and was prompted for a password, after which it hung 
 for a while then seems to have exited python (i think), should I have still 
 been in the python shell after executing that command?

 aedwards@aedwards-vm1:~$ sudo -u www-data python
 [sudo] password for aedwards: 
 Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
 [GCC 4.7.2] on linux2
 Type help, copyright, credits or license for more information.
  import pysvn
  client = pysvn.Client()
  client.info2('svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos')
 aedwa...@myserver.com's password: 

 aedwards@aedwards-vm1:~$

 On Monday, 21 January 2013 09:47:03 UTC-8, Matthew Woehlke wrote:

 On 2013-01-21 12:42, Alex Edwards wrote: 
  I am still having trouble getting this to work, I am unsure what I am 
 doing 
  differently to others. I started with rb 1.6 but couldn't get it 
 working so 
  I thought I would have a go with rb 1.7.1 I reinstalled reviewboard and 
  rbtools. And I am still facing the same problems. 
  
  - I have created an ssh key pair and uploaded the key to 
 reviewboard 
  (and the server). 
  - I can ssh to the server using the key 
  - I can ssh to the server using the apache user (and key) 
  
  When I attempt to add a repository I get an error A repository was not 
  found at the specified path. 

 This sounds suspiciously like Jonathan's recent git troubles... is your 
 server using SELinux? If yes, have you checked your SELinux log for 
 denials? 

 -- 
 Matthew 



-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: Failed to get repository information svn+ssh

2013-01-21 Thread Christian Hammond
Specifying your own ssh will actually make it worse. It needs to use our own 
rbssh in order to use your key.

What 1.6.x release did you first have this problem in? I'm trying to determine 
if there's some big regression in us, in pysvn/svn, or if there's some common 
configuration problem.

Christian


On Jan 21, 2013, at 10:13, Alex Edwards edwards.a...@gmail.com wrote:

 I have also tried adding this to the svn config file in site 
 root/data/.subversion/config
 
 ssh = ssh -i /var/www/test.com/data/.ssh/id_dsa
 
 but that doesnt seem to change anything either!
 
 On Monday, 21 January 2013 10:04:30 UTC-8, Alex Edwards wrote:
 
 the server with apache and RB is runnning ubuntu, the svn server has selinux 
 but it has been disabled
 
 I tried using pysvn and was prompted for a password, after which it hung for 
 a while then seems to have exited python (i think), should I have still been 
 in the python shell after executing that command?
 
 aedwards@aedwards-vm1:~$ sudo -u www-data python
 [sudo] password for aedwards: 
 Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
 [GCC 4.7.2] on linux2
 Type help, copyright, credits or license for more information.
  import pysvn
  client = pysvn.Client()
  client.info2('svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos')
 aedwa...@myserver.com's password: 
 
 aedwards@aedwards-vm1:~$
 
 On Monday, 21 January 2013 09:47:03 UTC-8, Matthew Woehlke  wrote:
 
 On 2013-01-21 12:42, Alex Edwards wrote: 
  I am still having trouble getting this to work, I am unsure what I am 
  doing 
  differently to others. I started with rb 1.6 but couldn't get it working 
  so 
  I thought I would have a go with rb 1.7.1 I reinstalled reviewboard and 
  rbtools. And I am still facing the same problems. 
  
  - I have created an ssh key pair and uploaded the key to reviewboard 
  (and the server). 
  - I can ssh to the server using the key 
  - I can ssh to the server using the apache user (and key) 
  
  When I attempt to add a repository I get an error A repository was not 
  found at the specified path. 
 
 This sounds suspiciously like Jonathan's recent git troubles... is your 
 server using SELinux? If yes, have you checked your SELinux log for 
 denials? 
 
 -- 
 Matthew
 
 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
  
  

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: Failed to get repository information svn+ssh

2013-01-21 Thread Alex Edwards
I'm not certain what version it was I will check in the morning it would 
have been 1.6.14 or 1.6.15, how would I test rbssh? 

I dont particularly need to use a certificate, can I get this working with 
a password? I just assumed it only worked with keys! I can set the ssh user 
to have the same password as the svn account, not that secure but I am 
primarily trying to get this working to get it introduced into the process 
where I have recently started.

thanks
Alex

On Monday, 21 January 2013 19:51:30 UTC-8, Christian Hammond wrote:

 Specifying your own ssh will actually make it worse. It needs to use our 
 own rbssh in order to use your key.

 What 1.6.x release did you first have this problem in? I'm trying to 
 determine if there's some big regression in us, in pysvn/svn, or if there's 
 some common configuration problem.

 Christian


 On Jan 21, 2013, at 10:13, Alex Edwards edward...@gmail.com javascript: 
 wrote:

 I have also tried adding this to the svn config file in site 
 root/data/.subversion/config

 ssh = ssh -i /var/www/test.com/data/.ssh/id_dsa

 but that doesnt seem to change anything either!

 On Monday, 21 January 2013 10:04:30 UTC-8, Alex Edwards wrote:

 the server with apache and RB is runnning ubuntu, the svn server has 
 selinux but it has been disabled

 I tried using pysvn and was prompted for a password, after which it hung 
 for a while then seems to have exited python (i think), should I have still 
 been in the python shell after executing that command?

 aedwards@aedwards-vm1:~$ sudo -u www-data python
 [sudo] password for aedwards: 
 Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
 [GCC 4.7.2] on linux2
 Type help, copyright, credits or license for more information.
  import pysvn
  client = pysvn.Client()
  client.info2('svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos')
 aedw...@myserver.com javascript:'s password: 

 aedwards@aedwards-vm1:~$

 On Monday, 21 January 2013 09:47:03 UTC-8, Matthew Woehlke wrote:

 On 2013-01-21 12:42, Alex Edwards wrote: 
  I am still having trouble getting this to work, I am unsure what I am 
 doing 
  differently to others. I started with rb 1.6 but couldn't get it 
 working so 
  I thought I would have a go with rb 1.7.1 I reinstalled reviewboard 
 and 
  rbtools. And I am still facing the same problems. 
  
  - I have created an ssh key pair and uploaded the key to 
 reviewboard 
  (and the server). 
  - I can ssh to the server using the key 
  - I can ssh to the server using the apache user (and key) 
  
  When I attempt to add a repository I get an error A repository was 
 not 
  found at the specified path. 

 This sounds suspiciously like Jonathan's recent git troubles... is your 
 server using SELinux? If yes, have you checked your SELinux log for 
 denials? 

 -- 
 Matthew 

  -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard...@googlegroups.com javascript:
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
  
  



-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: Failed to get repository information svn+ssh

2013-01-21 Thread Christian Hammond
My feeling is that if keys are broken, there's a larger issue we should look 
into.

I'm going to play with some stuff and just try again to reproduce this problem 
on my end.

Christian


On Jan 21, 2013, at 20:04, Alex Edwards edwards.a...@gmail.com wrote:

 I'm not certain what version it was I will check in the morning it would have 
 been 1.6.14 or 1.6.15, how would I test rbssh? 
 
 I dont particularly need to use a certificate, can I get this working with a 
 password? I just assumed it only worked with keys! I can set the ssh user to 
 have the same password as the svn account, not that secure but I am primarily 
 trying to get this working to get it introduced into the process where I have 
 recently started.
 
 thanks
 Alex
 
 On Monday, 21 January 2013 19:51:30 UTC-8, Christian Hammond  wrote:
 
 Specifying your own ssh will actually make it worse. It needs to use our own 
 rbssh in order to use your key.
 
 What 1.6.x release did you first have this problem in? I'm trying to 
 determine if there's some big regression in us, in pysvn/svn, or if there's 
 some common configuration problem.
 
 Christian
 
 
 On Jan 21, 2013, at 10:13, Alex Edwards edward...@gmail.com wrote:
 
 I have also tried adding this to the svn config file in site 
 root/data/.subversion/config
 
 ssh = ssh -i /var/www/test.com/data/.ssh/id_dsa
 
 but that doesnt seem to change anything either!
 
 On Monday, 21 January 2013 10:04:30 UTC-8, Alex Edwards wrote:
 
 the server with apache and RB is runnning ubuntu, the svn server has 
 selinux but it has been disabled
 
 I tried using pysvn and was prompted for a password, after which it hung 
 for a while then seems to have exited python (i think), should I have 
 still been in the python shell after executing that command?
 
 aedwards@aedwards-vm1:~$ sudo -u www-data python
 [sudo] password for aedwards: 
 Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
 [GCC 4.7.2] on linux2
 Type help, copyright, credits or license for more information.
  import pysvn
  client = pysvn.Client()
  client.info2('svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos')
 aedw...@myserver.com's password: 
 
 aedwards@aedwards-vm1:~$
 
 On Monday, 21 January 2013 09:47:03 UTC-8, Matthew Woehlke wrote:
 
 On 2013-01-21 12:42, Alex Edwards wrote: 
  I am still having trouble getting this to work, I am unsure what I am 
  doing 
  differently to others. I started with rb 1.6 but couldn't get it 
  working so 
  I thought I would have a go with rb 1.7.1 I reinstalled reviewboard and 
  rbtools. And I am still facing the same problems. 
  
  - I have created an ssh key pair and uploaded the key to 
  reviewboard 
  (and the server). 
  - I can ssh to the server using the key 
  - I can ssh to the server using the apache user (and key) 
  
  When I attempt to add a repository I get an error A repository was not 
  found at the specified path. 
 
 This sounds suspiciously like Jonathan's recent git troubles... is your 
 server using SELinux? If yes, have you checked your SELinux log for 
 denials? 
 
 -- 
 Matthew
 
 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
 
 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
  
  

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: Failed to get repository information svn+ssh

2013-01-21 Thread Christian Hammond
Good news. I was able to reproduce this.

I'm going to figure out the root cause and get it into the RB 1.7.3 release. 
This will be late tomorrow or, more likely, the day after.

Christian

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

On Jan 21, 2013, at 8:04 PM, Alex Edwards edwards.a...@gmail.com wrote:

 I'm not certain what version it was I will check in the morning it would have 
 been 1.6.14 or 1.6.15, how would I test rbssh? 
 
 I dont particularly need to use a certificate, can I get this working with a 
 password? I just assumed it only worked with keys! I can set the ssh user to 
 have the same password as the svn account, not that secure but I am primarily 
 trying to get this working to get it introduced into the process where I have 
 recently started.
 
 thanks
 Alex
 
 On Monday, 21 January 2013 19:51:30 UTC-8, Christian Hammond wrote:
 Specifying your own ssh will actually make it worse. It needs to use our own 
 rbssh in order to use your key.
 
 What 1.6.x release did you first have this problem in? I'm trying to 
 determine if there's some big regression in us, in pysvn/svn, or if there's 
 some common configuration problem.
 
 Christian
 
 
 On Jan 21, 2013, at 10:13, Alex Edwards edward...@gmail.com wrote:
 
 I have also tried adding this to the svn config file in site 
 root/data/.subversion/config
 
 ssh = ssh -i /var/www/test.com/data/.ssh/id_dsa
 
 but that doesnt seem to change anything either!
 
 On Monday, 21 January 2013 10:04:30 UTC-8, Alex Edwards wrote:
 the server with apache and RB is runnning ubuntu, the svn server has selinux 
 but it has been disabled
 
 I tried using pysvn and was prompted for a password, after which it hung for 
 a while then seems to have exited python (i think), should I have still been 
 in the python shell after executing that command?
 
 aedwards@aedwards-vm1:~$ sudo -u www-data python
 [sudo] password for aedwards: 
 Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
 [GCC 4.7.2] on linux2
 Type help, copyright, credits or license for more information.
  import pysvn
  client = pysvn.Client()
  client.info2('svn+ssh://aedwa...@myserver.com/export/cvs/svn/repos')
 aedw...@myserver.com's password: 
 
 aedwards@aedwards-vm1:~$
 
 On Monday, 21 January 2013 09:47:03 UTC-8, Matthew Woehlke wrote:
 On 2013-01-21 12:42, Alex Edwards wrote: 
  I am still having trouble getting this to work, I am unsure what I am 
  doing 
  differently to others. I started with rb 1.6 but couldn't get it working 
  so 
  I thought I would have a go with rb 1.7.1 I reinstalled reviewboard and 
  rbtools. And I am still facing the same problems. 
  
  - I have created an ssh key pair and uploaded the key to reviewboard 
  (and the server). 
  - I can ssh to the server using the key 
  - I can ssh to the server using the apache user (and key) 
  
  When I attempt to add a repository I get an error A repository was not 
  found at the specified path. 
 
 This sounds suspiciously like Jonathan's recent git troubles... is your 
 server using SELinux? If yes, have you checked your SELinux log for denials? 
 
 -- 
 Matthew 
 
 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to reviewboard...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
  
  
 
 
 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
  
  

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en