Hi there,

Please pardon me, if I am using the wrong group and guide me to the
appropriate group, thanks.

I installed the reviewboard on a VM. Below are the steps:
---------------------------------------------------------------------------------------------------------------------------------
sudo -s
mkdir reviewBoard
cd reviewBoard/
apt-get update
apt-get install python-setuptools
apt-get install python-dev
apt-get install memcached
apt-get install patch
apt-get install python-mysqldb

# REFERENCE:
http://stackoverflow.com/questions/7896541/trying-to-install-pycrypto-on-ubuntu-via-buildout-src-config-h-no-such-file-or

wget http://downloads.reviewboard.org/mirror/pycrypto-2.4.tar.gz
tar -xzvf pycrypto-2.4.tar.gz
cd pycrypto-2.4
./configure
python setup.py install
easy_install ReviewBoard

Had trouble with the optional pylucene, so skipped it.
---------------------------------------------------------------------------------------------------------------------------------
After running rb-site install /var/www/reviews.board.com, while trying
to access XX.XX.XX.XX, I am getting ‘Review Board is taking a nap’.
Please help.

Below is the output of rb-install:

================================================================================

* Welcome to the Review Board site installation wizard

    This will prepare a Review Board site installation in:

    /var/www/reviews.board.com

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


* Make sure you have the modules you need

    Depending on your installation, you may need certain Python
    modules and servers that are missing.

    If you need support for any of the following, you will need to
    install the necessary modules and restart the install.

    Databases (optional):
        * PostgreSQL (psycopg2)


* What's the host name for this site?

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

Domain Name: XXXXXXXXX


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

    The default is media/

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) 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
    information.

    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]: XX.XX.XX.XX


* 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: XXXXXXXXX

Database Password:


* 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: 1


* What memcached connection string should be used?

    This is generally in the format of memcached://hostname:port/

    The default is memcached://localhost:11211/

Memcache Server [memcached://localhost:11211/]: memcached://XX.XX.XX.XX: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
    Board.

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

Password:

E-Mail Address: xxxxxxxxx...@xxxxxxxxxx.com


* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... Creating tables ...
Traceback (most recent call last):
  File "/usr/bin/rb-site", line 8, in <module>
    load_entry_point('ReviewBoard==1.6.3', 'console_scripts', 'rb-
site')()
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.6.3-py2.5.egg/
reviewboard/cmdline/rbsite.py", line 1745, in main
    command.run()
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.6.3-py2.5.egg/
reviewboard/cmdline/rbsite.py", line 1293, in run
    self.show_install_status()
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.6.3-py2.5.egg/
reviewboard/cmdline/rbsite.py", line 1563, in show_install_status
    site.sync_database)
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.6.3-py2.5.egg/
reviewboard/cmdline/rbsite.py", line 787, in step
    func()
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.6.3-py2.5.egg/
reviewboard/cmdline/rbsite.py", line 346, in sync_database
    self.run_manage_command("syncdb", params)
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.6.3-py2.5.egg/
reviewboard/cmdline/rbsite.py", line 469, in run_manage_command
    execute_manager(reviewboard.settings, [__file__, cmd] + params)
  File "/usr/lib/python2.5/site-packages/Django-1.3.1-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.1-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.1-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.1-py2.5.egg/django/
core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/
core/management/base.py", line 351, in handle
    return self.handle_noargs(**options)
  File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/
core/management/commands/syncdb.py", line 109, in handle_noargs
    emit_post_sync_signal(created_models, verbosity, interactive, db)
  File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/
core/management/sql.py", line 190, in emit_post_sync_signal
    interactive=interactive, db=db)
  File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/
dispatch/dispatcher.py", line 172, in send
    response = receiver(signal=self, sender=sender, **named)
  File "/usr/lib/python2.5/site-packages/ReviewBoard-1.6.3-py2.5.egg/
reviewboard/admin/management/sites.py", line 24, in init_siteconfig
    siteconfig, is_new =
SiteConfiguration.objects.get_or_create(site=site)
  File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/
db/models/manager.py", line 135, in get_or_create
    return self.get_query_set().get_or_create(**kwargs)
  File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/
db/models/query.py", line 378, in get_or_create
    return self.get(**lookup), False
  File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/
db/models/query.py", line 344, in get
    num = len(clone)
  File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/
db/models/query.py", line 82, in __len__
    self._result_cache = list(self.iterator())
  File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/
db/models/query.py", line 286, in iterator
    obj = model(*row[index_start:aggregate_start])
  File "/usr/lib/python2.5/site-packages/Djblets-0.6.15-py2.5.egg/
djblets/siteconfig/models.py", line 57, in __init__
    cache.add(cache_key, 1)
  File "/usr/lib/python2.5/site-packages/Django-1.3.1-py2.5.egg/django/
core/cache/backends/memcached.py", line 54, in add
    return self._cache.add(key, value,
self._get_memcache_timeout(timeout))
  File "build/bdist.linux-i686/egg/memcache.py", line 506, in add
  File "build/bdist.linux-i686/egg/memcache.py", line 772, in _set
  File "build/bdist.linux-i686/egg/memcache.py", line 1027, in
check_key
memcache.MemcachedKeyCharacterError: Control characters not allowed

================================================================================

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