Ok.. I got past the problems with pycrypto and installed reviewboard.. not the 
rb-site is failing again..  I have created a database named reviewboard and a 
user named admin which has all rights.  Is the problem with my version of mysql?

* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/__init__.py:19: 
DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES 
instead.
  DeprecationWarning
/usr/lib/python2.4/site-packages/Django-1.3-py2.4.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 7, in ?
    sys.exit(
  File 
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/reviewboard/cmdline/rbsite.py",
 line 1611, in main
    command.run()
  File 
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/reviewboard/cmdline/rbsite.py",
 line 1177, in run
    self.show_install_status()
  File 
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/reviewboard/cmdline/rbsite.py",
 line 1436, in show_install_status
    site.sync_database)
  File 
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/reviewboard/cmdline/rbsite.py",
 line 703, in step
    func()
  File 
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/reviewboard/cmdline/rbsite.py",
 line 339, in sync_database
    self.run_manage_command("syncdb", params)
  File 
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/reviewboard/cmdline/rbsite.py",
 line 377, in run_manage_command
    fix_django_evolution_issues(reviewboard.settings)
  File 
"/usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg/reviewboard/admin/migration.py",
 line 13, in fix_django_evolution_issues
    import django.db.models.fields as model_fields
  File 
"/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/__init__.py", 
line 78, in ?
    connection = connections[DEFAULT_DB_ALIAS]
  File 
"/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/utils.py", 
line 
93, in __getitem__
    backend = load_backend(db['ENGINE'])
  File 
"/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/utils.py", 
line 
33, in load_backend
    return import_module('.base', backend_name)
  File 
"/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/utils/importlib.py",
 line 35, in import_module
    __import__(name)
  File 
"/usr/lib/python2.4/site-packages/Django-1.3-py2.4.egg/django/db/backends/mysql/base.py",
 line 23, in ?
    raise ImproperlyConfigured("MySQLdb-1.2.1p2 or newer is required; you have 
%s" % Database.__version__)
django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is 
required; you have 1.2.1
[root@buildtest01 ~]# 



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