Re: installing Reviewboard on Centos 5.5 64-bit

2011-04-21 Thread Dean
At this point, we have gotten past the post-review questions and one
extra where we learned to include the "http://reviewboard"; prefix. I
am handing over to production this week.
We appreciate all your assistance (and patience) getting us here!

Dean

On Apr 20, 10:39 pm, Christian Hammond  wrote:
> It should work on any and all distros.
>
> Can you show me the debug output? It'll help in figuring out what URL is
> being accessed. Likely, it's just a configuration problem.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Wed, Apr 20, 2011 at 9:28 PM, Dean  wrote:
> > So far, everything is working really well with the exception of the
> > client-side post-review tool.
>
> > Is there a list of distributions on which post-review works? In our
> > case, we are hoping the post-review can be used on distros for Fedora
> > 9 - Fedora 12.
>
> > We are seeing the "Error creating review request: HTTP 404 " coming
> > from post-review being used the way the documentation describes in the
> > "Posting Committed Code" section.
>
> > On Apr 16, 8:04 am, Stephen Gallagher 
> > wrote:
> > > On Sat, Apr 16, 2011 at 10:02 AM, Stephen Gallagher <
>
> > > step...@gallagherhome.com> wrote:
>
> > > > On Fri, Apr 15, 2011 at 3:16 PM, Dean  wrote:
>
> > > >> Success! Many thanks! It's now working on a Scientific Linux v6 32-bit
> > > >> prototype box.
> > > >> I expect to have them drive it around a bit and then build a 64-bit
> > > >> server for it.
>
> > > >> I'm heading over to the documentation to see if I can upgrade it to v
> > > >> 1.5.5
>
> > > >> Is there any advice you might have for doing this?
>
> > > > I just pushed the 1.5.5 RPM to the stable repository yesterday, so do
> > 'yum
> > > > update ReviewBoard' and then when that's complete, run 'rb-site upgrade
> > > > /path/to/site' as Christian said.
>
> > > FYI, I usually have the new releases available in the testing repository
> > > within three days of the upstream release, so if you're anxious to move
> > to
> > > the latest and greatest, you can usually do 'yum update
> > > --enablerepo=epel-testing ReviewBoard'.
>
> > > By EPEL policy, updates have to either sit in the epel-testing repo for
> > two
> > > weeks or receive sufficient positive karma in the Fedora Update System.
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://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: installing Reviewboard on Centos 5.5 64-bit

2011-04-20 Thread Christian Hammond
It should work on any and all distros.

Can you show me the debug output? It'll help in figuring out what URL is
being accessed. Likely, it's just a configuration problem.

Christian

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


On Wed, Apr 20, 2011 at 9:28 PM, Dean  wrote:

> So far, everything is working really well with the exception of the
> client-side post-review tool.
>
> Is there a list of distributions on which post-review works? In our
> case, we are hoping the post-review can be used on distros for Fedora
> 9 - Fedora 12.
>
> We are seeing the "Error creating review request: HTTP 404 " coming
> from post-review being used the way the documentation describes in the
> "Posting Committed Code" section.
>
>
> On Apr 16, 8:04 am, Stephen Gallagher 
> wrote:
> > On Sat, Apr 16, 2011 at 10:02 AM, Stephen Gallagher <
> >
> >
> >
> > step...@gallagherhome.com> wrote:
> >
> > > On Fri, Apr 15, 2011 at 3:16 PM, Dean  wrote:
> >
> > >> Success! Many thanks! It's now working on a Scientific Linux v6 32-bit
> > >> prototype box.
> > >> I expect to have them drive it around a bit and then build a 64-bit
> > >> server for it.
> >
> > >> I'm heading over to the documentation to see if I can upgrade it to v
> > >> 1.5.5
> >
> > >> Is there any advice you might have for doing this?
> >
> > > I just pushed the 1.5.5 RPM to the stable repository yesterday, so do
> 'yum
> > > update ReviewBoard' and then when that's complete, run 'rb-site upgrade
> > > /path/to/site' as Christian said.
> >
> > FYI, I usually have the new releases available in the testing repository
> > within three days of the upstream release, so if you're anxious to move
> to
> > the latest and greatest, you can usually do 'yum update
> > --enablerepo=epel-testing ReviewBoard'.
> >
> > By EPEL policy, updates have to either sit in the epel-testing repo for
> two
> > weeks or receive sufficient positive karma in the Fedora Update System.
>
> --
> 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: installing Reviewboard on Centos 5.5 64-bit

2011-04-20 Thread Dean
So far, everything is working really well with the exception of the
client-side post-review tool.

Is there a list of distributions on which post-review works? In our
case, we are hoping the post-review can be used on distros for Fedora
9 - Fedora 12.

We are seeing the "Error creating review request: HTTP 404 " coming
from post-review being used the way the documentation describes in the
"Posting Committed Code" section.


On Apr 16, 8:04 am, Stephen Gallagher 
wrote:
> On Sat, Apr 16, 2011 at 10:02 AM, Stephen Gallagher <
>
>
>
> step...@gallagherhome.com> wrote:
>
> > On Fri, Apr 15, 2011 at 3:16 PM, Dean  wrote:
>
> >> Success! Many thanks! It's now working on a Scientific Linux v6 32-bit
> >> prototype box.
> >> I expect to have them drive it around a bit and then build a 64-bit
> >> server for it.
>
> >> I'm heading over to the documentation to see if I can upgrade it to v
> >> 1.5.5
>
> >> Is there any advice you might have for doing this?
>
> > I just pushed the 1.5.5 RPM to the stable repository yesterday, so do 'yum
> > update ReviewBoard' and then when that's complete, run 'rb-site upgrade
> > /path/to/site' as Christian said.
>
> FYI, I usually have the new releases available in the testing repository
> within three days of the upstream release, so if you're anxious to move to
> the latest and greatest, you can usually do 'yum update
> --enablerepo=epel-testing ReviewBoard'.
>
> By EPEL policy, updates have to either sit in the epel-testing repo for two
> weeks or receive sufficient positive karma in the Fedora Update System.

-- 
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: installing Reviewboard on Centos 5.5 64-bit

2011-04-16 Thread Stephen Gallagher
On Sat, Apr 16, 2011 at 10:02 AM, Stephen Gallagher <
step...@gallagherhome.com> wrote:

>
>
> On Fri, Apr 15, 2011 at 3:16 PM, Dean  wrote:
>
>> Success! Many thanks! It's now working on a Scientific Linux v6 32-bit
>> prototype box.
>> I expect to have them drive it around a bit and then build a 64-bit
>> server for it.
>>
>> I'm heading over to the documentation to see if I can upgrade it to v
>> 1.5.5
>>
>> Is there any advice you might have for doing this?
>>
>>
> I just pushed the 1.5.5 RPM to the stable repository yesterday, so do 'yum
> update ReviewBoard' and then when that's complete, run 'rb-site upgrade
> /path/to/site' as Christian said.
>

FYI, I usually have the new releases available in the testing repository
within three days of the upstream release, so if you're anxious to move to
the latest and greatest, you can usually do 'yum update
--enablerepo=epel-testing ReviewBoard'.

By EPEL policy, updates have to either sit in the epel-testing repo for two
weeks or receive sufficient positive karma in the Fedora Update System.

-- 
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: installing Reviewboard on Centos 5.5 64-bit

2011-04-16 Thread Stephen Gallagher
On Fri, Apr 15, 2011 at 3:16 PM, Dean  wrote:

> Success! Many thanks! It's now working on a Scientific Linux v6 32-bit
> prototype box.
> I expect to have them drive it around a bit and then build a 64-bit
> server for it.
>
> I'm heading over to the documentation to see if I can upgrade it to v
> 1.5.5
>
> Is there any advice you might have for doing this?
>
>
I just pushed the 1.5.5 RPM to the stable repository yesterday, so do 'yum
update ReviewBoard' and then when that's complete, run 'rb-site upgrade
/path/to/site' as Christian said.

-- 
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: installing Reviewboard on Centos 5.5 64-bit

2011-04-15 Thread Christian Hammond
Upgrades are pretty easy. You'll just be upgrading Review Board itself, and
then the site (using rb-site upgrade /path/to/site). It'll take care of the
rest.

Christian

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


On Fri, Apr 15, 2011 at 12:16 PM, Dean  wrote:

> Success! Many thanks! It's now working on a Scientific Linux v6 32-bit
> prototype box.
> I expect to have them drive it around a bit and then build a 64-bit
> server for it.
>
> I'm heading over to the documentation to see if I can upgrade it to v
> 1.5.5
>
> Is there any advice you might have for doing this?
>
> On Apr 14, 1:32 am, Gilles Moris  wrote:
> > On Thursday 14 April 2011 02:10:42 am Dean wrote:
> >
> > > After creating a database named reviewboard and creating a UID called
> > > "rbadmin" to have full access to it, I added rights for rbadmin to
> > > have full rights to it:
> >
> > > mysql> USE reviewboard;
> > > Database changed
> > > mysql> GRANT ALL PRIVILEGES ON reviewboard TO 'rbdbuser'@'localhost'
> > > IDENTIFIED BY 'password' WITH GRANT OPTION;
> > > Query OK, 0 rows affected (0.00 sec)
> >
> > First you start talking about a "rbadmin" user but then seems to actually
> > create and use a "rbdbuser". May be you mixed both ?
> >
> > Another possibility is that you had a syntax error in your GRANT query.
> When
> > you want to grant access to all tables, the syntax is reviewboard.* .
> Without
> > the ".*", you may just referring to the reviewboard table in the current
> > database.
> > mysql> GRANT ALL PRIVILEGES ON reviewboard.* TO 'rbdbuser'@'localhost'
> ...
> >
> > Regards.
> > Gilles.
> >
> > > Tried to run:
> > > rb-site install /var/www/reviewboard
> >
> > > ...and got:
> >
> > > * Installing the site...
> > > Building site directories ... OK
> > > Building site configuration files ... OK
> > > Creating database ... Creating table django_admin_log
> > > Traceback (most recent call last):
> > >   File "/usr/bin/rb-site", line 9, in 
> > > load_entry_point('ReviewBoard==1.5.4', 'console_scripts', 'rb-
> > > site')()
> > >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > > rbsite.py", line 1626, in main
> > > command.run()
> > >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > > rbsite.py", line 1177, in run
> > > self.show_install_status()
> > >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > > rbsite.py", line 1436, in show_install_status
> > > site.sync_database)
> > >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > > rbsite.py", line 703, in step
> > > func()
> > >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > > rbsite.py", line 339, in sync_database
> > > self.run_manage_command("syncdb", params)
> > >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > > rbsite.py", line 397, in run_manage_command
> > > execute_manager(reviewboard.settings, [__file__, cmd] + params)
> > >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > > __init__.py", line 438, in execute_manager
> > > utility.execute()
> > >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > > __init__.py", line 379, in execute
> > > self.fetch_command(subcommand).run_from_argv(self.argv)
> > >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > > base.py", line 191, in run_from_argv
> > > self.execute(*args, **options.__dict__)
> > >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > > base.py", line 220, in execute
> > > output = self.handle(*args, **options)
> > >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > > base.py", line 351, in handle
> > > return self.handle_noargs(**options)
> > >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > > commands/syncdb.py", line 99, in handle_noargs
> > > cursor.execute(statement)
> > >   File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/
> > > base.py", line 86, in execute
> > > return self.cursor.execute(query, args)
> > >   File "/usr/lib/python2.6/site-packages/MySQLdb/cursors.py", line
> > > 173, in execute
> > > self.errorhandler(self, exc, value)
> > >   File "/usr/lib/python2.6/site-packages/MySQLdb/connections.py", line
> > > 36, in defaulterrorhandler
> > > raise errorclass, errorvalue
> > > _mysql_exceptions.OperationalError: (1142, "CREATE command denied to
> > > user 'rbdbuser'@'localhost' for table 'django_admin_log'")
> >
> > > Thanks for your help.
> >
> > > What can I fix to finish this correctly?
> > > Where can I go to find more granular instructions for this
> > > installation?
> > > Once I have this test box working, is there a set of instructions I
> > > can find for upgrading it to version 1.5.5?
> >
> > > On Apr 13, 12:30 am, Gilles Moris  wrote:
> > > > On Tuesday 12 April 2011 11:29:54 pm Dean wrote:
> > > > > On SL6:
> > > > > LSB

Re: installing Reviewboard on Centos 5.5 64-bit

2011-04-15 Thread Dean
Success! Many thanks! It's now working on a Scientific Linux v6 32-bit
prototype box.
I expect to have them drive it around a bit and then build a 64-bit
server for it.

I'm heading over to the documentation to see if I can upgrade it to v
1.5.5

Is there any advice you might have for doing this?

On Apr 14, 1:32 am, Gilles Moris  wrote:
> On Thursday 14 April 2011 02:10:42 am Dean wrote:
>
> > After creating a database named reviewboard and creating a UID called
> > "rbadmin" to have full access to it, I added rights for rbadmin to
> > have full rights to it:
>
> > mysql> USE reviewboard;
> > Database changed
> > mysql> GRANT ALL PRIVILEGES ON reviewboard TO 'rbdbuser'@'localhost'
> > IDENTIFIED BY 'password' WITH GRANT OPTION;
> > Query OK, 0 rows affected (0.00 sec)
>
> First you start talking about a "rbadmin" user but then seems to actually
> create and use a "rbdbuser". May be you mixed both ?
>
> Another possibility is that you had a syntax error in your GRANT query. When
> you want to grant access to all tables, the syntax is reviewboard.* . Without
> the ".*", you may just referring to the reviewboard table in the current
> database.
> mysql> GRANT ALL PRIVILEGES ON reviewboard.* TO 'rbdbuser'@'localhost' ...
>
> Regards.
> Gilles.
>
> > Tried to run:
> > rb-site install /var/www/reviewboard
>
> > ...and got:
>
> > * Installing the site...
> > Building site directories ... OK
> > Building site configuration files ... OK
> > Creating database ... Creating table django_admin_log
> > Traceback (most recent call last):
> >   File "/usr/bin/rb-site", line 9, in 
> >     load_entry_point('ReviewBoard==1.5.4', 'console_scripts', 'rb-
> > site')()
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 1626, in main
> >     command.run()
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 1177, in run
> >     self.show_install_status()
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 1436, in show_install_status
> >     site.sync_database)
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 703, in step
> >     func()
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 339, in sync_database
> >     self.run_manage_command("syncdb", params)
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 397, in run_manage_command
> >     execute_manager(reviewboard.settings, [__file__, cmd] + params)
> >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > __init__.py", line 438, in execute_manager
> >     utility.execute()
> >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > __init__.py", line 379, in execute
> >     self.fetch_command(subcommand).run_from_argv(self.argv)
> >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > base.py", line 191, in run_from_argv
> >     self.execute(*args, **options.__dict__)
> >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > base.py", line 220, in execute
> >     output = self.handle(*args, **options)
> >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > base.py", line 351, in handle
> >     return self.handle_noargs(**options)
> >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > commands/syncdb.py", line 99, in handle_noargs
> >     cursor.execute(statement)
> >   File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/
> > base.py", line 86, in execute
> >     return self.cursor.execute(query, args)
> >   File "/usr/lib/python2.6/site-packages/MySQLdb/cursors.py", line
> > 173, in execute
> >     self.errorhandler(self, exc, value)
> >   File "/usr/lib/python2.6/site-packages/MySQLdb/connections.py", line
> > 36, in defaulterrorhandler
> >     raise errorclass, errorvalue
> > _mysql_exceptions.OperationalError: (1142, "CREATE command denied to
> > user 'rbdbuser'@'localhost' for table 'django_admin_log'")
>
> > Thanks for your help.
>
> > What can I fix to finish this correctly?
> > Where can I go to find more granular instructions for this
> > installation?
> > Once I have this test box working, is there a set of instructions I
> > can find for upgrading it to version 1.5.5?
>
> > On Apr 13, 12:30 am, Gilles Moris  wrote:
> > > On Tuesday 12 April 2011 11:29:54 pm Dean wrote:
> > > > On SL6:
> > > > LSB Version:    :core-4.0-ia32:core-4.0-noarch:graphics-4.0-
> > > > ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
> > > > Distributor ID: Scientific
> > > > Description:    Scientific Linux release 6.0 (Carbon)
> > > > Release:        6.0
> > > > Codename:       Carbon
>
> > > > I added mysql, mysql-server, httpd. I installed the EPEL epel-
> > > > release-6-5.noarch.rpm.
> > > > Installed Reviewboard. Installed memcached and MySQL-python and then
> > > > used:
>
> > > > rb-site install /var/www/reviewboard...
>
> > > > and got:
> > > > * In

Re: installing Reviewboard on Centos 5.5 64-bit

2011-04-14 Thread Gilles Moris
On Thursday 14 April 2011 02:10:42 am Dean wrote:
> After creating a database named reviewboard and creating a UID called
> "rbadmin" to have full access to it, I added rights for rbadmin to
> have full rights to it:
>
> mysql> USE reviewboard;
> Database changed
> mysql> GRANT ALL PRIVILEGES ON reviewboard TO 'rbdbuser'@'localhost'
> IDENTIFIED BY 'password' WITH GRANT OPTION;
> Query OK, 0 rows affected (0.00 sec)
>

First you start talking about a "rbadmin" user but then seems to actually 
create and use a "rbdbuser". May be you mixed both ?

Another possibility is that you had a syntax error in your GRANT query. When 
you want to grant access to all tables, the syntax is reviewboard.* . Without 
the ".*", you may just referring to the reviewboard table in the current 
database.
mysql> GRANT ALL PRIVILEGES ON reviewboard.* TO 'rbdbuser'@'localhost' ...

Regards.
Gilles.

> Tried to run:
> rb-site install /var/www/reviewboard
>
> ...and got:
>
> * Installing the site...
> Building site directories ... OK
> Building site configuration files ... OK
> Creating database ... Creating table django_admin_log
> Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in 
> load_entry_point('ReviewBoard==1.5.4', 'console_scripts', 'rb-
> site')()
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1626, in main
> command.run()
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1177, in run
> self.show_install_status()
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1436, in show_install_status
> site.sync_database)
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 703, in step
> func()
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 339, in sync_database
> self.run_manage_command("syncdb", params)
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 397, in run_manage_command
> execute_manager(reviewboard.settings, [__file__, cmd] + params)
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> __init__.py", line 438, in execute_manager
> utility.execute()
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> __init__.py", line 379, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> base.py", line 191, in run_from_argv
> self.execute(*args, **options.__dict__)
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> base.py", line 220, in execute
> output = self.handle(*args, **options)
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> base.py", line 351, in handle
> return self.handle_noargs(**options)
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> commands/syncdb.py", line 99, in handle_noargs
> cursor.execute(statement)
>   File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/
> base.py", line 86, in execute
> return self.cursor.execute(query, args)
>   File "/usr/lib/python2.6/site-packages/MySQLdb/cursors.py", line
> 173, in execute
> self.errorhandler(self, exc, value)
>   File "/usr/lib/python2.6/site-packages/MySQLdb/connections.py", line
> 36, in defaulterrorhandler
> raise errorclass, errorvalue
> _mysql_exceptions.OperationalError: (1142, "CREATE command denied to
> user 'rbdbuser'@'localhost' for table 'django_admin_log'")
>
> Thanks for your help.
>
> What can I fix to finish this correctly?
> Where can I go to find more granular instructions for this
> installation?
> Once I have this test box working, is there a set of instructions I
> can find for upgrading it to version 1.5.5?
>
> On Apr 13, 12:30 am, Gilles Moris  wrote:
> > On Tuesday 12 April 2011 11:29:54 pm Dean wrote:
> > > On SL6:
> > > LSB Version:    :core-4.0-ia32:core-4.0-noarch:graphics-4.0-
> > > ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
> > > Distributor ID: Scientific
> > > Description:    Scientific Linux release 6.0 (Carbon)
> > > Release:        6.0
> > > Codename:       Carbon
> > >
> > > I added mysql, mysql-server, httpd. I installed the EPEL epel-
> > > release-6-5.noarch.rpm.
> > > Installed Reviewboard. Installed memcached and MySQL-python and then
> > > used:
> > >
> > > rb-site install /var/www/reviewboard...
> > >
> > > and got:
> > > * Installing the site...
> > > Building site directories ... OK
> > > Building site configuration files ... OK
> > > Creating database ... Traceback (most recent call last):
> > >   File "/usr/bin/rb-site", line 9, in 
> > >     load_entry_point('ReviewBoard==1.5.4', 'console_scripts', 'rb-
> > > site')()
> > >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > > rbsite.py", line 1626, in main
> > >     command.run()
> > >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > > rbsite.py", line 1

Re: installing Reviewboard on Centos 5.5 64-bit

2011-04-13 Thread Dean
After creating a database named reviewboard and creating a UID called
"rbadmin" to have full access to it, I added rights for rbadmin to
have full rights to it:

mysql> USE reviewboard;
Database changed
mysql> GRANT ALL PRIVILEGES ON reviewboard TO 'rbdbuser'@'localhost'
IDENTIFIED BY 'password' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

Tried to run:
rb-site install /var/www/reviewboard

...and got:

* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... Creating table django_admin_log
Traceback (most recent call last):
  File "/usr/bin/rb-site", line 9, in 
load_entry_point('ReviewBoard==1.5.4', 'console_scripts', 'rb-
site')()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 1626, in main
command.run()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 1177, in run
self.show_install_status()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 1436, in show_install_status
site.sync_database)
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 703, in step
func()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 339, in sync_database
self.run_manage_command("syncdb", params)
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 397, in run_manage_command
execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File "/usr/lib/python2.6/site-packages/django/core/management/
__init__.py", line 438, in execute_manager
utility.execute()
  File "/usr/lib/python2.6/site-packages/django/core/management/
__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.6/site-packages/django/core/management/
base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.6/site-packages/django/core/management/
base.py", line 220, in execute
output = self.handle(*args, **options)
  File "/usr/lib/python2.6/site-packages/django/core/management/
base.py", line 351, in handle
return self.handle_noargs(**options)
  File "/usr/lib/python2.6/site-packages/django/core/management/
commands/syncdb.py", line 99, in handle_noargs
cursor.execute(statement)
  File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/
base.py", line 86, in execute
return self.cursor.execute(query, args)
  File "/usr/lib/python2.6/site-packages/MySQLdb/cursors.py", line
173, in execute
self.errorhandler(self, exc, value)
  File "/usr/lib/python2.6/site-packages/MySQLdb/connections.py", line
36, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.OperationalError: (1142, "CREATE command denied to
user 'rbdbuser'@'localhost' for table 'django_admin_log'")

Thanks for your help.

What can I fix to finish this correctly?
Where can I go to find more granular instructions for this
installation?
Once I have this test box working, is there a set of instructions I
can find for upgrading it to version 1.5.5?


On Apr 13, 12:30 am, Gilles Moris  wrote:
> On Tuesday 12 April 2011 11:29:54 pm Dean wrote:
>
>
>
> > On SL6:
> > LSB Version:    :core-4.0-ia32:core-4.0-noarch:graphics-4.0-
> > ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
> > Distributor ID: Scientific
> > Description:    Scientific Linux release 6.0 (Carbon)
> > Release:        6.0
> > Codename:       Carbon
>
> > I added mysql, mysql-server, httpd. I installed the EPEL epel-
> > release-6-5.noarch.rpm.
> > Installed Reviewboard. Installed memcached and MySQL-python and then
> > used:
>
> > rb-site install /var/www/reviewboard...
>
> > and got:
> > * Installing the site...
> > Building site directories ... OK
> > Building site configuration files ... OK
> > Creating database ... Traceback (most recent call last):
> >   File "/usr/bin/rb-site", line 9, in 
> >     load_entry_point('ReviewBoard==1.5.4', 'console_scripts', 'rb-
> > site')()
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 1626, in main
> >     command.run()
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 1177, in run
> >     self.show_install_status()
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 1436, in show_install_status
> >     site.sync_database)
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 703, in step
> >     func()
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 339, in sync_database
> >     self.run_manage_command("syncdb", params)
> >   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> > rbsite.py", line 397, in run_manage_command
> >     execute_manager(reviewboard.settings, [__file__, cmd] + params)
> >   File "/usr/lib/python2.6/site-packages/django/core/management/
> > _

Re: installing Reviewboard on Centos 5.5 64-bit

2011-04-12 Thread Gilles Moris
On Tuesday 12 April 2011 11:29:54 pm Dean wrote:
> On SL6:
> LSB Version::core-4.0-ia32:core-4.0-noarch:graphics-4.0-
> ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
> Distributor ID: Scientific
> Description:Scientific Linux release 6.0 (Carbon)
> Release:6.0
> Codename:   Carbon
>
> I added mysql, mysql-server, httpd. I installed the EPEL epel-
> release-6-5.noarch.rpm.
> Installed Reviewboard. Installed memcached and MySQL-python and then
> used:
>
> rb-site install /var/www/reviewboard...
>
> and got:
> * Installing the site...
> Building site directories ... OK
> Building site configuration files ... OK
> Creating database ... Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in 
> load_entry_point('ReviewBoard==1.5.4', 'console_scripts', 'rb-
> site')()
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1626, in main
> command.run()
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1177, in run
> self.show_install_status()
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1436, in show_install_status
> site.sync_database)
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 703, in step
> func()
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 339, in sync_database
> self.run_manage_command("syncdb", params)
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 397, in run_manage_command
> execute_manager(reviewboard.settings, [__file__, cmd] + params)
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> __init__.py", line 438, in execute_manager
> utility.execute()
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> __init__.py", line 379, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> base.py", line 191, in run_from_argv
> self.execute(*args, **options.__dict__)
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> base.py", line 219, in execute
> self.validate()
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> base.py", line 249, in validate
> num_errors = get_validation_errors(s, app)
>   File "/usr/lib/python2.6/site-packages/django/core/management/
> validation.py", line 102, in get_validation_errors
> connection.validation.validate_field(e, opts, f)
>   File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/
> validation.py", line 14, in validate_field
> db_version = self.connection.get_server_version()
>   File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/
> base.py", line 313, in get_server_version
> self.cursor()
>   File "/usr/lib/python2.6/site-packages/django/db/backends/
> __init__.py", line 75, in cursor
> cursor = self._cursor()
>   File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/
> base.py", line 297, in _cursor
> self.connection = Database.connect(**kwargs)
>   File "/usr/lib/python2.6/site-packages/MySQLdb/__init__.py", line
> 81, in Connect
> return Connection(*args, **kwargs)
>   File "/usr/lib/python2.6/site-packages/MySQLdb/connections.py", line
> 187, in __init__
> super(Connection, self).__init__(*args, **kwargs2)
> _mysql_exceptions.OperationalError: (1049, "Unknown database
> 'reviewboard'")
>
> This was a test run on a 3GB RAM machine with a fresh install of SL v
> 6 for i386. Am I still missing something?
>
> Thanks for your help.
>

You have to create an empty database before directly from mysql. rb-site 
install will not do it for you.

Regards.
Gilles.

-- 
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: installing Reviewboard on Centos 5.5 64-bit

2011-04-12 Thread Dean
On SL6:
LSB Version::core-4.0-ia32:core-4.0-noarch:graphics-4.0-
ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: Scientific
Description:Scientific Linux release 6.0 (Carbon)
Release:6.0
Codename:   Carbon

I added mysql, mysql-server, httpd. I installed the EPEL epel-
release-6-5.noarch.rpm.
Installed Reviewboard. Installed memcached and MySQL-python and then
used:

rb-site install /var/www/reviewboard...

and got:
* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... Traceback (most recent call last):
  File "/usr/bin/rb-site", line 9, in 
load_entry_point('ReviewBoard==1.5.4', 'console_scripts', 'rb-
site')()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 1626, in main
command.run()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 1177, in run
self.show_install_status()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 1436, in show_install_status
site.sync_database)
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 703, in step
func()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 339, in sync_database
self.run_manage_command("syncdb", params)
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 397, in run_manage_command
execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File "/usr/lib/python2.6/site-packages/django/core/management/
__init__.py", line 438, in execute_manager
utility.execute()
  File "/usr/lib/python2.6/site-packages/django/core/management/
__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.6/site-packages/django/core/management/
base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.6/site-packages/django/core/management/
base.py", line 219, in execute
self.validate()
  File "/usr/lib/python2.6/site-packages/django/core/management/
base.py", line 249, in validate
num_errors = get_validation_errors(s, app)
  File "/usr/lib/python2.6/site-packages/django/core/management/
validation.py", line 102, in get_validation_errors
connection.validation.validate_field(e, opts, f)
  File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/
validation.py", line 14, in validate_field
db_version = self.connection.get_server_version()
  File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/
base.py", line 313, in get_server_version
self.cursor()
  File "/usr/lib/python2.6/site-packages/django/db/backends/
__init__.py", line 75, in cursor
cursor = self._cursor()
  File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/
base.py", line 297, in _cursor
self.connection = Database.connect(**kwargs)
  File "/usr/lib/python2.6/site-packages/MySQLdb/__init__.py", line
81, in Connect
return Connection(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/MySQLdb/connections.py", line
187, in __init__
super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (1049, "Unknown database
'reviewboard'")

This was a test run on a 3GB RAM machine with a fresh install of SL v
6 for i386. Am I still missing something?

Thanks for your help.

On Apr 12, 5:11 am, Stephen Gallagher 
wrote:
> On Tue, Apr 12, 2011 at 2:38 AM, Dean  wrote:
> > Ah Ha! I'd been waiting for Centos 6.  How do you guess I might do
> > with Scientific Linux 6 in 64-bit?
>
> Well, in theory Scientific Linux is identical to RHEL 6 (just recompiled),
> so I suspect it should work just fine.

-- 
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: installing Reviewboard on Centos 5.5 64-bit

2011-04-12 Thread Stephen Gallagher
On Tue, Apr 12, 2011 at 2:38 AM, Dean  wrote:

> Ah Ha! I'd been waiting for Centos 6.  How do you guess I might do
> with Scientific Linux 6 in 64-bit?
>
>
Well, in theory Scientific Linux is identical to RHEL 6 (just recompiled),
so I suspect it should work just fine.

-- 
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: installing Reviewboard on Centos 5.5 64-bit

2011-04-11 Thread Dean
Ah Ha! I'd been waiting for Centos 6.  How do you guess I might do
with Scientific Linux 6 in 64-bit?

On Apr 11, 6:59 pm, Stephen Gallagher 
wrote:
> > * 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)
>
> > Do I start here with some way to install the python-mysqldb ?
> > After that, will the rb-site drop Reviewboard recommended information
> > for configuration data in a file in /etc/httpd/config.d ?
>
> The package you're looking for is
> MySQL-python.
> Unfortunately, I just remembered 
> abouthttps://partner-bugzilla.redhat.com/show_bug.cgi?id=555868which means 
> that
> the version shipped in RHEL 5 (and CentOS) is too old for use with Django
> and ReviewBoard right now. So you'll probably need to rebuild this package
> with version 1.2.1p2 or later. Probably the easiest way to accomplish this
> would be to 
> downloadhttp://kojipkgs.fedoraproject.org/packages/MySQL-python/1.2.3/1.fc14/...
> then use 'rpmbuild --rebuild ' to rebuild it for your platform.
> ('yum-builddep ' is also useful for installing any prerequisites
> needed for building)

-- 
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: installing Reviewboard on Centos 5.5 64-bit

2011-04-11 Thread Stephen Gallagher
> * 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)
>
> Do I start here with some way to install the python-mysqldb ?
> After that, will the rb-site drop Reviewboard recommended information
> for configuration data in a file in /etc/httpd/config.d ?
>
>

The package you're looking for is
MySQL-python.
Unfortunately, I just remembered about
https://partner-bugzilla.redhat.com/show_bug.cgi?id=555868 which means that
the version shipped in RHEL 5 (and CentOS) is too old for use with Django
and ReviewBoard right now. So you'll probably need to rebuild this package
with version 1.2.1p2 or later. Probably the easiest way to accomplish this
would be to download
http://kojipkgs.fedoraproject.org/packages/MySQL-python/1.2.3/1.fc14/src/MySQL-python-1.2.3-1.fc14.src.rpmand
then use 'rpmbuild --rebuild ' to rebuild it for your platform.
('yum-builddep ' is also useful for installing any prerequisites
needed for building)

-- 
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: installing Reviewboard on Centos 5.5 64-bit

2011-04-11 Thread Dean
I went back through my notes and backed out everything I had installed
following the original install instructions and then added the EPEL
repo. The EPEL repo and its ReviewBoard installed smoothly. I found
that I needed to re-install mysql-server. That completed, I set the
permissions on the mysql db and started at the rb-install script
again:

# rb-site install /var/www/reviewboard


* Welcome to the Review Board site installation wizard

This will prepare a Review Board site installation in:

/var/www/reviewboard

We need to know a few things before we can prepare your site for
installation. This will only take a few minutes.


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

Do I start here with some way to install the python-mysqldb ?
After that, will the rb-site drop Reviewboard recommended information
for configuration data in a file in /etc/httpd/config.d ?

On Apr 8, 9:59 am, Stephen Gallagher 
wrote:
> On 04/08/2011 11:57 AM, Dean wrote:> If I use this method (very attractive) 
> do you recommend I back out the
> > steps I've made prior to using your yum/rpm install?
>
> It's always a good idea to start from a clean state, yes. However
> RPM/yum *should* be able to handle things for you here.

-- 
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: installing Reviewboard on Centos 5.5 64-bit

2011-04-08 Thread Stephen Gallagher
On 04/08/2011 11:57 AM, Dean wrote:
> If I use this method (very attractive) do you recommend I back out the
> steps I've made prior to using your yum/rpm install?
It's always a good idea to start from a clean state, yes. However
RPM/yum *should* be able to handle things for you here.

-- 
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: installing Reviewboard on Centos 5.5 64-bit

2011-04-08 Thread Dean
If I use this method (very attractive) do you recommend I back out the
steps I've made prior to using your yum/rpm install?

On Apr 8, 6:20 am, Stephen Gallagher 
wrote:
> On 04/07/2011 07:02 PM, Dean wrote:
>
> > I'm following the v1.5 admin installation doc, and ran into trouble on
> > the "mysql-python" step.
> > I've been installing as root, and am down to wondering if there are
> > environment setting I have omitted because everybody know python but
> > me...
>
> Make your life easier: use the pre-build ReviewBoard RPMs I created for
> EPEL 5.
>
> Add the EPEL repository (instructions 
> here:http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F)
>
> Then 'yum install ReviewBoard' and you'll get everything you need. No
> need to use easy_install or understand python.

-- 
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: installing Reviewboard on Centos 5.5 64-bit

2011-04-08 Thread Dean
Thanks! I'll report back on progress.

On Apr 7, 5:07 pm, David Trowbridge  wrote:
> It looks like you need to install a -devel package for mysql in order to get
> the headers.
>
> -David
>
> On Thu, Apr 7, 2011 at 4:02 PM, Dean  wrote:
> > I'm following the v1.5 admin installation doc, and ran into trouble on
> > the "mysql-python" step.
> > I've been installing as root, and am down to wondering if there are
> > environment setting I have omitted because everybody know python but
> > me...
>
> > I get these errors:
>
> > easy_install mysql-python
> > Searching for mysql-python
> > Readinghttp://pypi.python.org/simple/mysql-python/
> > Readinghttp://sourceforge.net/projects/mysql-python/
> > Readinghttp://sourceforge.net/projects/mysql-python
> > Best match: MySQL-python 1.2.3
> > Downloading
> >http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python...
> > Processing MySQL-python-1.2.3.tar.gz
> > Running MySQL-python-1.2.3/setup.py -q bdist_egg --dist-dir /tmp/
> > easy_install-nX4ESs/MySQL-python-1.2.3/egg-dist-tmp-mHwDDq
> > warning: no files found matching 'MANIFEST'
> > warning: no files found matching 'ChangeLog'
> > warning: no files found matching 'GPL'
> > _mysql.c:36:23: error: my_config.h: No such file or directory
> > _mysql.c:38:19: error: mysql.h: No such file or directory
> > _mysql.c:39:26: error: mysqld_error.h: No such file or directory
> > _mysql.c:40:20: error: errmsg.h: No such file or directory
> > _mysql.c:76: error: expected specifier-qualifier-list before ‘MYSQL’
> > _mysql.c:90: error: expected specifier-qualifier-list before
> > ‘MYSQL_RES’
> > _mysql.c: In function ‘_mysql_Exception’:
> > _mysql.c:120: warning: implicit declaration of function ‘mysql_errno’
> > _mysql.c:120: error: ‘_mysql_ConnectionObject’ has no member named
> > ‘connection’
> > _mysql.c:123: error: ‘CR_MAX_ERROR’ undeclared (first use in this
> > function)
> > _mysql.c:123: error: (Each undeclared identifier is reported only once
> > _mysql.c:123: error: for each function it appears in.)
> > _mysql.c:131: error: ‘CR_COMMANDS_OUT_OF_SYNC’ undeclared (first use
> > in this function)
> > _mysql.c:132: error: ‘ER_DB_CREATE_EXISTS’ undeclared (first use in
> > this function)
> > _mysql.c:133: error: ‘ER_SYNTAX_ERROR’ undeclared (first use in this
> > function)
> > _mysql.c:134: error: ‘ER_PARSE_ERROR’ undeclared (first use in this
> > function)
> > _mysql.c:135: error: ‘ER_NO_SUCH_TABLE’ undeclared (first use in this
> > function)
> > _mysql.c:136: error: ‘ER_WRONG_DB_NAME’ undeclared (first use in this
> > function)
> > _mysql.c:137: error: ‘ER_WRONG_TABLE_NAME’ undeclared (first use in
> > this function)
> > _mysql.c:138: error: ‘ER_FIELD_SPECIFIED_TWICE’ undeclared (first use
> > in this function)
> > _mysql.c:139: error: ‘ER_INVALID_GROUP_FUNC_USE’ undeclared (first use
> > in this function)
> > _mysql.c:140: error: ‘ER_UNSUPPORTED_EXTENSION’ undeclared (first use
> > in this function)
> > _mysql.c:141: error: ‘ER_TABLE_MUST_HAVE_COLUMNS’ undeclared (first
> > use in this function)
> > _mysql.c:170: error: ‘ER_DUP_ENTRY’ undeclared (first use in this
> > function)
> > _mysql.c:213: warning: implicit declaration of function ‘mysql_error’
> > _mysql.c:213: error: ‘_mysql_ConnectionObject’ has no member named
> > ‘connection’
> > _mysql.c:213: warning: passing argument 1 of ‘PyString_FromString’
> > makes pointer from integer without a cast
> > _mysql.c: In function ‘_mysql_server_init’:
> > _mysql.c:308: warning: label ‘finish’ defined but not used
> > _mysql.c:234: warning: unused variable ‘item’
> > _mysql.c:233: warning: unused variable ‘groupc’
> > _mysql.c:233: warning: unused variable ‘i’
> > _mysql.c:233: warning: unused variable ‘cmd_argc’
> > _mysql.c:232: warning: unused variable ‘s’
> > _mysql.c: In function ‘_mysql_ResultObject_Initialize’:
> > _mysql.c:363: error: ‘MYSQL_RES’ undeclared (first use in this
> > function)
> > _mysql.c:363: error: ‘result’ undeclared (first use in this function)
> > _mysql.c:368: error: ‘MYSQL_FIELD’ undeclared (first use in this
> > function)
> > _mysql.c:368: error: ‘fields’ undeclared (first use in this function)
> > _mysql.c:377: error: ‘_mysql_ResultObject’ has no member named ‘use’
> > _mysql.c:380: warning: implicit declaration of function
> > ‘mysql_use_result’
> > _mysql.c:380: error: ‘_mysql_ConnectionObject’ has no member named
> > ‘connection’
> > _mysql.c:382: warning: implicit declaration of function
> > ‘mysql_store_result’
> > _mysql.c:382: error: ‘_mysql_ConnectionObject’ has no member named
> > ‘connection’
> > _mysql.c:383: error: ‘_mysql_ResultObject’ has no member named
> > ‘result’
> > _mysql.c:386: error: ‘_mysql_ResultObject’ has no member named
> > ‘converter’
> > _mysql.c:389: warning: implicit declaration of function
> > ‘mysql_num_fields’
> > _mysql.c:390: error: ‘_mysql_ResultObject’ has no member named
> > ‘nfields’
> > _mysql.c:391: error: ‘_mysql_ResultObject’ has no member named
> > ‘converter’
> > _mysql.c:392: warning: im

Re: installing Reviewboard on Centos 5.5 64-bit

2011-04-08 Thread Stephen Gallagher
On 04/07/2011 07:02 PM, Dean wrote:
> I'm following the v1.5 admin installation doc, and ran into trouble on
> the "mysql-python" step.
> I've been installing as root, and am down to wondering if there are
> environment setting I have omitted because everybody know python but
> me...


Make your life easier: use the pre-build ReviewBoard RPMs I created for
EPEL 5.

Add the EPEL repository (instructions here:
http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F )

Then 'yum install ReviewBoard' and you'll get everything you need. No
need to use easy_install or understand python.

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