Hi all!

Just installed Reviewboard in an Ubuntu 10.04 desktop turned into
server.

After installing ReviewBoard everything seemed to be working OK - BUT
then I was looking for a place to set the default e-mail address to
send e-mail from ReviewBoard, and when I try to enter into /admin/db/
siteconfig/siteconfiguration/add/ I get a "500 Server Internal Error"
- some errors from Apache error.log are:

/usr/lib/python2.6/dist-packages/mod_python/importer.py:32:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/db/
__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated;
use settings.DATABASES instead.
  DeprecationWarning
/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/db/
__init__.py:60: DeprecationWarning: Short names for ENGINE in database
configurations are deprecated. Prepend default.ENGINE with
'django.db.backends.'
  DeprecationWarning
/usr/local/lib/python2.6/dist-packages/pytz-2011e-py2.6.egg/pytz/
__init__.py:35: UserWarning: Module _mysql was already imported from /
usr/lib/pymodules/python2.6/_mysql.so, but /usr/lib/pymodules/
python2.6 is being added to sys.path
  from pkg_resources import resource_stream
/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/
core/context_processors.py:27: DeprecationWarning: The context
processor at `django.core.context_processors.auth` is deprecated; use
the path `django.contrib.auth.context_processors.auth` instead.
  DeprecationWarning
/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/
template/loaders/filesystem.py:58: DeprecationWarning:
'django.template.loaders.filesystem.load_template_source' is
deprecated; use 'django.template.loaders.filesystem.Loader' instead.
  DeprecationWarning
/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/
template/loaders/app_directories.py:71: DeprecationWarning:
'django.template.loaders.app_directories.load_template_source' is
deprecated; use 'django.template.loaders.app_directories.Loader'
instead.
  DeprecationWarning
/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/
contrib/auth/models.py:393: DeprecationWarning: The user messaging API
is deprecated. Please update your code to use the new messages
framework.
  category=DeprecationWarning)
/usr/lib/python2.6/dist-packages/mod_python/importer.py:32:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
ERROR:root:Exception thrown for user sysadmin at
http://125.1.18.183/rb-test/admin/db/siteconfig/siteconfiguration/add/

(this is the first error, followed by a lot of lines with trackbacks
and ending with:)

  File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.7-py2.6.egg/
djblets/siteconfig/models.py", line 132, in __get_sync_cache_key
    return str("%s:siteconfig:%s:generation" % (self.site.domain,
self.id))
  File "/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/
django/db/models/fields/related.py", line 301, in __get__
    raise self.field.rel.to.DoesNotExist
DoesNotExist


Installation steps (done like this to have an "Internet-independent
install", as in my company we have a private local Ubuntu mirror) -
I'm posting this just in case anyone notices something missing or some
version inconsistences:

apt-get install python-setuptools
apt-get install python-dev  -->> Instala python2.6-dev
apt-get install memcached
easy_install python-memcached-latest.tar.gz
apt-get install patch
easy_install Imaging-1.1.7.tar.gz
easy_install paramiko-1.7.4.tar.gz
easy_install flup-1.0.2.tar.gz
easy_install Django-1.3.tar.gz
easy_install django_evolution-0.6.2.tar.gz
easy_install Djblets-0.6.7.tar.gz
apt-get install python-mysqldb
easy_install recaptcha-client-1.0.6.tar.gz
easy_install pytz-2011e.tar.gz
easy_install python-dateutil-1.5.tar.gz
easy_install Pygments-1.4.tar.gz
easy_install ReviewBoard-1.5.5.tar.gz
apt-get install python-svn
apt-get install pylucene
apt-get install libapache2-mod-python

That's all installing - then, create a site:
(MySQL DB already created)

rb-site install /var/www/rb-test
Domain Name: 192.168.10.10 (server address, no DNS)
Root Path: rb-test
Media URL [media/]:
Database Type: 1 (MySQL)
Database Name: rbtest
Database Server: localhost
Database Username: username
Database Password: password
Cache Type: 1 (memcached)
Memcache Server [memcached://localhost:11211/]
Web Server: 1 (Apache)
Python Loader: 1 (modpython)
Username [admin]: sysadmin
Password: ****
E-Mail Address: <my E-mail>

cd /var/www/rb-test/
chown -R www-data.www-data htdocs/media/uploaded/ data/
cp conf/apache-modpython.conf /etc/apache2/sites-available/
125.1.18.183
ln -s /etc/apache2/sites-available/125.1.18.183 /etc/apache2/sites-
enabled/
rm /etc/apache2/sites-enabled/000-default
service apache2 restart

┬┐Any ideas?

Thanks in advance!

Nahuel

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