Re: Reviewboard Intellij Idea plugin
Anyone know if this plugin works for intellij 12? I use it with 11 at the moment, has a few bugs, doesn't seem to have been maintained for a while, I was thinking of branching it to github and fixing some stuff just not got round to it yet :) One big problem with the plugin is that it doesn't support https, I ended up rolling my own version in my old place because of this, but that was only for self signed certificates. On Tuesday, 7 August 2012 05:59:20 UTC-7, Ivan Gavryliuk wrote: We couldn't make it work :( On Tuesday, 17 April 2012 06:26:44 UTC+1, Christian Hammond wrote: Hi, I have no idea what the state is, but there is this: http://code.google.com/p/idea-reviewboard/ We don't have the time or resources to build IDE plugins, so it's generally left to third parties who have a vested interest in them. Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Apr 16, 2012 at 9:48 PM, Yusup Ashrap aph...@gmail.comjavascript: wrote: I know there is an eclipse plugin of RB. but does RB have plugin for Intellij Idea ?or any future release plans for Intellij Idea plugin? regards -- 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 --- 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
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
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
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
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
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
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
Failed to get repository information svn+ssh
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
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
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
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
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
Reviewboard svn and ssh issues how to test
Hello, I have issue with svn+ssh I have read these posts and they have gone some way to explain what is going on https://groups.google.com/forum/?fromgroups=#!topic/reviewboard/tAikEbYcZHw http://code.google.com/p/reviewboard/issues/detail?id=1750 I am trying to add a repository that uses svn+ssh protocol. I have generated a certificate through the reviewboard admin page and (I think) I have copied it to the server but its still not working. If I try and test it by doing: sudo -u www-data ssh -v u...@server.com I get: OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to server.com [x.x.x.x] port 22. debug1: Connection established. debug1: SELinux support disabled Could not create directory '/var/www/.ssh'. debug1: identity file /var/www/.ssh/id_rsa type -1 debug1: identity file /var/www/.ssh/id_rsa-cert type -1 debug1: identity file /var/www/.ssh/id_dsa type -1 debug1: identity file /var/www/.ssh/id_dsa-cert type -1 debug1: identity file /var/www/.ssh/id_ecdsa type -1 debug1: identity file /var/www/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3 debug1: match: OpenSSH_4.3 pat OpenSSH_4* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.0p1 Debian-3ubuntu1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server-client aes128-ctr hmac-md5 none debug1: kex: client-server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY I thought my key was in /var/www/reviews.example.com/data/.ssh I know I am going to have svn connection issues once i've solved this but one thing at a time! This is my reviewboard.log 2012-11-22 14:01:46,521 - DEBUG - SVNTool: Attempting ssh connection with host: server.com, username: user 2012-11-22 14:01:46,633 - DEBUG - starting thread (client mode): 0xc80ea350L 2012-11-22 14:01:46,638 - INFO - Connected (version 2.0, client OpenSSH_4.3) 2012-11-22 14:01:46,641 - 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 2012-11-22 14:01:46,641 - DEBUG - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2012-11-22 14:01:46,641 - 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 2012-11-22 14:01:46,689 - DEBUG - Switch to new keys ... 2012-11-22 14:01:46,699 - DEBUG - Trying SSH key 7e72c31c6c2ee6e4622a60ea14c3c3e6 2012-11-22 14:01:46,733 - DEBUG - userauth is OK 2012-11-22 14:01:46,841 - INFO - Authentication (publickey) failed. 2012-11-22 14:01:46,859 - DEBUG - Trying discovered key 7e72c31c6c2ee6e4622a60ea14c3c3e6 in /var/www/reviews.example.com/data/.ssh/id_rsa 2012-11-22 14:01:46,861 - DEBUG - userauth is OK 2012-11-22 14:01:46,964 - INFO - Authentication (publickey) failed. The fingerprint in the logs matches the one in the reviewboard admin page, if I use password authentication it works. I think i'm bumping into some issues in the links at the top but i'm unsure how to log in manaully as the reviewboard user from the command line 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