AttributeError at /accounts/mickfuzz/my_books/

'module' object has no attribute 'log'

Request Method: 	POST
Request URL: 	http://booki.flossmanuals.net/accounts/mickfuzz/my_books/
Django Version: 	1.2.3
Exception Type: 	AttributeError
Exception Value: 	

'module' object has no attribute 'log'

Exception Location: 	/var/www/booki-www/lib/booki/account/views.py in my_books, line 582
Python Executable: 	/usr/bin/python
Python Version: 	2.5.2
Python Path: 	['/var/www/booki-www/lib/', '/var/www/booki-www/lib/django/', '/usr/lib/python2.5/site-packages/setuptools-0.6c12dev_r85381-py2.5.egg', '/usr/lib/python2.5/site-packages/simplejson-2.1.2-py2.5.egg', '/usr/lib/python2.5/site-packages/Django-1.2.3-py2.5.egg', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/PIL', '/var/lib/python-support/python2.5']
Server time: 	Mon, 20 Dec 2010 14:23:12 +0100
Traceback Switch to copy-and-paste view

    * /usr/lib/python2.5/site-packages/Django-1.2.3-py2.5.egg/django/core/handlers/base.py in get_response
        93. # Apply view middleware
        94. for middleware_method in self._view_middleware:
        95. response = middleware_method(request, callback, callback_args, callback_kwargs)
        96. if response:
        97. return response
        98.
        99. try:
       100. response = callback(request, *callback_args, **callback_kwargs) ...
       101. except Exception, e:
       102. # If the view raised an exception, run it through exception
       103. # middleware, and if the exception middleware returns a
       104. # response, use that. Otherwise, reraise the exception.
       105. for middleware_method in self._exception_middleware:
       106. response = middleware_method(request, e)
      ▶ Local vars
      Variable 	Value
      callback 	
      <function my_books at 0xaa85294>
      callback_args 	
      ()
      callback_kwargs 	
      {'username': u'mickfuzz'}
      e 	
      AttributeError("'module' object has no attribute 'log'",)
      exceptions 	
      <module 'django.core.exceptions' from '/usr/lib/python2.5/site-packages/Django-1.2.3-py2.5.egg/django/core/exceptions.pyc'>
      middleware_method 	
      <bound method TransactionMiddleware.process_exception of <django.middleware.transaction.TransactionMiddleware object at 0xa46582c>>
      receivers 	
      [(<function _rollback_on_exception at 0xa510224>, None)]
      request 	
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'type': [u'flossmanuals'], u'id': [u'http://en.flossmanuals.net/bin/view/VideoProduction']}>, COOKIES:{'sessionid': '1c75d1dc53b5e92560807ab062804145'}, META:{'CONTENT_LENGTH': '84', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=1c75d1dc53b5e92560807ab062804145', 'HTTP_HOST': 'booki.flossmanuals.net', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://booki.flossmanuals.net/accounts/mickfuzz/my_books/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13', 'LANG': 'en_NZ.UTF-8', 'LC_TIME': 'en_UK.UTF-8', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/accounts/mickfuzz/my_books/', 'PATH_TRANSLATED': '/var/www/booki-www/booki.wsgi/accounts/mickfuzz/my_books/', 'QUERY_STRING': '', 'REMOTE_ADDR': '88.96.226.6', 'REMOTE_PORT': '35035', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/accounts/mickfuzz/my_books/', 'SCRIPT_FILENAME': '/var/www/booki-www/booki.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '149.20.54.13', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'booki.flossmanuals.net', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2 Server at booki.flossmanuals.net Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2', 'mod_wsgi.application_group': 'booki.flossmanuals.net|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': '', 'mod_wsgi.reload_mechanism': '0', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0xaa9a368>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xa8aec38>, 'wsgi.input': <mod_wsgi.Input object at 0xab7a728>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
      resolver 	
      <RegexURLResolver booki.urls (None:None) ^/>
      response 	
      None
      self 	
      <django.core.handlers.wsgi.WSGIHandler object at 0xa11006c>
      settings 	
      <django.conf.LazySettings object at 0xa2ecd8c>
      urlconf 	
      'booki.urls'
      urlresolvers 	
      <module 'django.core.urlresolvers' from '/usr/lib/python2.5/site-packages/Django-1.2.3-py2.5.egg/django/core/urlresolvers.pyc'>
    * /usr/lib/python2.5/site-packages/Django-1.2.3-py2.5.egg/django/db/transaction.py in _commit_manually
       331. themselves.
       332. """
       333. def inner_commit_manually(func, db=None):
       334. def _commit_manually(*args, **kw):
       335. try:
       336. enter_transaction_management(using=db)
       337. managed(True, using=db)
       338. return func(*args, **kw) ...
       339. finally:
       340. leave_transaction_management(using=db)
       341.
       342. return wraps(func)(_commit_manually)
       343.
       344. # Note that although the first argument is *called* `using`, it
      ▶ Local vars
      Variable 	Value
      args 	
      (<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'type': [u'flossmanuals'], u'id': [u'http://en.flossmanuals.net/bin/view/VideoProduction']}>, COOKIES:{'sessionid': '1c75d1dc53b5e92560807ab062804145'}, META:{'CONTENT_LENGTH': '84', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=1c75d1dc53b5e92560807ab062804145', 'HTTP_HOST': 'booki.flossmanuals.net', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://booki.flossmanuals.net/accounts/mickfuzz/my_books/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13', 'LANG': 'en_NZ.UTF-8', 'LC_TIME': 'en_UK.UTF-8', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/accounts/mickfuzz/my_books/', 'PATH_TRANSLATED': '/var/www/booki-www/booki.wsgi/accounts/mickfuzz/my_books/', 'QUERY_STRING': '', 'REMOTE_ADDR': '88.96.226.6', 'REMOTE_PORT': '35035', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/accounts/mickfuzz/my_books/', 'SCRIPT_FILENAME': '/var/www/booki-www/booki.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '149.20.54.13', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'booki.flossmanuals.net', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2 Server at booki.flossmanuals.net Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2', 'mod_wsgi.application_group': 'booki.flossmanuals.net|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': '', 'mod_wsgi.reload_mechanism': '0', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0xaa9a368>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xa8aec38>, 'wsgi.input': <mod_wsgi.Input object at 0xab7a728>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>,)
      db 	
      'default'
      func 	
      <function my_books at 0xaa85224>
      kw 	
      {'username': u'mickfuzz'}
    * /var/www/booki-www/lib/booki/account/views.py in my_books
       575. base_url, source = import_sources[import_type]
       576. common.importBookFromUrl2(user, base_url,
       577. source=source,
       578. book=ID
       579. )
       580. except Exception:
       581. transaction.rollback()
       582. common.log(traceback.format_exc()) ...
       583. return render_to_response('account/error_import.html',
       584. {"request": request, "user": user})
       585. else:
       586. transaction.commit()
       587.
       588. #XXX should this be elif? even if the POST is valid as both forms, the
      ▶ Local vars
      Variable 	Value
      ID 	
      u'http://en.flossmanuals.net/bin/view/VideoProduction'
      User 	
      <class 'django.contrib.auth.models.User'>
      base_url 	
      'http://objavi.flossmanuals.net/booki-twiki-gateway.cgi'
      books 	
      []
      import_form 	
      <booki.account.views.ImportForm object at 0xaa92fec>
      import_sources 	
      {'archive': ('http://objavi.flossmanuals.net/espri.cgi', 'archive.org'), 'epub': ('http://objavi.flossmanuals.net/espri.cgi', 'url'), 'flossmanuals': ('http://objavi.flossmanuals.net/booki-twiki-gateway.cgi', 'en.flossmanuals.net'), 'wikibooks': ('http://objavi.flossmanuals.net/espri.cgi', 'wikibooks')}
      import_type 	
      u'flossmanuals'
      models 	
      <module 'booki.editor.models' from '/var/www/booki-www/lib/booki/editor/models.pyc'>
      project_form 	
      <booki.account.views.BookForm object at 0xa8fd84c>
      request 	
      <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'type': [u'flossmanuals'], u'id': [u'http://en.flossmanuals.net/bin/view/VideoProduction']}>, COOKIES:{'sessionid': '1c75d1dc53b5e92560807ab062804145'}, META:{'CONTENT_LENGTH': '84', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=1c75d1dc53b5e92560807ab062804145', 'HTTP_HOST': 'booki.flossmanuals.net', 'HTTP_KEEP_ALIVE': '115', 'HTTP_REFERER': 'http://booki.flossmanuals.net/accounts/mickfuzz/my_books/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13', 'LANG': 'en_NZ.UTF-8', 'LC_TIME': 'en_UK.UTF-8', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/accounts/mickfuzz/my_books/', 'PATH_TRANSLATED': '/var/www/booki-www/booki.wsgi/accounts/mickfuzz/my_books/', 'QUERY_STRING': '', 'REMOTE_ADDR': '88.96.226.6', 'REMOTE_PORT': '35035', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/accounts/mickfuzz/my_books/', 'SCRIPT_FILENAME': '/var/www/booki-www/booki.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '149.20.54.13', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'booki.flossmanuals.net', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2 Server at booki.flossmanuals.net Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2', 'mod_wsgi.application_group': 'booki.flossmanuals.net|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': '', 'mod_wsgi.reload_mechanism': '0', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 5), 'wsgi.errors': <mod_wsgi.Log object at 0xaa9a368>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xa8aec38>, 'wsgi.input': <mod_wsgi.Input object at 0xab7a728>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
      slugify 	
      <function slugify at 0xa6dc9cc>
      source 	
      'en.flossmanuals.net'
      user 	
      <User: mickfuzz>
      username 	
      u'mickfuzz'

Environment: Request Method: POST Request URL: http://booki.flossmanuals.net/accounts/mickfuzz/my_books/ Django Version: 1.2.3 Python Version: 2.5.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'booki.editor', 'booki.account', 'booki.reader', 'booki.portal', 'sputnik'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.transaction.TransactionMiddleware') Traceback: File "/usr/lib/python2.5/site-packages/Django-1.2.3-py2.5.egg/django/core/handlers/base.py" in get_response 100. response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.5/site-packages/Django-1.2.3-py2.5.egg/django/db/transaction.py" in _commit_manually 338. return func(*args, **kw) File "/var/www/booki-www/lib/booki/account/views.py" in my_books 582. common.log(traceback.format_exc()) Exception Type: AttributeError at /accounts/mickfuzz/my_books/ Exception Value: 'module' object has no attribute 'log'

Request information
GET

No GET data
POST
Variable 	Value
type 	
u'flossmanuals'
id 	
u'http://en.flossmanuals.net/bin/view/VideoProduction'
FILES

No FILES data
COOKIES
Variable 	Value
sessionid 	
'1c75d1dc53b5e92560807ab062804145'
META
Variable 	Value
CONTENT_LENGTH 	
'84'
CONTENT_TYPE 	
'application/x-www-form-urlencoded'
DOCUMENT_ROOT 	
'/htdocs'
GATEWAY_INTERFACE 	
'CGI/1.1'
HTTP_ACCEPT 	
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET 	
'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING 	
'gzip,deflate'
HTTP_ACCEPT_LANGUAGE 	
'en-us,en;q=0.5'
HTTP_CONNECTION 	
'keep-alive'
HTTP_COOKIE 	
'sessionid=1c75d1dc53b5e92560807ab062804145'
HTTP_HOST 	
'booki.flossmanuals.net'
HTTP_KEEP_ALIVE 	
'115'
HTTP_REFERER 	
'http://booki.flossmanuals.net/accounts/mickfuzz/my_books/'
HTTP_USER_AGENT 	
'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13'
LANG 	
'en_NZ.UTF-8'
LC_TIME 	
'en_UK.UTF-8'
PATH 	
'/usr/local/bin:/usr/bin:/bin'
PATH_INFO 	
u'/accounts/mickfuzz/my_books/'
PATH_TRANSLATED 	
'/var/www/booki-www/booki.wsgi/accounts/mickfuzz/my_books/'
QUERY_STRING 	
''
REMOTE_ADDR 	
'88.96.226.6'
REMOTE_PORT 	
'35035'
REQUEST_METHOD 	
'POST'
REQUEST_URI 	
'/accounts/mickfuzz/my_books/'
SCRIPT_FILENAME 	
'/var/www/booki-www/booki.wsgi'
SCRIPT_NAME 	
u''
SERVER_ADDR 	
'149.20.54.13'
SERVER_ADMIN 	
'[no address given]'
SERVER_NAME 	
'booki.flossmanuals.net'
SERVER_PORT 	
'80'
SERVER_PROTOCOL 	
'HTTP/1.1'
SERVER_SIGNATURE 	
'<address>Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2 Server at booki.flossmanuals.net Port 80</address>\n'
SERVER_SOFTWARE 	
'Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2'
mod_wsgi.application_group 	
'booki.flossmanuals.net|'
mod_wsgi.callable_object 	
'application'
mod_wsgi.listener_host 	
''
mod_wsgi.listener_port 	
'80'
mod_wsgi.process_group 	
''
mod_wsgi.reload_mechanism 	
'0'
mod_wsgi.script_reloading 	
'1'
mod_wsgi.version 	
(2, 5)
wsgi.errors 	
<mod_wsgi.Log object at 0xaa9a368>
wsgi.file_wrapper 	
<built-in method file_wrapper of mod_wsgi.Adapter object at 0xa8aec38>
wsgi.input 	
<mod_wsgi.Input object at 0xab7a728>
wsgi.multiprocess 	
True
wsgi.multithread 	
False
wsgi.run_once 	
False
wsgi.url_scheme 	
'http'
wsgi.version 	
(1, 0)
Settings
Using settings module booki.settings
Setting 	Value
ABSOLUTE_URL_OVERRIDES 	
{}
ADMINS 	
(('adam', 'your_email@domain.com'),)
ADMIN_FOR 	
()
ADMIN_MEDIA_PREFIX 	
'/media/'
ALLOWED_INCLUDE_ROOTS 	
()
APPEND_SLASH 	
True
AUTHENTICATION_BACKENDS 	
('django.contrib.auth.backends.ModelBackend',)
AUTH_PROFILE_MODULE 	
'account.UserProfile'
BANNED_IPS 	
()
BOOKI_MAINTENANCE_MODE 	
False
BOOKI_URL 	
'http://booki.flossmanuals.netbooki.flossmanuals.net'
CACHE_BACKEND 	
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX 	
''
CACHE_MIDDLEWARE_SECONDS 	
600
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 	
'csrftoken'
CSRF_FAILURE_VIEW 	
'django.views.csrf.csrf_failure'
DATABASES 	
{'default': {'ENGINE': 'django.db.backends.postgresql', 'HOST': '', 'NAME': 'booki4', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Berlin', 'USER': 'booki'}}
DATABASE_ENGINE 	
'postgresql'
DATABASE_HOST 	
''
DATABASE_NAME 	
'booki4'
DATABASE_OPTIONS 	
{}
DATABASE_PASSWORD 	
'********************'
DATABASE_PORT 	
''
DATABASE_ROUTERS 	
[]
DATABASE_USER 	
'booki'
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 	
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE 	
''
DEFAULT_PUBLISHER 	
'FLOSS Manuals http://flossmanuals.net'
DEFAULT_TABLESPACE 	
''
DISALLOWED_USER_AGENTS 	
()
EMAIL_BACKEND 	
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST 	
'localhost'
EMAIL_HOST_PASSWORD 	
'********************'
EMAIL_HOST_USER 	
''
EMAIL_PORT 	
25
EMAIL_SUBJECT_PREFIX 	
'[Django] '
EMAIL_USE_TLS 	
False
ESPRI_URL 	
'http://objavi.flossmanuals.net/espri.cgi'
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 	
None
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')
INSTALLED_APPS 	
['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'booki.editor', 'booki.account', 'booki.reader', 'booki.portal', 'sputnik']
INTERNAL_IPS 	
()
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-us'
LANGUAGE_COOKIE_NAME 	
'django_language'
LOCALE_PATHS 	
()
LOGIN_REDIRECT_URL 	
'/accounts/profile/'
LOGIN_URL 	
'/accounts/login/'
LOGOUT_URL 	
'/accounts/logout/'
MANAGERS 	
(('adam', 'your_email@domain.com'),)
MEDIA_ROOT 	
'/var/www/booki-www/site_media/static/'
MEDIA_URL 	
'/site_media/'
MESSAGE_STORAGE 	
'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
MIDDLEWARE_CLASSES 	
('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.transaction.TransactionMiddleware')
MONTH_DAY_FORMAT 	
'F j'
NUMBER_GROUPING 	
0
OBJAVI_URL 	
'http://objavi.flossmanuals.net/objavi.cgi'
PASSWORD_RESET_TIMEOUT_DAYS 	
'********************'
PREPEND_WWW 	
False
PROFANITIES_LIST 	
'********************'
PROFILE_IMAGE_UPLOAD_DIR 	
'/var/www/booki-www/site_media/static/_profile_images/'
ROOT_URLCONF 	
'booki.urls'
SECRET_KEY 	
'********************'
SEND_BROKEN_LINK_EMAILS 	
False
SERVER_EMAIL 	
'root@localhost'
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.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE 	
False
SESSION_FILE_PATH 	
None
SESSION_SAVE_EVERY_REQUEST 	
False
SETTINGS_MODULE 	
'booki.settings'
SHORT_DATETIME_FORMAT 	
'm/d/Y P'
SHORT_DATE_FORMAT 	
'm/d/Y'
SITE_ID 	
1
STATIC_DOC_ROOT 	
'/var/www/booki-www/site_media'
TEMPLATE_CONTEXT_PROCESSORS 	
('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.contrib.messages.context_processors.messages')
TEMPLATE_DEBUG 	
True
TEMPLATE_DIRS 	
('/home/adam/booki/templates',)
TEMPLATE_LOADERS 	
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.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'
THIS_BOOKI_SERVER 	
'booki.flossmanuals.net'
THOUSAND_SEPARATOR 	
','
TIME_FORMAT 	
'P'
TIME_INPUT_FORMATS 	
('%H:%M:%S', '%H:%M')
TIME_ZONE 	
'Europe/Berlin'
TRANSACTIONS_MANAGED 	
False
TWIKI_GATEWAY_URL 	
'http://objavi.flossmanuals.net/booki-twiki-gateway.cgi'
URL_VALIDATOR_USER_AGENT 	
'Django/1.2.3 (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.