Help w/ installation on MacOSX

2012-07-10 Thread Maliken
Hello I'm having trouble trying to get reviewboard working on my mac 
mini(snow leopard).  I've successfully installed all of the 3rd party stuff 
and am at this page  Creating The Review 
Sitehttp://www.reviewboard.org/docs/manual/1.6/admin/installation/creating-sites/#creating-sites.
 
 I've been able to run rb-site install /var/www/reviews.example.com 
successfully and it creates all of the files etc.  I've successfully 
changed all of the permissions to _www user. Now when I view my site all I 
see is an Index Of page with the folders that are included under the 
instal directory for reviewboard.  However, I only see the directory 
listing when I DO NOT have the generated .conf symbolic link placed in 
etc/apache2/other.  When I place the .conf file in that directory(which is 
where others have mentioned they've put it when on OSX) then I get the 
following:Oops! Google Chrome could not connect

You might mention something about removing default file 
from/etc/apache2/sites-enabled. 
 However, I cannot find any corresponding file on MacOSX.  And regardless 
my problem is when I put the symbolic link in the folder mentioned above.

Install Parameters:
Domain Name: www.mysite.com
root path: /
media url: media/
database type: sqlite3(even though I have mysql it doesn't show up in the 
list weird)
Cache type: memcached
memcache server: default value thingy
web server: apache
Python Loader: wsgi(i've also tried w/ fastcgi but i have exactly the same 
problem as mentioned above)
...

* The site has been installed

The site has been installed in /Users/me/Sites/reviewboard


The technical details:
Apache/2.2.21 (Unix)
mod_wsgi-3.3
SQLite3 module version 0.7-dev
SQLite Library 3.7.7.1
memcached 1.4.10
pycrypto 2.6
python 2.7.3
using reviewboard with perforce(setup and working)

*httpd.conf:*
-LoadModule wsgi_module libexec/apache2/mod_wsgi.so  (yes mod_wsgi.so 
actualy exists and is installed in that directory)
-User _www
-Group _www
-DocumentRoot /Users/me/Sites
-Directory /Users/pgrigs/Sites
#
# Possible values for the Options directive are None, All,
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI 
MultiViews
#
# Note that MultiViews must be named *explicitly* --- Options All
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks MultiViews

#
# AllowOverride controls what directives may be placed in .htaccess 
files.
# It can be All, None, or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
/Directory

-I've also tried Include 
/Users/pgrigs/sites/reviewboard/conf/apache-wsgi.conf (not sure if I need 
to do this or not)

*httpd-vhosts.conf*:
VirtualHost *:80
ServerAdmin webmas...@mysite.com
DocumentRoot /Users/me/Sites/reviewboard
ServerName www.mysite.com
ErrorLog /private/var/log/apache2/mysite.com-error_log
CustomLog /private/var/log/apache2/mysite.com-access_log common
/VirtualHost

*apache-wsgi.conf(which i create a symbolic link of and place in 
etc/apache2/other)*
VirtualHost *:80
ServerName www.mysite.com
DocumentRoot /Users/me/Sites/reviewboard/htdocs

# Error handlers
ErrorDocument 500 /errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias / /Users/me/Sites/reviewboard/htdocs/reviewboard.wsgi/

Directory /Users/me/Sites/reviewboard/htdocs
AllowOverride All
Options -Indexes FollowSymLinks
Allow from all
/Directory

# Alias static media requests to filesystem
Alias /media /Users/me/Sites/reviewboard/htdocs/media
Alias /errordocs /Users/me/Sites/reviewboard/htdocs/errordocs
Alias /favicon.ico 
/Users/me/Sites/reviewboard/htdocs/media/rbcommons/images/favicon.png
/VirtualHost

I think that's all the important info. Please help with this as I've used 
reviewboard before and enjoyed it a lot.  I'd really like to get this up 
and running for my team project as it's incredibly helpful!  Thank you for 
your help!

-- 
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: Revieboard Installation Redhat

2012-07-10 Thread Stephen Gallagher
On Mon, 2012-07-09 at 20:39 -0700, GreenCheese wrote:
 I am getting following error message when I type EASY_INSTALL

If you're running Red Hat Enterprise Linux 5 or 6 (or one of their
clones such as CentOS or Scientific Linux), I recommend installing the
EPEL[1] repository and using the ReviewBoard packages I maintain for
those distributions. You'll find far fewer headaches installing it that
way. All dependencies are managed for you.

[1] http://fedoraproject.org/wiki/EPEL


-- 
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: Revieboard Installation Redhat

2012-07-10 Thread Christian Hammond
This is where Stephen's advice comes in handy. This particular package at the 
very least is best provided by the distribution. It's called Python Imaging 
Library. If you install the RPMs for Review Board, you should get it.

Christian



On Jul 10, 2012, at 7:39, GreenCheese sapkot...@gmail.com wrote:

 I'm getting another error. Anybody familiar with this? 
 -- 
 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: Help w/ installation on MacOSX

2012-07-10 Thread Christian Hammond
Hi,

For the directory indexing, the DocumentRoot was specifying your sites as the 
default document root, which is why you were seeing indexes.

What does the Apache error log have to say about your connection error? After 
including the config file, is Apache even able to start?

Christian



On Jul 10, 2012, at 1:38, Maliken pgr...@gmail.com wrote:

 Hello I'm having trouble trying to get reviewboard working on my mac 
 mini(snow leopard).  I've successfully installed all of the 3rd party stuff 
 and am at this page  Creating The Review Site.  I've been able to run rb-site 
 install /var/www/reviews.example.com successfully and it creates all of the 
 files etc.  I've successfully changed all of the permissions to _www user. 
 Now when I view my site all I see is an Index Of page with the folders that 
 are included under the instal directory for reviewboard.  However, I only see 
 the directory listing when I DO NOT have the generated .conf symbolic link 
 placed in etc/apache2/other.  When I place the .conf file in that 
 directory(which is where others have mentioned they've put it when on OSX) 
 then I get the following:
 Oops! Google Chrome could not connect
 
 
 You might mention something about removing default file 
 from/etc/apache2/sites-enabled.  However, I cannot find any corresponding 
 file on MacOSX.  And regardless my problem is when I put the symbolic link in 
 the folder mentioned above.
 
 Install Parameters:
 Domain Name: www.mysite.com
 root path: /
 media url: media/
 database type: sqlite3(even though I have mysql it doesn't show up in the 
 list weird)
 Cache type: memcached
 memcache server: default value thingy
 web server: apache
 Python Loader: wsgi(i've also tried w/ fastcgi but i have exactly the same 
 problem as mentioned above)
 ...
 
 * The site has been installed
 
 The site has been installed in /Users/me/Sites/reviewboard
 
 
 The technical details:
 Apache/2.2.21 (Unix)
 mod_wsgi-3.3
 SQLite3 module version 0.7-dev
 SQLite Library 3.7.7.1
 memcached 1.4.10
 pycrypto 2.6
 python 2.7.3
 using reviewboard with perforce(setup and working)
 
 httpd.conf:
 -LoadModule wsgi_module libexec/apache2/mod_wsgi.so  (yes mod_wsgi.so actualy 
 exists and is installed in that directory)
 -User _www
 -Group _www
 -DocumentRoot /Users/me/Sites
 -Directory /Users/pgrigs/Sites
 #
 # Possible values for the Options directive are None, All,
 # or any combination of:
 #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI 
 MultiViews
 #
 # Note that MultiViews must be named *explicitly* --- Options All
 # doesn't give it to you.
 #
 # The Options directive is both complicated and important.  Please see
 # http://httpd.apache.org/docs/2.2/mod/core.html#options
 # for more information.
 #
 Options Indexes FollowSymLinks MultiViews
 
 #
 # AllowOverride controls what directives may be placed in .htaccess files.
 # It can be All, None, or any combination of the keywords:
 #   Options FileInfo AuthConfig Limit
 #
 AllowOverride None
 
 #
 # Controls who can get stuff from this server.
 #
 Order allow,deny
 Allow from all
 /Directory
 
 -I've also tried Include 
 /Users/pgrigs/sites/reviewboard/conf/apache-wsgi.conf (not sure if I need to 
 do this or not)
 
 httpd-vhosts.conf:
 VirtualHost *:80
 ServerAdmin webmas...@mysite.com
 DocumentRoot /Users/me/Sites/reviewboard
 ServerName www.mysite.com
 ErrorLog /private/var/log/apache2/mysite.com-error_log
 CustomLog /private/var/log/apache2/mysite.com-access_log common
 /VirtualHost
 
 apache-wsgi.conf(which i create a symbolic link of and place in 
 etc/apache2/other)
 VirtualHost *:80
   ServerName www.mysite.com
   DocumentRoot /Users/me/Sites/reviewboard/htdocs
 
   # Error handlers
   ErrorDocument 500 /errordocs/500.html
 
   WSGIPassAuthorization On
   WSGIScriptAlias / 
 /Users/me/Sites/reviewboard/htdocs/reviewboard.wsgi/
 
   Directory /Users/me/Sites/reviewboard/htdocs
   AllowOverride All
   Options -Indexes FollowSymLinks
   Allow from all
   /Directory
 
   # Alias static media requests to filesystem
   Alias /media /Users/me/Sites/reviewboard/htdocs/media
   Alias /errordocs /Users/me/Sites/reviewboard/htdocs/errordocs
   Alias /favicon.ico 
 /Users/me/Sites/reviewboard/htdocs/media/rbcommons/images/favicon.png
 /VirtualHost
 
 I think that's all the important info. Please help with this as I've used 
 reviewboard before and enjoyed it a lot.  I'd really like to get this up and 
 running for my team project as it's incredibly helpful!  Thank you for your 
 help!
 -- 
 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 

Re: Can't install reviewboard w/ mysql on mac

2012-07-10 Thread Michal Dobisek
Hi Meravi,

I came across the same problem. Still solving, but it looks like it might 
relate to the architecture issues, see

http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX

see the Missing Code For Architecture section.

Michal

On Wednesday, June 6, 2012 3:15:12 AM UTC+2, Meravi wrote:

 I'm having the same issue but with SLES11.
 I had installed the python-mysql plugin and made sure the db was on.. but 
 I still get the same error when I try to start the reviewboard site..
  
 On Friday, May 4, 2012 1:19:35 PM UTC-7, Paul wrote:

 Hi, 

 Trying to install reviewboard 1.6.6 on a mac (lion). I installed mysql- 
 python and mysql 5.5.23 and have it running. When I run sudo rb-site 
 install and get to the question regarding db, I don't see a mysql 
 option. It only shows sqlite3. Why doesn't the mysql option show up? 

 * What database type will you be using? 

 You can type either the name or the number from the list below. 

 (1) sqlite3 (not supported for production use) 

 Database Type: 

 Thanks, 
 Paul



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

easy_install ReviewBoard error

2012-07-10 Thread David MERLET
 

Hello,

 

I’m trying to install ReviewBoard on Ubuntu server following : *
http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/*http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/

And I’m getting error on “Installing Review Board” Step :

 

root@ITEMVM-62234:~# easy_install ReviewBoard

Searching for ReviewBoard

Reading 
*http://pypi.python.org/simple/ReviewBoard/*http://pypi.python.org/simple/ReviewBoard/

No local packages or download links found for ReviewBoard

error: Could not find suitable distribution for 
Requirement.parse('ReviewBoard')

 

It seems there is no package at the root of *
http://pypi.python.org/simple/ReviewBoard/*http://pypi.python.org/simple/ReviewBoard/

 
Could you give me solution or bypass ?
 

Best regards,

David Merlet

-- 
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: Help w/ installation on MacOSX

2012-07-10 Thread Michal Dobisek
Hi Maliken,

I think, that problem is, that you define the same virtual host twice. Try 
to remove the *httpd-vhosts.conf*: section. Try to comment everything 
inside and restart the Apache server.

Michal

-- 
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: easy_install ReviewBoard error

2012-07-10 Thread Christian Hammond
Hi David,

Hmm, don't know what to say. That's working fine for me. Can you try again?
Maybe there was some temporary issue on PyPi.

Christian

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


On Tue, Jul 10, 2012 at 9:11 AM, David MERLET merlet@gmail.com wrote:

  Hello,**

 ** **

 I’m trying to install ReviewBoard on Ubuntu server following : *
 http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/*http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/
 

 And I’m getting error on “Installing Review Board” Step :

 ** **

 root@ITEMVM-62234:~# easy_install ReviewBoard

 Searching for ReviewBoard

 Reading 
 *http://pypi.python.org/simple/ReviewBoard/*http://pypi.python.org/simple/ReviewBoard/
 

 No local packages or download links found for ReviewBoard

 error: Could not find suitable distribution for
 Requirement.parse('ReviewBoard')

 ** **

 It seems there is no package at the root of *
 http://pypi.python.org/simple/ReviewBoard/*http://pypi.python.org/simple/ReviewBoard/
 

 ** **
 Could you give me solution or bypass ?


 Best regards,

 David Merlet
  

 --
 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: Subversion Repository Error

2012-07-10 Thread whatever
OK, so after some investigation and struggles, I was able to get Paramiko 
to connect successfully to the server using a different SSH port.

But now I've run into a similar issue with pysvn.  in the check_repository 
method of svn.py, there is a call to pysvn.client.info2(...).

This call is failing likely because it can't connect to the server.  I've 
tested using pysvn outside of reviewboard and it connects fine as long as 
the config file in the home users .ssh directory is setup correctly.

So my question is how does pysvn running as part of reviewboard get it's 
ssh information?  Is there something I'm missing with how Paramiko and 
pysvn interact?

On Tuesday, July 3, 2012 3:15:14 AM UTC-4, Christian Hammond wrote:

 There's no configuration for this. It's honestly not something that has 
 come up before.

 So, complete picture is that we have any program that needs ssh access use 
 our rbssh script (which wraps an SSH library called Paramiko), rather than 
 ssh. The reason being that ssh will hard-code lookups of the .ssh 
 configuration directory based on the /etc/passwd-specified home directory 
 of the running user (generally Apache). That doesn't work in the case of 
 sites that may not have a home directory, especially when you have multiple 
 sites on the server, each with their own configuration. So we use our 
 script, which looks in the right places.

 Now, it doesn't know how to parse config files and deal with the ports. 
 rbssh does take a -p (--port) option, but unfortunately it's at the present 
 time ignored.

 If you have any Python experience, what you could do is write a patch that 
 implements -p. You would need to parse the port out of the URL, if it's 
 provided, and then pass it to the client.connect() call in 
 reviewboard/cmdline/rbssh.py.

 At that point, you can provide the port in the URL for the server.

 As it is today, though, without doing the above, there isn't a great 
 workaround that will survive upgrades and be anything more than a hack.
 Christian

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


 On Tue, Jul 3, 2012 at 12:00 AM, whatever chuckbut...@gmail.com wrote:

 Is there any way I can configure the port in this SSH library?


 On Tuesday, July 3, 2012 2:50:07 AM UTC-4, Christian Hammond wrote:

 Review Board does not use the standard ssh. It instead uses an SSH 
 library for all access. That library does not respect values in 
 .ssh/config. You would have to provide all information within the URL.

 Christian

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


 On Mon, Jul 2, 2012 at 11:47 PM, whatever chuckbut...@gmail.com wrote:

 Thanks for the quick reply!

 I'm using 1.6.9.

 I checked my home .ssh directory (that's used to access svn from the 
 command shell) and I've also got a config file there that has the 
 following entries:

 host hostname
   user username
   port 202
   Compression yes
   CompressionLevel 6
 host hostname.domainname
   user username
   port 202
   Compression yes
   CompressionLevel 6

 So I tried to copy this file to the reviewboard .ssh directory, but 
 still to no avail.  Any idea how I would get these entries into 
 reviewboard?

 Thanks!



 On Tuesday, July 3, 2012 2:32:06 AM UTC-4, Christian Hammond wrote:

 If you enable logging in Review Board, you may be able to find some 
 additional details in the log viewer.

 Also, what version of Review Board are you using?

 Christian

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


 On Mon, Jul 2, 2012 at 11:04 PM, whatever chuckbut...@gmail.comwrote:

 So I seem to have everything setup and running (thanks to the great 
 documentation), but I've run into a problem creating a repository.  I'm 
 using subversion with ssh (svn+ssh://...).  I uploaded the ssh key that 
 I 
 use to connect to the repository, but I'm getting [Errno 13] Permission 
 denied.  I'm not sure what I'm doing wrong or even where to look for 
 debugging information.

 I also tried connecting with my username/password and got the same 
 error.

 Please help!

 Thanks.

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


  -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/**donate/http://www.reviewboard.org/donate/
 

Re: Subversion Repository Error

2012-07-10 Thread Christian Hammond
PySVN *should* use the configured SSH client (as dictated by the $SVN_SSH
variable, which we set internally to rbssh). So it should be using rbssh.
That uses Paramiko, and uses $sitedir/data as the $HOME. At no point should
it be using any other SSH implementation to access anything from the
repository.

Christian

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


On Tue, Jul 10, 2012 at 1:20 PM, whatever chuckbut...@gmail.com wrote:

 OK, so after some investigation and struggles, I was able to get Paramiko
 to connect successfully to the server using a different SSH port.

 But now I've run into a similar issue with pysvn.  in the check_repository
 method of svn.py, there is a call to pysvn.client.info2(...).

 This call is failing likely because it can't connect to the server.  I've
 tested using pysvn outside of reviewboard and it connects fine as long as
 the config file in the home users .ssh directory is setup correctly.

 So my question is how does pysvn running as part of reviewboard get it's
 ssh information?  Is there something I'm missing with how Paramiko and
 pysvn interact?


 On Tuesday, July 3, 2012 3:15:14 AM UTC-4, Christian Hammond wrote:

 There's no configuration for this. It's honestly not something that has
 come up before.

 So, complete picture is that we have any program that needs ssh access
 use our rbssh script (which wraps an SSH library called Paramiko), rather
 than ssh. The reason being that ssh will hard-code lookups of the .ssh
 configuration directory based on the /etc/passwd-specified home directory
 of the running user (generally Apache). That doesn't work in the case of
 sites that may not have a home directory, especially when you have multiple
 sites on the server, each with their own configuration. So we use our
 script, which looks in the right places.

 Now, it doesn't know how to parse config files and deal with the ports.
 rbssh does take a -p (--port) option, but unfortunately it's at the present
 time ignored.

 If you have any Python experience, what you could do is write a patch
 that implements -p. You would need to parse the port out of the URL, if
 it's provided, and then pass it to the client.connect() call in
 reviewboard/cmdline/rbssh.py.

 At that point, you can provide the port in the URL for the server.

 As it is today, though, without doing the above, there isn't a great
 workaround that will survive upgrades and be anything more than a hack.
 Christian

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


 On Tue, Jul 3, 2012 at 12:00 AM, whatever chuckbut...@gmail.com wrote:

 Is there any way I can configure the port in this SSH library?


 On Tuesday, July 3, 2012 2:50:07 AM UTC-4, Christian Hammond wrote:

 Review Board does not use the standard ssh. It instead uses an SSH
 library for all access. That library does not respect values in
 .ssh/config. You would have to provide all information within the URL.

 Christian

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


 On Mon, Jul 2, 2012 at 11:47 PM, whatever chuckbut...@gmail.comwrote:

 Thanks for the quick reply!

 I'm using 1.6.9.

 I checked my home .ssh directory (that's used to access svn from the
 command shell) and I've also got a config file there that has the
 following entries:

 host hostname
   user username
   port 202
   Compression yes
   CompressionLevel 6
 host hostname.domainname
   user username
   port 202
   Compression yes
   CompressionLevel 6

 So I tried to copy this file to the reviewboard .ssh directory, but
 still to no avail.  Any idea how I would get these entries into 
 reviewboard?

 Thanks!



 On Tuesday, July 3, 2012 2:32:06 AM UTC-4, Christian Hammond wrote:

 If you enable logging in Review Board, you may be able to find some
 additional details in the log viewer.

 Also, what version of Review Board are you using?

 Christian

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


 On Mon, Jul 2, 2012 at 11:04 PM, whatever chuckbut...@gmail.comwrote:

 So I seem to have everything setup and running (thanks to the great
 documentation), but I've run into a problem creating a repository.  I'm
 using subversion with ssh (svn+ssh://...).  I uploaded the ssh key that 
 I
 use to connect to the repository, but I'm getting [Errno 13] Permission
 denied.  I'm not sure what I'm doing wrong or even where to look for
 debugging information.

 I also tried connecting with my username/password and got the same
 error.

 Please help!

 Thanks.

 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/**donate/http://www.reviewboard.org/donate/
 Happy user? Let us know at 
 

Re: Subversion Repository Error

2012-07-10 Thread whatever
So I turned on rbssh logging and it is getting called by pysvn.

However, it is getting called with the wrong username.  Instead of 
myusername it is getting called with root as the username, so I'm 
seeing the following in the logs:

07-10 19:19 root   DEBUG['/usr/bin/rbssh', 'hostname', 
'svnserve', '-t']
07-10 19:19 root   DEBUGPID 6398
07-10 19:19 root   DEBUG!!! skunkworks.veracode.local, 
root, ['svnserve', '-t']
07-10 19:19 paramiko.transport DEBUGstarting thread (client mode): 
0x1f40550L
07-10 19:19 paramiko.transport INFO Connected (version 1.99, client 
OpenSSH_4.3)
...
07-10 19:19 paramiko.transport INFO Authentication (publickey) failed.
07-10 19:19 root   ERRORToo many authentication failures 
for root
07-10 19:19 paramiko.transport DEBUGEOF in transport thread

Any idea why this could be happening?

Thanks in advance!


On Tuesday, July 10, 2012 5:16:15 PM UTC-4, Christian Hammond wrote:

 PySVN *should* use the configured SSH client (as dictated by the $SVN_SSH 
 variable, which we set internally to rbssh). So it should be using rbssh. 
 That uses Paramiko, and uses $sitedir/data as the $HOME. At no point should 
 it be using any other SSH implementation to access anything from the 
 repository.

 Christian

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


 On Tue, Jul 10, 2012 at 1:20 PM, whatever chuckbut...@gmail.com wrote:

 OK, so after some investigation and struggles, I was able to get Paramiko 
 to connect successfully to the server using a different SSH port.

 But now I've run into a similar issue with pysvn.  in the 
 check_repository method of svn.py, there is a call to 
 pysvn.client.info2(...).

 This call is failing likely because it can't connect to the server.  I've 
 tested using pysvn outside of reviewboard and it connects fine as long as 
 the config file in the home users .ssh directory is setup correctly.

 So my question is how does pysvn running as part of reviewboard get it's 
 ssh information?  Is there something I'm missing with how Paramiko and 
 pysvn interact?


 On Tuesday, July 3, 2012 3:15:14 AM UTC-4, Christian Hammond wrote:

 There's no configuration for this. It's honestly not something that has 
 come up before.

 So, complete picture is that we have any program that needs ssh access 
 use our rbssh script (which wraps an SSH library called Paramiko), rather 
 than ssh. The reason being that ssh will hard-code lookups of the .ssh 
 configuration directory based on the /etc/passwd-specified home directory 
 of the running user (generally Apache). That doesn't work in the case of 
 sites that may not have a home directory, especially when you have multiple 
 sites on the server, each with their own configuration. So we use our 
 script, which looks in the right places.

 Now, it doesn't know how to parse config files and deal with the ports. 
 rbssh does take a -p (--port) option, but unfortunately it's at the present 
 time ignored.

 If you have any Python experience, what you could do is write a patch 
 that implements -p. You would need to parse the port out of the URL, if 
 it's provided, and then pass it to the client.connect() call in 
 reviewboard/cmdline/rbssh.py.

 At that point, you can provide the port in the URL for the server.

 As it is today, though, without doing the above, there isn't a great 
 workaround that will survive upgrades and be anything more than a hack.
 Christian

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


 On Tue, Jul 3, 2012 at 12:00 AM, whatever chuckbut...@gmail.com wrote:

 Is there any way I can configure the port in this SSH library?


 On Tuesday, July 3, 2012 2:50:07 AM UTC-4, Christian Hammond wrote:

 Review Board does not use the standard ssh. It instead uses an SSH 
 library for all access. That library does not respect values in 
 .ssh/config. You would have to provide all information within the URL.

 Christian

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


 On Mon, Jul 2, 2012 at 11:47 PM, whatever chuckbut...@gmail.comwrote:

 Thanks for the quick reply!

 I'm using 1.6.9.

 I checked my home .ssh directory (that's used to access svn from the 
 command shell) and I've also got a config file there that has the 
 following entries:

 host hostname
   user username
   port 202
   Compression yes
   CompressionLevel 6
 host hostname.domainname
   user username
   port 202
   Compression yes
   CompressionLevel 6

 So I tried to copy this file to the reviewboard .ssh directory, but 
 still to no avail.  Any idea how I would get these entries into 
 reviewboard?

 Thanks!



 On Tuesday, July 3, 2012 2:32:06 AM UTC-4, Christian Hammond wrote:

 If you enable logging in Review Board, you may 

Re: Revieboard Installation Redhat

2012-07-10 Thread GreenCheese
I'm getting following error now. Any suggestions?

_mysql_exceptions.OperationalError: (2002, Can't connect to local MySQL 
server through socket '/var/lib/mysql/mysql.sock' (2))

-- 
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: Subversion Repository Error

2012-07-10 Thread whatever
So I figured out a workaround.  If I include my user name in the URL 
(svn+ssh://username@hostname/repository_path) it works.

So I'm thinking the username could be added to the URL if it is not already 
present in the URL but is specified on the add repository page?

I can possibly look into this if I have time in the near future.


On Tuesday, July 10, 2012 7:29:13 PM UTC-4, whatever wrote:

 So I turned on rbssh logging and it is getting called by pysvn.

 However, it is getting called with the wrong username.  Instead of 
 myusername it is getting called with root as the username, so I'm 
 seeing the following in the logs:

 07-10 19:19 root   DEBUG['/usr/bin/rbssh', 'hostname', 
 'svnserve', '-t']
 07-10 19:19 root   DEBUGPID 6398
 07-10 19:19 root   DEBUG!!! skunkworks.veracode.local, 
 root, ['svnserve', '-t']
 07-10 19:19 paramiko.transport DEBUGstarting thread (client mode): 
 0x1f40550L
 07-10 19:19 paramiko.transport INFO Connected (version 1.99, client 
 OpenSSH_4.3)
 ...
 07-10 19:19 paramiko.transport INFO Authentication (publickey) failed.
 07-10 19:19 root   ERRORToo many authentication failures 
 for root
 07-10 19:19 paramiko.transport DEBUGEOF in transport thread

 Any idea why this could be happening?

 Thanks in advance!


 On Tuesday, July 10, 2012 5:16:15 PM UTC-4, Christian Hammond wrote:

 PySVN *should* use the configured SSH client (as dictated by the $SVN_SSH 
 variable, which we set internally to rbssh). So it should be using rbssh. 
 That uses Paramiko, and uses $sitedir/data as the $HOME. At no point should 
 it be using any other SSH implementation to access anything from the 
 repository.

 Christian

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


 On Tue, Jul 10, 2012 at 1:20 PM, whatever chuckbut...@gmail.com wrote:

 OK, so after some investigation and struggles, I was able to get 
 Paramiko to connect successfully to the server using a different SSH port.

 But now I've run into a similar issue with pysvn.  in the 
 check_repository method of svn.py, there is a call to 
 pysvn.client.info2(...).

 This call is failing likely because it can't connect to the server. 
  I've tested using pysvn outside of reviewboard and it connects fine as 
 long as the config file in the home users .ssh directory is setup correctly.

 So my question is how does pysvn running as part of reviewboard get it's 
 ssh information?  Is there something I'm missing with how Paramiko and 
 pysvn interact?


 On Tuesday, July 3, 2012 3:15:14 AM UTC-4, Christian Hammond wrote:

 There's no configuration for this. It's honestly not something that has 
 come up before.

 So, complete picture is that we have any program that needs ssh access 
 use our rbssh script (which wraps an SSH library called Paramiko), rather 
 than ssh. The reason being that ssh will hard-code lookups of the .ssh 
 configuration directory based on the /etc/passwd-specified home directory 
 of the running user (generally Apache). That doesn't work in the case of 
 sites that may not have a home directory, especially when you have 
 multiple 
 sites on the server, each with their own configuration. So we use our 
 script, which looks in the right places.

 Now, it doesn't know how to parse config files and deal with the ports. 
 rbssh does take a -p (--port) option, but unfortunately it's at the 
 present 
 time ignored.

 If you have any Python experience, what you could do is write a patch 
 that implements -p. You would need to parse the port out of the URL, if 
 it's provided, and then pass it to the client.connect() call in 
 reviewboard/cmdline/rbssh.py.

 At that point, you can provide the port in the URL for the server.

 As it is today, though, without doing the above, there isn't a great 
 workaround that will survive upgrades and be anything more than a hack.
 Christian

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


 On Tue, Jul 3, 2012 at 12:00 AM, whatever chuckbut...@gmail.comwrote:

 Is there any way I can configure the port in this SSH library?


 On Tuesday, July 3, 2012 2:50:07 AM UTC-4, Christian Hammond wrote:

 Review Board does not use the standard ssh. It instead uses an SSH 
 library for all access. That library does not respect values in 
 .ssh/config. You would have to provide all information within the URL.

 Christian

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


 On Mon, Jul 2, 2012 at 11:47 PM, whatever chuckbut...@gmail.comwrote:

 Thanks for the quick reply!

 I'm using 1.6.9.

 I checked my home .ssh directory (that's used to access svn from the 
 command shell) and I've also got a config file there that has the 
 following entries:

 host hostname
   user username
   port 

Email setup help

2012-07-10 Thread superakuma
I have RB 1.6.9 installed and got everything working but the email setup. I 
input a valid SMTP server and even tried it out using telnet test. That 
works. I checked the log and nothing shows up. Is there anyway for me to 
debug this to see what's wrong or there is a bug in this release?

Thanks,
Howard

-- 
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: Help w/ installation on MacOSX

2012-07-10 Thread Maliken
Thanks for the responses!  What you said helped me figure out the problem. 
 I didn't realize that what's in my vhosts.conf file is the same stuff as 
what is generated in the apache-wsgi.conf.  When I commented out the stuff 
in my vhosts.conf it still wouldn't run reviewboard.  However when I pasted 
the generated stuff into my vhosts.conf file it worked! However, this 
brings me to my next problem though now that I have reviewboard working.  I 
want www.mysite.com to point to my site and I want 
www.mysite.com/reviewboard to point to reviewboard.  However, I cannot get 
them both to work at the same time only one or the other depending on my 
settings in vhosts.conf.

inside of vhosts.conf:
*CALL THIS 'A'*
VirtualHost *:80
   ServerAdmin webmas...@mysite.com
DocumentRoot /Users/me/Sites/mysite
ServerName www.mysite.com
ErrorLog /private/var/log/apache2/mysite.com-error_log
CustomLog /private/var/log/apache2/mysite.com-access_log common
/VirtualHost

*CALL THIS 'B'*
VirtualHost *:80
ServerName www.mysite.com/reviewboard
DocumentRoot /Users/me/Sites/mysite/reviewboard/htdocs

# Error handlers
ErrorDocument 500 /errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias /reviewboard 
/Users/me/Sites/mysite/reviewboard/htdocs/reviewboard.wsgi/reviewboard

Directory /Users/me/Sites/mysite/reviewboard/htdocs
AllowOverride All
Options -Indexes FollowSymLinks
Allow from all
/Directory

# Alias static media requests to filesystem
Alias /reviewboard/media /Users/me/Sites/mysite/reviewboard/htdocs/media
Alias /reviewboard/errordocs 
/Users/me/Sites/mysite/reviewboard/htdocs/errordocs
Alias /reviewboard/favicon.ico 
/Users/me/Sites/mysite/reviewboard/htdocs/media/rbcommons/images/favicon.png
/VirtualHost

If I have only* B* uncommented then my www.mysite.com gives the error 
Forbidden - You don't have permission to access / on this server. However, 
www.mysite.com/reviewboard works correctly

If I have *A or AB* then www.mysite.com works but 
www.mysite.com/reviewboard gives the error Not Found - The requested URL 
/reviewboard/account/login/ was not found on this server.  

How do I get both to work together so that mysite works for www.mysite.com 
and reviewboard works for www.mysite.com/reviewboard? Thanks again for the 
help what you guys said in your posts helped me a lot!

On Tuesday, July 10, 2012 1:38:05 AM UTC-7, Maliken wrote:

 Hello I'm having trouble trying to get reviewboard working on my mac 
 mini(snow leopard).  I've successfully installed all of the 3rd party stuff 
 and am at this page  Creating The Review 
 Sitehttp://www.reviewboard.org/docs/manual/1.6/admin/installation/creating-sites/#creating-sites.
  
  I've been able to run rb-site install 
 /var/www/reviews.example.comsuccessfully and it creates all of the files etc. 
  I've successfully 
 changed all of the permissions to _www user. Now when I view my site all I 
 see is an Index Of page with the folders that are included under the 
 instal directory for reviewboard.  However, I only see the directory 
 listing when I DO NOT have the generated .conf symbolic link placed in 
 etc/apache2/other.  When I place the .conf file in that directory(which is 
 where others have mentioned they've put it when on OSX) then I get the 
 following:Oops! Google Chrome could not connect

 You might mention something about removing default file 
 from/etc/apache2/sites-enabled. 
  However, I cannot find any corresponding file on MacOSX.  And regardless 
 my problem is when I put the symbolic link in the folder mentioned above.

 Install Parameters:
 Domain Name: www.mysite.com
 root path: /
 media url: media/
 database type: sqlite3(even though I have mysql it doesn't show up in the 
 list weird)
 Cache type: memcached
 memcache server: default value thingy
 web server: apache
 Python Loader: wsgi(i've also tried w/ fastcgi but i have exactly the same 
 problem as mentioned above)
 ...

 * The site has been installed

 The site has been installed in /Users/me/Sites/reviewboard


 The technical details:
 Apache/2.2.21 (Unix)
 mod_wsgi-3.3
 SQLite3 module version 0.7-dev
 SQLite Library 3.7.7.1
 memcached 1.4.10
 pycrypto 2.6
 python 2.7.3
 using reviewboard with perforce(setup and working)

 *httpd.conf:*
 -LoadModule wsgi_module libexec/apache2/mod_wsgi.so  (yes mod_wsgi.so 
 actualy exists and is installed in that directory)
 -User _www
 -Group _www
 -DocumentRoot /Users/me/Sites
 -Directory /Users/pgrigs/Sites
 #
 # Possible values for the Options directive are None, All,
 # or any combination of:
 #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI 
 MultiViews
 #
 # Note that MultiViews must be named *explicitly* --- Options All
 # doesn't give it to you.
 #
 # The Options directive is both complicated and important.  Please see
 # http://httpd.apache.org/docs/2.2/mod/core.html#options
 # for more information.
 #
 Options Indexes FollowSymLinks MultiViews

 

Re: Email setup help

2012-07-10 Thread Christian Hammond
Hi Howard,

I'm not aware of any bug. Plenty of people are using 1.6.9 with mail
servers, including us. Did you check the Review Board log or the mail
server log? Might be worth seeing what the mail server says.

Christian

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


On Tue, Jul 10, 2012 at 10:29 PM, superakuma hwo...@gmail.com wrote:

 I have RB 1.6.9 installed and got everything working but the email setup.
 I input a valid SMTP server and even tried it out using telnet test. That
 works. I checked the log and nothing shows up. Is there anyway for me to
 debug this to see what's wrong or there is a bug in this release?

 Thanks,
 Howard

 --
 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: Issue 2043 in reviewboard: Using reviewboard without a repository - only upload a diff file

2012-07-10 Thread reviewboard


Comment #1 on issue 2043 by vijaira...@gmail.com: Using reviewboard without  
a repository - only upload a diff file

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

I guess this feature will be great when using SCM not supported by Review  
Board.


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.



Re: Issue 2043 in reviewboard: Using reviewboard without a repository - only upload a diff file

2012-07-10 Thread reviewboard


Comment #2 on issue 2043 by huhu...@gmail.com: Using reviewboard without a  
repository - only upload a diff file

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

vote +1. Considering we only need to review the diff and don't care which  
repository it belongs to.


--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.