dependency_error('Unable to
read settings_local.py.')
Русский:
Посмотри в каталожке где_лежит_ревьюборд/conf файлик settings_local.py -
возможно там есть похожий, типа settings_local.py.orig - его надо поправить
под себя и переименовать.
Eng:
It's seemed like a setup issue - after install we need to edit and rename
configuration file from something like settings_local.py.orig to
settings_local.py - I dont remember how it named exactly.
-Original Message-
From: Roman Prikhodchenko romcheg.pri...@gmail.com
To: reviewboard reviewboard@googlegroups.com
Date: Mon, 16 Nov 2009 05:41:06 -0800 (PST)
Subject: Help to configure Review Board
Hi!
My name is Roman, I'm a software developer in a small new company.
Actually I'm not a system administrator but I was chosen to configure
some services for project development because there is no system
administrator in our company yet. One of these services is Review
Board.
I have a Debian Linux server with Apache 2 and Python 2.5 installed.
I've configured the Review Board according to this manual
http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/
and created a site according to this
http://www.reviewboard.org/docs/manual/dev/admin/sites/creating-sites/#creatingsites.
Then I've configured Apache using mod_python but when I'm trying to
enter this site with browser I get an Internal Server Error message.
You can read detailed information about my problem and configuration
below. Thanks a lot!
Site created at /srv/Reviews/Catalog/
Logs:
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] mod_python
(pid=32745, interpreter='ourserver.address', phase='PythonHandler',
handler='django.core.handlers.modpython'): Application error
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] ServerName:
'ourserver.address'
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78]
DocumentRoot: '/srv/Reviews/Catalog'
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] URI: '/'
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] Location:
'/'
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] Directory:
None
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] Filename: '/
srv/Reviews/Catalog/'
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] PathInfo: ''
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] Traceback
(most recent call last):
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/mod_python/importer.py, line 1537, in
HandlerDispatch\ndefault=default_handler, arg=req,
silent=hlist.silent)
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/mod_python/importer.py, line 1229, in
_process_target\nresult = _execute_target(config, req, object,
arg)
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/mod_python/importer.py, line 1128, in
_execute_target\nresult = object(arg)
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/core/
handlers/modpython.py, line 228, in handler\nreturn
ModPythonHandler()(req)
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/core/
handlers/modpython.py, line 191, in __call__\nself.load_middleware
()
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/core/
handlers/base.py, line 33, in load_middleware\nfor
middleware_path in settings.MIDDLEWARE_CLASSES:
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/utils/
functional.py, line 269, in __getattr__\nself._setup()
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/conf/
__init__.py, line 40, in _setup\nself._wrapped = Settings
(settings_module)
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/conf/
__init__.py, line 73, in __init__\nmod = importlib.import_module
(self.SETTINGS_MODULE)
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/utils/
importlib.py, line 35, in import_module\n__import__(name)
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/
settings.py, line 152, in module\ndependency_error('Unable to
read settings_local.py.')
[Mon Nov 16 15:24:35 2009] [error] [client 80.239.242.78] File /usr/
lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/reviewboard/
settings.py, line 141, in dependency_error\n