Re: Problems installing Review Board on RHEL v5.1

2010-02-12 Thread Christian Hammond
Hi James,

You only need one. It's just warning you about the missing modules in case
you want them, before you go too far into the install process.

It's checking the modules by trying to import them. If it's not finding
them, then the module is not in your Python path. It could be that there are
two different versions of Python involved here.

Specifically, in the case of Postgres support, we do:

__import__("psycopg2")

Christian

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


On Tue, Feb 9, 2010 at 10:18 AM, James McDougall
wrote:

> Hi,
>
> A couple of points I failed to raise earlier.  If anyone can help
> point me in the right direction, I would appreciate it.
>
> - I _have_ installed psycopg2 for Postgres access.  easy_install
> confirms this.
> - I have _not_ (and don't intend to) install the sqlite3 or MySQL
> support because I am not using their databases.
>
> Two questions.
> - Do I need all three or is the installer just making sure I've got at
> least one?  The error message is not very clear.
> - If just the one, then how is it checking to see if psycopg2 is
> installed?
>
> Thanks
>
> James
>
> On Feb 8, 6:32 pm, James McDougall  wrote:
> > Hi,
> >
> > I am attempting to set up Review Board for the first time on RHEL V5.1
> > following the Admin docs.  I'm using Apache and Postgresql.
> >
> > Everything appears to be going fine until I run rb-site install which
> > bombs out with missing modules (below).  How can I find out what is
> > missing?  I've tried --debug and --console but am not seeing any
> > further debug info.
> >
> > Thanks
> >
> > James
> >
> > [r...@mrbump ] /tmp> rb-site --debug install /var/www/
> > reviews.example.com
> >
> > 
> >
> > * Required modules are missing.
> >
> > You are missing Python modules that are needed before the
> > installation process. You will need to install the necessary
> > modules and restart the install.
> >
> > Databases (required):
> > * sqlite3 (pysqlite2, sqlite3)
> > * MySQL (MySQLdb)
> > * PostgreSQL (psycopg2)
>
> --
> 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: Problems installing Review Board on RHEL v5.1

2010-02-12 Thread James McDougall
Hi,

A couple of points I failed to raise earlier.  If anyone can help
point me in the right direction, I would appreciate it.

- I _have_ installed psycopg2 for Postgres access.  easy_install
confirms this.
- I have _not_ (and don't intend to) install the sqlite3 or MySQL
support because I am not using their databases.

Two questions.
- Do I need all three or is the installer just making sure I've got at
least one?  The error message is not very clear.
- If just the one, then how is it checking to see if psycopg2 is
installed?

Thanks

James

On Feb 8, 6:32 pm, James McDougall  wrote:
> Hi,
>
> I am attempting to set up Review Board for the first time on RHEL V5.1
> following the Admin docs.  I'm using Apache and Postgresql.
>
> Everything appears to be going fine until I run rb-site install which
> bombs out with missing modules (below).  How can I find out what is
> missing?  I've tried --debug and --console but am not seeing any
> further debug info.
>
> Thanks
>
> James
>
> [r...@mrbump ] /tmp> rb-site --debug install /var/www/
> reviews.example.com
>
> 
>
> * Required modules are missing.
>
>     You are missing Python modules that are needed before the
>     installation process. You will need to install the necessary
>     modules and restart the install.
>
>     Databases (required):
>         * sqlite3 (pysqlite2, sqlite3)
>         * MySQL (MySQLdb)
>         * PostgreSQL (psycopg2)

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