IndexError at /q/bts-quiz/take/

list index out of range
Request Method: GET
Request URL: https://omgowl.com/q/bts-quiz/take/
Django Version: 1.11
Exception Type: IndexError
Exception Value:
list index out of range
Exception Location: /home/shashi/nametestapps.com/funapps/apps/quiz/views.py in anon_next_question, line 356
Python Executable: /home/shashi/env_nametestapps/bin/python
Python Version: 2.7.15
Python Path:
['/home/shashi/env_nametestapps/bin',
 '/home/shashi/nametestapps.com',
 '/home/shashi/env_nametestapps/lib/python2.7',
 '/home/shashi/env_nametestapps/lib/python2.7/plat-x86_64-linux-gnu',
 '/home/shashi/env_nametestapps/lib/python2.7/lib-tk',
 '/home/shashi/env_nametestapps/lib/python2.7/lib-old',
 '/home/shashi/env_nametestapps/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/home/shashi/env_nametestapps/local/lib/python2.7/site-packages',
 '/home/shashi/env_nametestapps/lib/python2.7/site-packages',
 '/home/shashi/env_nametestapps/local/lib/python2.7/site-packages/odf',
 '/home/shashi/env_nametestapps/local/lib/python2.7/site-packages/odf',
 '/home/shashi/env_nametestapps/local/lib/python2.7/site-packages/odf',
 '/home/shashi/env_nametestapps/local/lib/python2.7/site-packages/odf',
 '/home/shashi/env_nametestapps/local/lib/python2.7/site-packages/odf',
 '/home/shashi/env_nametestapps/local/lib/python2.7/site-packages/odf',
 '/home/shashi/env_nametestapps/local/lib/python2.7/site-packages/odf']
Server time: Thu, 28 Mar 2024 22:27:37 +0000

Traceback Switch to copy-and-paste view



Request information

USER

AnonymousUser

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, br'
HTTP_CDN_LOOP
'cloudflare'
HTTP_CF_CONNECTING_IP
'3.236.55.137'
HTTP_CF_IPCOUNTRY
'US'
HTTP_CF_RAY
'86bb0c6c1fb05800-SIN'
HTTP_CF_VISITOR
'{"scheme":"https"}'
HTTP_CONNECTION
'close'
HTTP_HOST
'omgowl.com'
HTTP_USER_AGENT
'claudebot'
HTTP_X_FORWARDED_FOR
'172.70.142.218'
HTTP_X_FORWARDED_PROTO
'https'
HTTP_X_REAL_IP
'172.70.142.218'
PATH_INFO
u'/q/bts-quiz/take/'
QUERY_STRING
''
RAW_URI
'/q/bts-quiz/take/'
REMOTE_ADDR
'127.0.0.1'
REMOTE_PORT
'58506'
REQUEST_METHOD
'GET'
SCRIPT_NAME
u''
SERVER_NAME
'0.0.0.0'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.0'
SERVER_SOFTWARE
'gunicorn/19.9.0'
gunicorn.socket
<socket at 0x7f297609b2d0 fileno=14 sock=127.0.0.1:8000 peer=127.0.0.1:58506>
wsgi.errors
<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f2976220b90>
wsgi.file_wrapper
''
wsgi.input
<gunicorn.http.body.Body object at 0x7f2976220d10>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)

Settings

Using settings module funapps.local_settings

Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ACCOUNT_ADAPTER
'funapps.apps.mysite.adapter.AccountAdapter.AccountAdapter'
ADMINS
[]
ALLOWED_HOSTS
['*']
APPEND_SLASH
False
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/home/shashi/nametestapps.com'
BASE_URL
'http://wisebook.fun'
BOWER_COMPONENTS_ROOT
'/home/shashi/nametestapps.com/components'
BOWER_INSTALLED_APPS
('jquery', 'bootstrap', 'jquery.lazyload', 'js-cookie')
CACHES
{u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CKEDITOR_UPLOAD_PATH
'uploads/'
CORS_ORIGIN_ALLOW_ALL
True
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,
             'AUTOCOMMIT': True,
             'CONN_MAX_AGE': 0,
             'ENGINE': 'django.db.backends.postgresql_psycopg2',
             'HOST': 'localhost',
             'NAME': 'zomblu',
             'OPTIONS': {},
             'PASSWORD': u'********************',
             'PORT': '',
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': None,
             'USER': 'shashi'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
 u'%Y-%m-%d %H:%M:%S.%f',
 u'%Y-%m-%d %H:%M',
 u'%Y-%m-%d',
 u'%m/%d/%Y %H:%M:%S',
 u'%m/%d/%Y %H:%M:%S.%f',
 u'%m/%d/%Y %H:%M',
 u'%m/%d/%Y',
 u'%m/%d/%y %H:%M:%S',
 u'%m/%d/%y %H:%M:%S.%f',
 u'%m/%d/%y %H:%M',
 u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
 u'%m/%d/%Y',
 u'%m/%d/%y',
 u'%b %d %Y',
 u'%b %d, %Y',
 u'%d %b %Y',
 u'%d %b, %Y',
 u'%B %d %Y',
 u'%B %d, %Y',
 u'%d %B %Y',
 u'%d %B, %Y']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
EMAIL_BACKEND
'django.core.mail.backends.console.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FACEBOOK_APP
2241961472732635
FB_APP_ID
'1791707931094953'
FB_AUTHOR
'https://www.facebook.com/omgowlapps/'
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
 u'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
FORM_RENDERER
u'django.forms.renderers.DjangoTemplates'
FUNAPPS_THEME
'buzzerilla'
FUNAPPS_THEME_PATH
'themes/'
GA_PROPERTY_ID
'UA-100776290-1'
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.sites',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.flatpages',
 'django.contrib.sitemaps',
 'corsheaders',
 'sorl.thumbnail',
 'taggit',
 'taggit_autosuggest',
 'allauth',
 'allauth.account',
 'allauth.socialaccount',
 'allauth.socialaccount.providers.facebook',
 'djangobower',
 'colorful',
 'multiselectfield',
 'import_export',
 'rest_framework',
 'django_cleanup',
 'ckeditor',
 'ckeditor_uploader',
 'adminsortable',
 'funapps.apps.mysite',
 'dynamic_scraper',
 'funapps.apps.api',
 'funapps.apps.essay',
 'funapps.apps.quiz',
 'funapps.apps.true_false',
 'funapps.apps.multichoice',
 'adminsortable2',
 'taggit_serializer']
INTERNAL_IPS
[]
LANGUAGES
(('en', u'English'), ('hi', u'Hindi'))
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_DEFAULT_LANG
'hi'
LOCALE_ENABLED
True
LOCALE_PATHS
('/home/shashi/nametestapps.com/locale',)
LOGGING
{'disable_existing_loggers': False,
 'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
                'verbose': {'datefmt': '%d/%b/%Y %H:%M:%S',
                            'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s'}},
 'handlers': {'file': {'class': 'logging.FileHandler',
                       'filename': 'mysite.log',
                       'formatter': 'verbose',
                       'level': 'DEBUG'}},
 'loggers': {'funapps': {'handlers': ['file'], 'level': 'DEBUG'}},
 'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
'/home/shashi/nametestapps.com/media/'
MEDIA_URL
'/media/'
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['django.contrib.sites.middleware.CurrentSiteMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'corsheaders.middleware.CorsMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware']
MIDDLEWARE_CLASSES
[u'django.middleware.common.CommonMiddleware',
 u'django.middleware.csrf.CsrfViewMiddleware']
MIGRATION_MODULES
{}
MONTH_DAY_FORMAT
u'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
REST_FRAMEWORK
{'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
 'PAGE_SIZE': 10}
ROOT_URLCONF
'funapps.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'funapps.local_settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SITE_ID
1
SITE_LOGO_PATH
'/static/images/logo.png'
SOCIALACCOUNT_AUTO_SIGNUP
True
SOCIALACCOUNT_PROVIDERS
{'facebook': {'AUTH_PARAMS': {'auth_type': 'rerequest'},
              'EXCHANGE_TOKEN': u'********************',
              'FIELDS': ['id',
                         'email',
                         'name',
                         'first_name',
                         'last_name',
                         'verified',
                         'locale',
                         'timezone',
                         'link',
                         'gender',
                         'updated_time',
                         'friends'],
              'LOCALE_FUNC': <function <lambda> at 0x7f2996da4a28>,
              'METHOD': 'oauth2',
              'SCOPE': ['email', 'public_profile'],
              'VERIFIED_EMAIL': False,
              'VERSION': 'v2.6'}}
STATICFILES_DIRS
('components', 'assets')
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
 u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
'/home/shashi/nametestapps.com/static'
STATIC_URL
'/static/'
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': ['/home/shashi/nametestapps.com/templates'],
  'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
                                     'django.template.context_processors.request',
                                     'django.contrib.auth.context_processors.auth',
                                     'django.contrib.messages.context_processors.messages',
                                     'django.template.context_processors.i18n',
                                     'django.template.context_processors.static',
                                     'funapps.apps.context_processors.site',
                                     'funapps.apps.context_processors.ga_property_id',
                                     'funapps.apps.context_processors.logo_path',
                                     'funapps.apps.context_processors.fb_author',
                                     'funapps.apps.context_processors.fb_app_id',
                                     'funapps.apps.context_processors.appId',
                                     'funapps.apps.context_processors.locale',
                                     'funapps.apps.context_processors.setting',
                                     'funapps.apps.context_processors.current_lang'],
              'loaders': ['funapps.apps.mysite.loader.loader.ThemeLoader',
                          'django.template.loaders.filesystem.Loader',
                          'django.template.loaders.app_directories.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
THUMBNAIL_DEBUG
True
THUMBNAIL_PRESERVE_FORMAT
True
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
'funapps.wsgi.application'
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'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 page generated by the handler for this status code.