ImportError at /

No module named cache_db
Request Method: GET
Request URL: http://localhost/
Django Version: 1.2.5
Exception Type: ImportError
Exception Value:
No module named cache_db
Exception Location: /usr/lib/python2.6/site-packages/django/utils/importlib.py in import_module, line 35
Python Executable: /usr/bin/python
Python Version: 2.6.6
Python Path: ['/etc/askbot/sites/askfedora', '/usr/lib/python26.zip', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages/PIL', '/usr/lib/python2.6/site-packages/gtk-2.0', '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info', '/usr/lib/python2.6/site-packages/askbot/deps']
Server time: Wed, 7 Sep 2011 13:30:35 -0500

Traceback Switch to copy-and-paste view



Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
DOCUMENT_ROOT
'/var/www/html'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT
'*/*'
HTTP_HOST
'localhost'
HTTP_USER_AGENT
'curl/7.19.7 (i386-redhat-linux-gnu) libcurl/7.19.7 NSS/3.12.9.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2'
PATH_INFO
u'/'
PATH_TRANSLATED
'/usr/sbin/askbot.wsgi/'
QUERY_STRING
''
REMOTE_ADDR
'127.0.0.1'
REMOTE_PORT
'55892'
REQUEST_METHOD
'GET'
REQUEST_URI
'/'
SCRIPT_FILENAME
'/usr/sbin/askbot.wsgi'
SCRIPT_NAME
u''
SERVER_ADDR
'127.0.0.1'
SERVER_ADMIN
'admin@fedoraproject.org'
SERVER_NAME
'localhost'
SERVER_PORT
'80'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.2.15 (Red Hat) Server at localhost Port 80</address>\n'
SERVER_SOFTWARE
'Apache/2.2.15 (Red Hat)'
mod_wsgi.application_group
'ask01.stg.phx2.fedoraproject.org|'
mod_wsgi.callable_object
'application'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
'0.0.0.0'
mod_wsgi.listener_port
'80'
mod_wsgi.process_group
'askbot'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 2)
wsgi.errors
<mod_wsgi.Log object at 0xb53c9750>
wsgi.file_wrapper
<built-in method file_wrapper of mod_wsgi.Adapter object at 0xb78b8cc8>
wsgi.input
<mod_wsgi.Input object at 0xb53c9728>
wsgi.multiprocess
True
wsgi.multithread
False
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 1)

Settings

Using settings module askbotsites.settings

Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Your Name', 'your_email@domain.com'),)
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'/admin/media/'
ALLOWED_INCLUDE_ROOTS
()
ALLOW_UNICODE_SLUGS
False
APPEND_SLASH
True
ASKBOT_ALLOWED_UPLOAD_FILE_TYPES
('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff')
ASKBOT_FILE_UPLOAD_DIR
'/etc/askbot/sites/askfedora/askbotsites/askbot/upfiles'
ASKBOT_MAX_UPLOAD_FILE_SIZE
1048576
ASKBOT_UPLOADED_FILES_URL
'upfiles/'
ASKBOT_URL
''
ASKBOT_USE_STACKEXCHANGE_URLS
False
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend', 'askbot.deps.django_authopenid.backends.AuthBackend')
BANNED_IPS
()
BROKER_BACKEND
'djkombu.transport.DatabaseTransport'
CACHE_BACKEND
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX
''
CACHE_MIDDLEWARE_SECONDS
600
CACHE_PREFIX
'askfedora'
CACHE_TIMEOUT
6000
CELERY_ALWAYS_EAGER
True
CELERY_RESULT_BACKEND
'database'
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_NAME
'askbot_scrf'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
DATABASES
{'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'db01', 'NAME': 'askfedora', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Chicago', 'USER': 'askfedora'}}
DATABASE_ENGINE
'postgresql_psycopg2'
DATABASE_HOST
'db01'
DATABASE_NAME
'askfedora'
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
'********************'
DATABASE_PORT
'5432'
DATABASE_ROUTERS
[]
DATABASE_USER
'askfedora'
DATETIME_FORMAT
'N j, Y, P'
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y')
DATE_FORMAT
'N j, Y'
DATE_INPUT_FORMATS
('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y')
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
''
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
()
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
''
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
''
EMAIL_SUBJECT_PREFIX
''
EMAIL_USE_TLS
False
FILE_CHARSET
'utf-8'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
'/etc/askbot/sites/askfedora/askbotsites/tmp'
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
()
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
IMAP_HOST
''
IMAP_HOST_PASSWORD
'********************'
IMAP_HOST_USER
''
IMAP_PORT
''
IMAP_USE_TLS
False
INSTALLED_APPS
['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.humanize', 'django.contrib.sitemaps', 'askbot', 'askbot.deps.django_authopenid', 'south', 'askbot.deps.livesettings', 'keyedcache', 'robots', 'django_countries', 'djcelery', 'djkombu', 'avatar']
INTERNAL_IPS
('127.0.0.1',)
LANGUAGES
(('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'en'
LANGUAGE_COOKIE_NAME
'django_language'
LOCALE_PATHS
()
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/account/signin/'
LOGOUT_URL
'/accounts/logout/'
LOG_FILENAME
'askbot.log'
MANAGERS
(('Your Name', 'your_email@domain.com'),)
MEDIA_ROOT
'/srv/askbot/askfedora/askbot/upfiles/'
MEDIA_URL
'http://ask.fedoraproject.org/upfiles/'
MESSAGE_STORAGE
'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
MIDDLEWARE_CLASSES
('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'askbot.middleware.anon_user.ConnectToSessionMessagesMiddleware', 'askbot.middleware.pagesize.QuestionsPageSizeMiddleware', 'askbot.middleware.cancel.CancelActionMiddleware', 'django.middleware.transaction.TransactionMiddleware', 'askbot.middleware.view_log.ViewLogMiddleware', 'askbot.middleware.spaceless.SpacelessMiddleware')
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
PROJECT_ROOT
'/etc/askbot/sites/askfedora/askbotsites'
ROOT_URLCONF
'askbotsites.urls'
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
''
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.cache_db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'askbotsites.settings'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SITE_ID
1
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.request', 'askbot.context.application_settings', 'askbot.user_messages.context_processors.user_messages', 'django.core.context_processors.auth', 'django.core.context_processors.csrf')
TEMPLATE_DEBUG
False
TEMPLATE_DIRS
()
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source', 'askbot.skins.loaders.load_template_source')
TEMPLATE_STRING_IF_INVALID
''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.DjangoTestSuiteRunner'
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
TIME_ZONE
'America/Chicago'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
'Django/1.2.5 (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
YEAR_MONTH_FORMAT
'F Y'

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.