To reply, visit https://hellosplat.com/s/beanbag/tickets/4443/

New ticket #4443 by musicaptain
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect

django.db.utils.DatabaseError: (1146, "Table 'reviewboard.auth_user' doesn't 

# What version are you running?

# What's the URL of the page containing the problem?

# What steps will reproduce the problem?
1. yum install ReviewBoard
2. rb-site install /var/www/reviewboard

# What is the expected output? What do you see instead?

* Welcome to the Review Board site installation wizard

    This will prepare a Review Board site installation in:


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

* What's the host name for this site?

    This should be the fully-qualified host name without the http://,
    port or path.

Domain Name:

* What URL path points to Review Board?

    Typically, Review Board exists at the root of a URL. For example,
    http://reviews.example.com/. In this case, you would specify "/".

    However, if you want to listen to, say,
    http://example.com/reviews/, you can specify "/reviews/".

    Note that this is the path relative to the domain and should not
    include the domain name.

    The default is /

Root Path [/]: 

* What URL will point to the shipped media files?

    While most installations distribute media files on the same server
    as the rest of Review Board, some custom installs may instead have
    a separate server for this purpose.

    If unsure, don't change the default.

    The default is static/

Shipped Media URL [static/]: 

* What URL will point to the uploaded media files?

    Note that this is different from shipped media. This is where all
    uploaded screenshots, file attachments, and extension media will
    go. It must be a different location from the shipped media.

    If unsure, don't change the default.

    The default is media/

Uploaded Media URL [media/]: 

* What database type will you be using?

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

    (1) mysql
    (2) postgresql
    (3) sqlite3 (not supported for production use)

Database Type: 1

* What database name should Review Board use?

    NOTE: You need to create this database and grant user modification
    rights before continuing. See your database documentation for more

    The default is reviewboard

Database Name [reviewboard]: 

* What is the database server's address?

    This should be specified in hostname:port form. The port is
    optional if you're using a standard port for the database type.

    The default is localhost

Database Server [localhost]: 

* What is the login and password for this database?

    This must be a user that has table creation and modification
    rights on the database you already specified.

Database Username: root

Database Password: 

    The default is root123

Confirm Database Password [root123]: 

* What cache mechanism should be used?

    memcached is strongly recommended. Use it unless you have a good
    reason not to.

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

    (1) memcached (recommended)
    (2) file

Cache Type: 

[!] '' is not a valid option.
Cache Type: 1

* What memcached host should be used?

    This is in the format of hostname:port

    The default is localhost:11211

Memcache Server [localhost:11211]: 

* What web server will you be using?

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

    (1) apache
    (2) lighttpd

Web Server: 1

* What Python loader module will you be using?

    Based on our experiences, we recommend using wsgi with Review

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

    (1) wsgi (recommended)
    (2) fastcgi
    (3) modpython (no longer supported)

Python Loader: 

[!] '' is not a valid option.
Python Loader: 1

* Create an administrator account

    To configure Review Board, you'll need an administrator account.
    It is advised to have one administrator and then use that account
    to grant administrator permissions to your personal user account.

    If you plan to use NIS or LDAP, use an account name other than
    your NIS/LDAP account so as to prevent conflicts.

    The default is admin

Username [admin]: 


    The default is 123

Confirm Password [123]: 

E-Mail Address: 

[!] You must answer this question.
E-Mail Address: cuizhiqi...@maidoupo.com

Company/Organization Name (optional): 

* Enable collection of data for better support

    We would like to periodically collect data and statistics about
    your installation to provide a better support experience for you
    and your users.

    The data collected includes basic information such as your company
    name, the version of Review Board, and the size of your install.
    It does NOT include confidential data such as source code. Data
    collected never leaves our server and is never given to any third
    parties for any purposes.

    We use this to provide a user support page that's more specific to
    your server. We also use it to determine which versions to
    continue to support, and to help track how upgrades affect our
    number of bug reports and support incidents.

    You can choose to turn this off at any time in Support Settings in
    Review Board.

Allow us to collect support data? [Y/n]: 

* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... 
[!] Unable to execute the manager command syncdb: cannot import name

[!] Unable to execute the manager command registerscmtools: cannot
    import name WebAPITokenGenerationError
Performing migrations ... 
[!] Unable to execute the manager command evolve: cannot import name
Creating administrator account ... Traceback (most recent call last):
  File "/usr/bin/rb-site", line 9, in <module>
    load_entry_point('ReviewBoard==1.7.27', 'console_scripts', 'rb-site')()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py", line 
2170, in main
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py", line 
1551, in run
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py", line 
1864, in show_install_status
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py", line 
1011, in step
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/rbsite.py", line 
556, in create_admin_user
  File "/usr/lib/python2.6/site-packages/django/contrib/auth/models.py", line 
164, in create_superuser
    u = self.create_user(username, email, password)
  File "/usr/lib/python2.6/site-packages/django/contrib/auth/models.py", line 
160, in create_user
  File "/usr/lib/python2.6/site-packages/django/db/models/base.py", line 463, 
in save
    self.save_base(using=using, force_insert=force_insert, 
  File "/usr/lib/python2.6/site-packages/django/db/models/base.py", line 551, 
in save_base
    result = manager._insert([self], fields=fields, return_id=update_pk, 
using=using, raw=raw)
  File "/usr/lib/python2.6/site-packages/django/db/models/manager.py", line 
203, in _insert
    return insert_query(self.model, objs, fields, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 1593, 
in insert_query
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py", 
line 912, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/base.py", 
line 114, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 173, in 
    self.errorhandler(self, exc, value)
  File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 36, in 
    raise errorclass, errorvalue
django.db.utils.DatabaseError: (1146, "Table 'reviewboard.auth_user' doesn't 
# What operating system are you using? What browser?

# Please provide any additional information below.


You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to