ha
[Error: Irreparable invalid markup ('<flup.server.fcgi_base.teeoutputstream>') in entry. Owner must fix manually. Raw contents below.]
AttributeError at /
'WSGIRequest' object has no attribute 'user'Request Method: GET
Request URL: http://zole.draugiem.aurumsocial.com/?dr_auth_status=ok&dr_auth_code=eab31f7afbf07c653ffe&session_hash=1613738431&domain=www.draugiem.lv
Django Version: 1.2 rc 1
Exception Type: AttributeError
Exception Value: 'WSGIRequest' object has no attribute 'user'
Exception Location: /var/www/vhosts/zole.draugiem/run/scripts/../scripts/zole/views.py in _common_to_most_views, line 76
Python Executable: /usr/bin/python2.6
Python Version: 2.6.2
Python Path: ['/var/www/vhosts/zole.draugiem/run/scripts', '/usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg', '/usr/lib/python2.6/site-packages/MySQL_python-1.2.3c1-py2.6-linux-i686.egg', '/usr/lib/python2.6/site-packages/flup-1.0.2-py2.6.egg', '/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', '/var/www/vhosts/zole.draugiem/run/scripts/apps/', '/var/www/vhosts/zole.draugiem/run/scripts/apps/']
Server time: pk, 26 Nov 2010 09:09:04 +0200
Traceback Switch to copy-and-paste view
/usr/lib/python2.6/site-packages/django/core/handlers/base.py in get_response
...
response = callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars
/var/www/vhosts/zole.draugiem/run/scripts/../scripts/zole/views.py in index
...
data = _common_to_most_views(request) ...
▶ Local vars
/var/www/vhosts/zole.draugiem/run/scripts/../scripts/zole/views.py in _common_to_most_views
...
return {'user' : request.user, # this name in some scopes represents other user ...
▶ Local vars
Request information
GETVariable Value
dr_auth_code u'eab31f7afbf07c653ffe'
dr_auth_status u'ok'
session_hash u'1613738431'
domain u'www.draugiem.lv'
POST
No POST data
FILES
No FILES data
COOKIES
No cookie data
METAVariable Value
CONTENT_LENGTH ''
CONTENT_TYPE ''
HTTP_ACCEPT 'text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1'
HTTP_ACCEPT_CHARSET 'iso-8859-1, utf-8, utf-16, *;q=0.1'
HTTP_ACCEPT_ENCODING 'deflate, gzip, x-gzip, identity, *;q=0'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.9'
HTTP_CONNECTION 'Keep-Alive'
HTTP_HOST 'zole.draugiem.aurumsocial.com'
HTTP_REFERER 'http://www.draugiem.lv/zole/'
HTTP_USER_AGENT 'Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.63'
PATH_INFO u'/'
QUERY_STRING 'dr_auth_status=ok&dr_auth_code=eab31f7afbf07c653ffe&session_hash=1613738431&domain=www.draugiem.lv'
REQUEST_METHOD 'GET'
SCRIPT_NAME u''
SERVER_NAME 'localhost'
SERVER_PORT '80'
SERVER_PROTOCOL 'HTTP/1.0'
wsgi.errors <flup.server.fcgi_base.TeeOutputStream object at 0xa699d2c>
wsgi.input <flup.server.fcgi_base.InputStream object at 0xa69946c>
wsgi.multiprocess False
wsgi.multithread True
wsgi.run_once False
wsgi.url_scheme 'http'
wsgi.version (1, 0)
Settings
Using settings module scripts.settingsSetting Value
ABSOLUTE_URL_OVERRIDES {}
ADMINS (('Aistis Jokubauskas', 'aistis.jokubauskas@aurumit.com'),)
ADMIN_FOR ()
ADMIN_MEDIA_PREFIX '/media/'
ALLOWED_INCLUDE_ROOTS ()
APPEND_SLASH True
AS_EXTRA_BASE_URL 'http://www.draugiem.lv/'
AS_EXTRA_IFRAME_URL 'http://www.draugiem.lv/zole/'
AS_EXTRA_PAGGINATION_PAGE_LIST_AROUND_OFFSET 3
AS_EXTRA_SERVER_URL 'http://zole.draugiem.aurumsocial.com/'
AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS ()
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
COMMERTIAL_ADS_URL_LIST ({'link': 'http://www.draugiem.lv/zole/payments', 'target': '_parent', 'url': 'flash/banners/banner_pay_card.swf'}, {'link': 'http://www.draugiem.lv/zole/tournaments', 'target': '_parent', 'url': 'flash/banners/zole_tournament_banner_small_daily.swf'}, {'link': 'http://www.draugiem.lv/kugi', 'target': '_parent', 'url': 'flash/banners/banner_kugi.swf'})
CRON_JOBS {'cesu tournament leaders': (17, 'scripts.cesu.cron.update_tournament_leaders'), 'zole notifications': (16, 'scripts.zole.cron.notification_user_got_drunk'), 'zole recalculate periodic users': (5, 'scripts.zole.cron.calculate_leaders')}
CSRF_COOKIE_DOMAIN None
CSRF_COOKIE_NAME 'csrftoken'
CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure'
DATABASES {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'zole_draugiem_as2', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Riga', 'USER': 'zole'}}
DATABASE_ENGINE 'mysql'
DATABASE_HOST ''
DATABASE_NAME 'zole_draugiem_as2'
DATABASE_OPTIONS {}
DATABASE_PASSWORD '********************'
DATABASE_PORT ''
DATABASE_ROUTERS []
DATABASE_USER 'zole'
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 'd-m-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
DEBUG_TOOLBAR_CONFIG {'HIDE_DJANGO_SQL': False, 'INTERCEPT_REDIRECTS': False, 'MEDIA_URL': 'http://213.164.113.174:5000/debug_toolbar/', 'TAG': 'body'}
DEBUG_TOOLBAR_PANELS ('debug_toolbar.panels.version.VersionDebugPanel', 'debug_toolbar.panels.timer.TimerDebugPanel', 'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel', 'debug_toolbar.panels.headers.HeaderDebugPanel', 'debug_toolbar.panels.request_vars.RequestVarsDebugPanel', 'debug_toolbar.panels.template.TemplateDebugPanel', 'debug_toolbar.panels.sql.SQLDebugPanel', 'debug_toolbar.panels.signals.SignalDebugPanel', 'debug_toolbar.panels.logger.LoggingPanel', 'debug_toolbar.panels.cache.CacheDebugPanel')
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_TABLESPACE ''
DISALLOWED_USER_AGENTS ()
DRAUGIEM_APPLICATION_ID 2077
DRAUGIEM_APPLICATION_KEY '61ee303f304374a30309696a27719224'
DRAUGIEM_DONT_AUTHENTICATE ('scripts.zole.views.virtual_ficas_buy', 'scripts.zole.views.virtual_ficas_zero_points', 'scripts.zole.views.is_user_cesu_alus_fan', 'cesu.views.tournament_part', 'cesu.views.tournament_total', 'draugiem.views.js_enabler', 'draugiem.application.views.user_deleted_app', 'draugiem.payments.views.url', 'draugiem.payments.views.callback')
DRAUGIEM_PAYMENT_ID_LIST {-89: (100, 1000, True), -7: (5, 5, False), 496: (150, 1500, False), 497: (150, 1750, True), 498: (300, 4000, True), 499: (500, 7000, True), 500: (1000, 15000, True), 'service_id': ('price in draugiem santims - 1LVL = 100 santims', 'fund in virtual latas (vls)', 'send price? True/Flase')}
DRAUGIEM_REGISTRATION_CALLBACK 'scripts.zole.callbacks.registration'
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
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.contenttypes', 'django.contrib.sessions', 'aurumsocial', 'aurumsocial.game', 'aurumsocial.utils', 'draugiem', 'draugiem.user', 'draugiem.payments', 'zole', 'cesu']
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', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('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 'lv'
LANGUAGE_COOKIE_NAME 'django_language'
LOCALE_PATHS ()
LOGGING {'disable_existing_loggers': False, 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}, 'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'simple'}, 'null': {'class': 'django.utils.log.NullHandler', 'level': 'DEBUG'}}, 'loggers': {'cron': {'handlers': ['console'], 'level': 'DEBUG'}, 'root': {'handlers': ['console'], 'level': 'DEBUG'}}, 'version': 1}
LOGGING_CONFIG None
LOGIN_REDIRECT_URL '/accounts/profile/'
LOGIN_URL '/accounts/login/'
LOGOUT_URL '/accounts/logout/'
MANAGERS (('Aistis Jokubauskas', 'aistis.jokubauskas@aurumit.com'),)
MEDIA_ROOT ''
MEDIA_URL ''
MESSAGE_STORAGE 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
MIDDLEWARE_CLASSES ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'aurumsocial.utils.middleware.DontCache', 'draugiem.payments.middleware.TurnOffAuthentication', 'draugiem.user.middleware.Session', 'draugiem.user.middleware.Authentication', 'draugiem.user.middleware.Registration', 'draugiem.user.middleware.Friends', 'zole.middleware.AgeConfirmation', 'zole.middleware.UsersAgeFilter', 'zole.middleware.BlockedUsersFilter')
MONTH_DAY_FORMAT 'F j'
NUMBER_GROUPING 0
PASSWORD_RESET_TIMEOUT_DAYS '********************'
PREPEND_WWW False
PROFANITIES_LIST '********************'
ROOT_URLCONF 'scripts.urls'
SECRET_KEY '********************'
SEND_BROKEN_LINK_EMAILS False
SERVER_EMAIL 'root@localhost'
SESSION_COOKIE_AGE 43200
SESSION_COOKIE_DOMAIN None
SESSION_COOKIE_NAME 'zole.draugiem'
SESSION_COOKIE_PATH '/'
SESSION_COOKIE_SECURE False
SESSION_ENGINE 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE True
SESSION_FILE_PATH None
SESSION_SAVE_EVERY_REQUEST False
SETTINGS_MODULE 'scripts.settings'
SHORT_DATETIME_FORMAT 'm/d/Y P'
SHORT_DATE_FORMAT 'm/d/Y'
SITE_ID 1
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 ('/var/www/vhosts/zole.draugiem/run/scripts/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'
THOUSAND_SEPARATOR ','
TIME_FORMAT 'P'
TIME_INPUT_FORMATS ('%H:%M:%S', '%H:%M')
TIME_ZONE 'Europe/Riga'
TOP_PLAYERS_ORDER_BY ('-vmoney', '-level', 'nick')
TRANSACTIONS_MANAGED False
URL_VALIDATOR_USER_AGENT 'Django/1.2 rc 1 (http://www.djangoproject.com)'
USERS_MODEL 'zole.Users'
USER_DEFAULT_IMAGE 'http://ifrype.com/img/new/m_no_pic.jpg'
USER_DEFAULT_RATING 5
USER_START_MONEY_AMOUNT 1000
USE_ETAGS False
USE_I18N True
USE_L10N False
USE_THOUSAND_SEPARATOR False
YEAR_MONTH_FORMAT 'F Y'
ZOLE_AGE_LIMIT 14
ZOLE_AGE_RESTRICTION_MESSAGES {'Female': u'Vai esi sasniegusi vismaz %d gadu vecumu?', 'Male': u'Vai esi sasniedzis vismaz %d gadu vecumu?', 'Unknown': u'Vai Tev jau ir vismaz %d gadi?'}
ZOLE_CESUALUST_TOURNAMENTS {'1': '2', '2': 5, '3': None, '4': None}
ZOLE_FAKE_USER_START_MONEY_AMOUNT 200
ZOLE_FAKE_USER_UID_LIMMIT 3900000
ZOLE_INVITATION_BONUS 50
ZOLE_ITEM_ALCOHOL_TYPE_IDS [2]
ZOLE_PAGE_LEADER_DEFAULT_SUB_PAGE 'today'
ZOLE_PAGE_LEADER_NUM_PER_PAGE 8
ZOLE_PAGE_TOURNAMENT_RULE_CATEGORY_ID 8
ZOLE_PAYMENT_BONUS {500: [7], 501: [7, 9], 'service_id': ['list', 'of', 'ficas', 'ids', 'that', 'user', 'gets']}
ZOLE_VFICAS_MIN_GAMES 9
ZOLE_VFICAS_PRIVATE_ROOM 8
ZOLE_VFICAS_SHOW_CARDS 10
ZOLE_VFICAS_SHOW_POINTS 13
ZOLE_VFICAS_TABLE_ALL 7
ZOLE_VFICAS_TYPE_IDS [7, 8, 9, 10, 11, 13]
ZOLE_VFICAS_ZERO_POINTS 11
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.
'WSGIRequest' object has no attribute 'user'Request Method: GET
Request URL: http://zole.draugiem.aurumsocial.com/?dr_auth_status=ok&dr_auth_code=eab31f7afbf07c653ffe&session_hash=1613738431&domain=www.draugiem.lv
Django Version: 1.2 rc 1
Exception Type: AttributeError
Exception Value: 'WSGIRequest' object has no attribute 'user'
Exception Location: /var/www/vhosts/zole.draugiem/run/scripts/../scripts/zole/views.py in _common_to_most_views, line 76
Python Executable: /usr/bin/python2.6
Python Version: 2.6.2
Python Path: ['/var/www/vhosts/zole.draugiem/run/scripts', '/usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg', '/usr/lib/python2.6/site-packages/MySQL_python-1.2.3c1-py2.6-linux-i686.egg', '/usr/lib/python2.6/site-packages/flup-1.0.2-py2.6.egg', '/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', '/var/www/vhosts/zole.draugiem/run/scripts/apps/', '/var/www/vhosts/zole.draugiem/run/scripts/apps/']
Server time: pk, 26 Nov 2010 09:09:04 +0200
Traceback Switch to copy-and-paste view
/usr/lib/python2.6/site-packages/django/core/handlers/base.py in get_response
...
response = callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars
/var/www/vhosts/zole.draugiem/run/scripts/../scripts/zole/views.py in index
...
data = _common_to_most_views(request) ...
▶ Local vars
/var/www/vhosts/zole.draugiem/run/scripts/../scripts/zole/views.py in _common_to_most_views
...
return {'user' : request.user, # this name in some scopes represents other user ...
▶ Local vars
Request information
GETVariable Value
dr_auth_code u'eab31f7afbf07c653ffe'
dr_auth_status u'ok'
session_hash u'1613738431'
domain u'www.draugiem.lv'
POST
No POST data
FILES
No FILES data
COOKIES
No cookie data
METAVariable Value
CONTENT_LENGTH ''
CONTENT_TYPE ''
HTTP_ACCEPT 'text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1'
HTTP_ACCEPT_CHARSET 'iso-8859-1, utf-8, utf-16, *;q=0.1'
HTTP_ACCEPT_ENCODING 'deflate, gzip, x-gzip, identity, *;q=0'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.9'
HTTP_CONNECTION 'Keep-Alive'
HTTP_HOST 'zole.draugiem.aurumsocial.com'
HTTP_REFERER 'http://www.draugiem.lv/zole/'
HTTP_USER_AGENT 'Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.63'
PATH_INFO u'/'
QUERY_STRING 'dr_auth_status=ok&dr_auth_code=eab31f7afbf07c653ffe&session_hash=1613738431&domain=www.draugiem.lv'
REQUEST_METHOD 'GET'
SCRIPT_NAME u''
SERVER_NAME 'localhost'
SERVER_PORT '80'
SERVER_PROTOCOL 'HTTP/1.0'
wsgi.errors <flup.server.fcgi_base.TeeOutputStream object at 0xa699d2c>
wsgi.input <flup.server.fcgi_base.InputStream object at 0xa69946c>
wsgi.multiprocess False
wsgi.multithread True
wsgi.run_once False
wsgi.url_scheme 'http'
wsgi.version (1, 0)
Settings
Using settings module scripts.settingsSetting Value
ABSOLUTE_URL_OVERRIDES {}
ADMINS (('Aistis Jokubauskas', 'aistis.jokubauskas@aurumit.com'),)
ADMIN_FOR ()
ADMIN_MEDIA_PREFIX '/media/'
ALLOWED_INCLUDE_ROOTS ()
APPEND_SLASH True
AS_EXTRA_BASE_URL 'http://www.draugiem.lv/'
AS_EXTRA_IFRAME_URL 'http://www.draugiem.lv/zole/'
AS_EXTRA_PAGGINATION_PAGE_LIST_AROUND_OFFSET 3
AS_EXTRA_SERVER_URL 'http://zole.draugiem.aurumsocial.com/'
AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS ()
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
COMMERTIAL_ADS_URL_LIST ({'link': 'http://www.draugiem.lv/zole/payments', 'target': '_parent', 'url': 'flash/banners/banner_pay_card.swf'}, {'link': 'http://www.draugiem.lv/zole/tournaments', 'target': '_parent', 'url': 'flash/banners/zole_tournament_banner_small_daily.swf'}, {'link': 'http://www.draugiem.lv/kugi', 'target': '_parent', 'url': 'flash/banners/banner_kugi.swf'})
CRON_JOBS {'cesu tournament leaders': (17, 'scripts.cesu.cron.update_tournament_leaders'), 'zole notifications': (16, 'scripts.zole.cron.notification_user_got_drunk'), 'zole recalculate periodic users': (5, 'scripts.zole.cron.calculate_leaders')}
CSRF_COOKIE_DOMAIN None
CSRF_COOKIE_NAME 'csrftoken'
CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure'
DATABASES {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'zole_draugiem_as2', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Riga', 'USER': 'zole'}}
DATABASE_ENGINE 'mysql'
DATABASE_HOST ''
DATABASE_NAME 'zole_draugiem_as2'
DATABASE_OPTIONS {}
DATABASE_PASSWORD '********************'
DATABASE_PORT ''
DATABASE_ROUTERS []
DATABASE_USER 'zole'
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 'd-m-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
DEBUG_TOOLBAR_CONFIG {'HIDE_DJANGO_SQL': False, 'INTERCEPT_REDIRECTS': False, 'MEDIA_URL': 'http://213.164.113.174:5000/debug_toolbar/', 'TAG': 'body'}
DEBUG_TOOLBAR_PANELS ('debug_toolbar.panels.version.VersionDebugPanel', 'debug_toolbar.panels.timer.TimerDebugPanel', 'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel', 'debug_toolbar.panels.headers.HeaderDebugPanel', 'debug_toolbar.panels.request_vars.RequestVarsDebugPanel', 'debug_toolbar.panels.template.TemplateDebugPanel', 'debug_toolbar.panels.sql.SQLDebugPanel', 'debug_toolbar.panels.signals.SignalDebugPanel', 'debug_toolbar.panels.logger.LoggingPanel', 'debug_toolbar.panels.cache.CacheDebugPanel')
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_TABLESPACE ''
DISALLOWED_USER_AGENTS ()
DRAUGIEM_APPLICATION_ID 2077
DRAUGIEM_APPLICATION_KEY '61ee303f304374a30309696a27719224'
DRAUGIEM_DONT_AUTHENTICATE ('scripts.zole.views.virtual_ficas_buy', 'scripts.zole.views.virtual_ficas_zero_points', 'scripts.zole.views.is_user_cesu_alus_fan', 'cesu.views.tournament_part', 'cesu.views.tournament_total', 'draugiem.views.js_enabler', 'draugiem.application.views.user_deleted_app', 'draugiem.payments.views.url', 'draugiem.payments.views.callback')
DRAUGIEM_PAYMENT_ID_LIST {-89: (100, 1000, True), -7: (5, 5, False), 496: (150, 1500, False), 497: (150, 1750, True), 498: (300, 4000, True), 499: (500, 7000, True), 500: (1000, 15000, True), 'service_id': ('price in draugiem santims - 1LVL = 100 santims', 'fund in virtual latas (vls)', 'send price? True/Flase')}
DRAUGIEM_REGISTRATION_CALLBACK 'scripts.zole.callbacks.registration'
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
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.contenttypes', 'django.contrib.sessions', 'aurumsocial', 'aurumsocial.game', 'aurumsocial.utils', 'draugiem', 'draugiem.user', 'draugiem.payments', 'zole', 'cesu']
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', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('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 'lv'
LANGUAGE_COOKIE_NAME 'django_language'
LOCALE_PATHS ()
LOGGING {'disable_existing_loggers': False, 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}, 'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'simple'}, 'null': {'class': 'django.utils.log.NullHandler', 'level': 'DEBUG'}}, 'loggers': {'cron': {'handlers': ['console'], 'level': 'DEBUG'}, 'root': {'handlers': ['console'], 'level': 'DEBUG'}}, 'version': 1}
LOGGING_CONFIG None
LOGIN_REDIRECT_URL '/accounts/profile/'
LOGIN_URL '/accounts/login/'
LOGOUT_URL '/accounts/logout/'
MANAGERS (('Aistis Jokubauskas', 'aistis.jokubauskas@aurumit.com'),)
MEDIA_ROOT ''
MEDIA_URL ''
MESSAGE_STORAGE 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
MIDDLEWARE_CLASSES ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'aurumsocial.utils.middleware.DontCache', 'draugiem.payments.middleware.TurnOffAuthentication', 'draugiem.user.middleware.Session', 'draugiem.user.middleware.Authentication', 'draugiem.user.middleware.Registration', 'draugiem.user.middleware.Friends', 'zole.middleware.AgeConfirmation', 'zole.middleware.UsersAgeFilter', 'zole.middleware.BlockedUsersFilter')
MONTH_DAY_FORMAT 'F j'
NUMBER_GROUPING 0
PASSWORD_RESET_TIMEOUT_DAYS '********************'
PREPEND_WWW False
PROFANITIES_LIST '********************'
ROOT_URLCONF 'scripts.urls'
SECRET_KEY '********************'
SEND_BROKEN_LINK_EMAILS False
SERVER_EMAIL 'root@localhost'
SESSION_COOKIE_AGE 43200
SESSION_COOKIE_DOMAIN None
SESSION_COOKIE_NAME 'zole.draugiem'
SESSION_COOKIE_PATH '/'
SESSION_COOKIE_SECURE False
SESSION_ENGINE 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE True
SESSION_FILE_PATH None
SESSION_SAVE_EVERY_REQUEST False
SETTINGS_MODULE 'scripts.settings'
SHORT_DATETIME_FORMAT 'm/d/Y P'
SHORT_DATE_FORMAT 'm/d/Y'
SITE_ID 1
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 ('/var/www/vhosts/zole.draugiem/run/scripts/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'
THOUSAND_SEPARATOR ','
TIME_FORMAT 'P'
TIME_INPUT_FORMATS ('%H:%M:%S', '%H:%M')
TIME_ZONE 'Europe/Riga'
TOP_PLAYERS_ORDER_BY ('-vmoney', '-level', 'nick')
TRANSACTIONS_MANAGED False
URL_VALIDATOR_USER_AGENT 'Django/1.2 rc 1 (http://www.djangoproject.com)'
USERS_MODEL 'zole.Users'
USER_DEFAULT_IMAGE 'http://ifrype.com/img/new/m_no_pic.jpg'
USER_DEFAULT_RATING 5
USER_START_MONEY_AMOUNT 1000
USE_ETAGS False
USE_I18N True
USE_L10N False
USE_THOUSAND_SEPARATOR False
YEAR_MONTH_FORMAT 'F Y'
ZOLE_AGE_LIMIT 14
ZOLE_AGE_RESTRICTION_MESSAGES {'Female': u'Vai esi sasniegusi vismaz %d gadu vecumu?', 'Male': u'Vai esi sasniedzis vismaz %d gadu vecumu?', 'Unknown': u'Vai Tev jau ir vismaz %d gadi?'}
ZOLE_CESUALUST_TOURNAMENTS {'1': '2', '2': 5, '3': None, '4': None}
ZOLE_FAKE_USER_START_MONEY_AMOUNT 200
ZOLE_FAKE_USER_UID_LIMMIT 3900000
ZOLE_INVITATION_BONUS 50
ZOLE_ITEM_ALCOHOL_TYPE_IDS [2]
ZOLE_PAGE_LEADER_DEFAULT_SUB_PAGE 'today'
ZOLE_PAGE_LEADER_NUM_PER_PAGE 8
ZOLE_PAGE_TOURNAMENT_RULE_CATEGORY_ID 8
ZOLE_PAYMENT_BONUS {500: [7], 501: [7, 9], 'service_id': ['list', 'of', 'ficas', 'ids', 'that', 'user', 'gets']}
ZOLE_VFICAS_MIN_GAMES 9
ZOLE_VFICAS_PRIVATE_ROOM 8
ZOLE_VFICAS_SHOW_CARDS 10
ZOLE_VFICAS_SHOW_POINTS 13
ZOLE_VFICAS_TABLE_ALL 7
ZOLE_VFICAS_TYPE_IDS [7, 8, 9, 10, 11, 13]
ZOLE_VFICAS_ZERO_POINTS 11
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.