Evidently, the install of reviewboard failed and I didn't notice.

[root@buildtest01 etc]#  easy_install ReviewBoard
Searching for ReviewBoard
Best match: ReviewBoard 1.5.5
Processing ReviewBoard-1.5.5-py2.4.egg
ReviewBoard 1.5.5 is already the active version in easy-install.pth
Installing rb-site script to /usr/bin
Installing rbssh script to /usr/bin

Using /usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg
Processing dependencies for ReviewBoard
Searching for pycrypto>=1.9
Reading http://downloads.reviewboard.org/mirror/
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/
Reading http://pypi.python.org/simple/pycrypto/
Reading http://pycrypto.sourceforge.net
Reading http://www.pycrypto.org/
Download error: (101, 'Network is unreachable') -- Some packages may not be 
found!
Reading http://www.amk.ca/python/code/crypto
Best match: pycrypto 2.3
Downloading http://www.pycrypto.org/files/pycrypto-2.3.tar.gz
error: Download error for http://www.pycrypto.org/files/pycrypto-2.3.tar.gz: 
(101, 'Network is unreachable')
[root@buildtest01 etc]# 



 
Regards and be well!
Marlene

 




________________________________
From: Christian Hammond <chip...@chipx86.com>
To: reviewboard@googlegroups.com
Cc: funeeldy <funee...@yahoo.com>
Sent: Wed, March 30, 2011 4:55:29 PM
Subject: Re: error trying to create site

Hi,

This is something we should mention during rb-site (guess we don't), but you 
need to create the database first before running rb-site.

The reason is that creation of a database generally takes root/admin access, 
but 
that a site is setup with a user that wouldn't (and shouldn't) have rights to 
create databases. So, root needs to create the database and grant rights to the 
user you intend to use (you never want to use root as your user for the site 
for 
security reasons).

Christian

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



On Wed, Mar 30, 2011 at 1:41 PM, funeeldy <funee...@yahoo.com> wrote:


>* Installing the site...
>Building site directories ... OK
>Building site configuration files ... OK
>/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/db/
>__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated;
>use settings.DATABASES instead.
> DeprecationWarning
>/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/db/
>__init__.py:60: DeprecationWarning: Short names for ENGINE in database
>configurations are deprecated. Prepend default.ENGINE with
>'django.db.backends.'
> DeprecationWarning
>Creating database ... Traceback (most recent call last):
> File "/usr/bin/rb-site", line 8, in <module>
>   load_entry_point('ReviewBoard==1.5.5', 'console_scripts', 'rb-
>site')()
> File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
>reviewboard/cmdline/rbsite.py", line 1611, in main
>   command.run()
> File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
>reviewboard/cmdline/rbsite.py", line 1177, in run
>   self.show_install_status()
> File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
>reviewboard/cmdline/rbsite.py", line 1436, in show_install_status
>   site.sync_database)
> File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
>reviewboard/cmdline/rbsite.py", line 703, in step
>   func()
> File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
>reviewboard/cmdline/rbsite.py", line 339, in sync_database
>   self.run_manage_command("syncdb", params)
> File "/usr/lib/python2.5/site-packages/ReviewBoard-1.5.5-py2.5.egg/
>reviewboard/cmdline/rbsite.py", line 397, in run_manage_command
>   execute_manager(reviewboard.settings, [__file__, cmd] + params)
> File "/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/
>core/management/__init__.py", line 438, in execute_manager
>   utility.execute()
> File "/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/
>core/management/__init__.py", line 379, in execute
>   self.fetch_command(subcommand).run_from_argv(self.argv)
> File "/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/
>core/management/base.py", line 191, in run_from_argv
>   self.execute(*args, **options.__dict__)
> File "/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/
>core/management/base.py", line 219, in execute
>   self.validate()
> File "/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/
>core/management/base.py", line 249, in validate
>   num_errors = get_validation_errors(s, app)
> File "/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/
>core/management/validation.py", line 103, in get_validation_errors
>   connection.validation.validate_field(e, opts, f)
> File "/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/
>db/backends/mysql/validation.py", line 14, in validate_field
>   db_version = self.connection.get_server_version()
> File "/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/
>db/backends/mysql/base.py", line 338, in get_server_version
>   self.cursor()
> File "/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/
>db/backends/__init__.py", line 252, in cursor
>   cursor = util.CursorWrapper(self._cursor(), self)
> File "/usr/lib/python2.5/site-packages/Django-1.3-py2.5.egg/django/
>db/backends/mysql/base.py", line 322, in _cursor
>   self.connection = Database.connect(**kwargs)
> File "/var/lib/python-support/python2.5/MySQLdb/__init__.py", line
>74, in Connect
>   return Connection(*args, **kwargs)
> File "/var/lib/python-support/python2.5/MySQLdb/connections.py",
>line 170, in __init__
>   super(Connection, self).__init__(*args, **kwargs2)
>_mysql_exceptions.OperationalError: (1049, "Unknown database
>'reviewboard'")
>16:30(root) ~ $
>
>--
>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

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

Reply via email to