Created
November 2, 2021 20:50
-
-
Save nucleogenesis/d0a8ac74658ee531df8312170c4ae8a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ValidationError at /api/content/contentnode/ | |
['Enter valid JSON'] | |
Request Method: GET | |
Request URL: http://localhost:8000/api/content/contentnode/?max_results=25&keywords=10%20hello&contentCacheKey=1635180366 | |
Django Version: 1.11.29 | |
Python Executable: /home/jacob/Code/LE/kolibri/venv/bin/python | |
Python Version: 3.6.12 | |
Python Path: ['/home/jacob/Code/LE/kolibri/kolibri/dist', '/home/jacob/Code/LE/kolibri/venv/bin', '/home/jacob/.pyenv/versions/3.6.12/lib/python36.zip', '/home/jacob/.pyenv/versions/3.6.12/lib/python3.6', '/home/jacob/.pyenv/versions/3.6.12/lib/python3.6/lib-dynload', '/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages', '/home/jacob/Code/LE/kolibri'] | |
Server time: Tue, 2 Nov 2021 13:48:31 -0700 | |
Installed Applications: | |
['kolibri.core', | |
'django.contrib.admin', | |
'django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.messages', | |
'django.contrib.staticfiles', | |
'django_filters', | |
'kolibri.core.auth.apps.KolibriAuthConfig', | |
'kolibri.core.bookmarks', | |
'kolibri.core.content', | |
'kolibri.core.logger', | |
'kolibri.core.notifications.apps.KolibriNotificationsConfig', | |
'kolibri.core.tasks.apps.KolibriTasksConfig', | |
'kolibri.core.deviceadmin', | |
'kolibri.core.webpack', | |
'kolibri.core.exams', | |
'kolibri.core.device', | |
'kolibri.core.discovery', | |
'kolibri.core.lessons', | |
'kolibri.core.analytics', | |
'rest_framework', | |
'django_js_reverse', | |
'jsonfield', | |
'morango', | |
<AppConfig: kolibri.plugins.setup_wizard>, | |
<AppConfig: kolibri.plugins.pdf_viewer>, | |
<AppConfig: kolibri.plugins.facility>, | |
<AppConfig: kolibri.plugins.media_player>, | |
<AppConfig: kolibri.plugins.html5_viewer>, | |
<AppConfig: kolibri.plugins.learn>, | |
<AppConfig: kolibri.plugins.device>, | |
<AppConfig: kolibri.plugins.default_theme>, | |
<AppConfig: kolibri.plugins.perseus_viewer>, | |
<AppConfig: kolibri.plugins.coach>, | |
<AppConfig: kolibri.plugins.user_profile>, | |
<AppConfig: kolibri.plugins.user_auth>, | |
<AppConfig: kolibri.plugins.slideshow_viewer>, | |
<AppConfig: kolibri.plugins.epub_viewer>, | |
'drf_yasg'] | |
Installed Middleware: | |
['kolibri.core.analytics.middleware.cherrypy_access_log_middleware', | |
'kolibri.core.device.middleware.ProvisioningErrorHandler', | |
'kolibri.core.device.middleware.DatabaseBusyErrorHandler', | |
'django.middleware.cache.UpdateCacheMiddleware', | |
'kolibri.core.analytics.middleware.MetricsMiddleware', | |
'kolibri.core.auth.middleware.KolibriSessionMiddleware', | |
'kolibri.core.device.middleware.KolibriLocaleMiddleware', | |
'django.middleware.common.CommonMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'kolibri.core.auth.middleware.CustomAuthenticationMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware', | |
'django.middleware.clickjacking.XFrameOptionsMiddleware', | |
'django.middleware.security.SecurityMiddleware', | |
'django.middleware.cache.FetchFromCacheMiddleware', | |
'kolibri.core.webpack.middleware.WebpackErrorHandler', | |
'kolibri.core.auth.middleware.XhrPreventLoginPromptMiddleware'] | |
Traceback: | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/jsonfield/fields.py" in pre_init | |
83. return json.loads(value, **self.load_kwargs) | |
File "/home/jacob/.pyenv/versions/3.6.12/lib/python3.6/json/__init__.py" in loads | |
354. return _default_decoder.decode(s) | |
File "/home/jacob/.pyenv/versions/3.6.12/lib/python3.6/json/decoder.py" in decode | |
339. obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/home/jacob/.pyenv/versions/3.6.12/lib/python3.6/json/decoder.py" in raw_decode | |
355. obj, end = self.scan_once(s, idx) | |
During handling of the above exception (Expecting ',' delimiter: line 1 column 380 (char 379)), another exception occurred: | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner | |
41. response = get_response(request) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response | |
187. response = self.process_exception_by_middleware(e, request) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response | |
185. response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view | |
58. return view_func(*args, **kwargs) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/rest_framework/viewsets.py" in view | |
116. return self.dispatch(request, *args, **kwargs) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapper | |
67. return bound_func(*args, **kwargs) | |
File "/home/jacob/Code/LE/kolibri/kolibri/core/auth/middleware.py" in wrapper_func | |
107. return view(*args, **kwargs) | |
File "/home/jacob/Code/LE/kolibri/kolibri/core/content/api.py" in wrapper_func | |
90. response = some_func(*args, **kwargs) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/django/utils/decorators.py" in bound_func | |
63. return func.__get__(self, type(self))(*args2, **kwargs2) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/rest_framework/views.py" in dispatch | |
495. response = self.handle_exception(exc) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception | |
455. self.raise_uncaught_exception(exc) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/rest_framework/views.py" in dispatch | |
492. response = handler(request, *args, **kwargs) | |
File "/home/jacob/Code/LE/kolibri/kolibri/core/api.py" in list | |
274. page_queryset = self.paginate_queryset(queryset) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/rest_framework/generics.py" in paginate_queryset | |
173. return self.paginator.paginate_queryset(queryset, self.request, view=self) | |
File "/home/jacob/Code/LE/kolibri/kolibri/core/content/api.py" in paginate_queryset | |
457. queryset, request, view=view | |
File "/home/jacob/Code/LE/kolibri/kolibri/core/utils/pagination.py" in paginate_queryset | |
213. queryset, request, view=view | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/rest_framework/pagination.py" in paginate_queryset | |
536. results = list(queryset[offset:offset + self.page_size + 1]) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/django/db/models/query.py" in __iter__ | |
250. self._fetch_all() | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/django/db/models/query.py" in _fetch_all | |
1121. self._result_cache = list(self._iterable_class(self)) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/django/db/models/query.py" in __iter__ | |
63. obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/django/db/models/base.py" in from_db | |
583. new = cls(*values) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/mptt/models.py" in __init__ | |
404. super(MPTTModel, self).__init__(*args, **kwargs) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/django/db/models/base.py" in __init__ | |
502. _setattr(self, field.attname, val) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/jsonfield/subclassing.py" in __set__ | |
43. obj.__dict__[self.field.name] = self.field.pre_init(value, obj) | |
File "/home/jacob/Code/LE/kolibri/venv/lib/python3.6/site-packages/jsonfield/fields.py" in pre_init | |
85. raise ValidationError(_("Enter valid JSON")) | |
Exception Type: ValidationError at /api/content/contentnode/ | |
Exception Value: ['Enter valid JSON'] | |
Request information: | |
USER: "a"@"HatBook" | |
GET: | |
max_results = '25' | |
keywords = '10 hello' | |
contentCacheKey = '1635180366' | |
POST: No POST data | |
FILES: No FILES data | |
COOKIES: | |
visitor_id = '2216518d30ae48f9b95a34830814d674' | |
kolibri_csrftoken = 'M7AwcAYf2KQeqX4W0VlitfPVjdeoKsjLn1pckSUYxYwNfS6Wl0Hc1S1RMIKJZPDz' | |
kolibri = 'kenxei33po2637p34829yds2lgwcpn6l' | |
META: | |
ACTUAL_SERVER_PROTOCOL = 'HTTP/1.1' | |
CSRF_COOKIE = 'M7AwcAYf2KQeqX4W0VlitfPVjdeoKsjLn1pckSUYxYwNfS6Wl0Hc1S1RMIKJZPDz' | |
HTTP_ACCEPT = 'application/json, text/plain, */*' | |
HTTP_ACCEPT_ENCODING = 'gzip, deflate, br' | |
HTTP_ACCEPT_LANGUAGE = 'en-US,en;q=0.9,fr;q=0.8' | |
HTTP_CACHE_CONTROL = 'no-cache' | |
HTTP_CONNECTION = 'keep-alive' | |
HTTP_COOKIE = 'visitor_id=2216518d30ae48f9b95a34830814d674; kolibri_csrftoken=M7AwcAYf2KQeqX4W0VlitfPVjdeoKsjLn1pckSUYxYwNfS6Wl0Hc1S1RMIKJZPDz; kolibri=kenxei33po2637p34829yds2lgwcpn6l' | |
HTTP_HOST = 'localhost:8000' | |
HTTP_PRAGMA = 'no-cache' | |
HTTP_REFERER = 'http://localhost:8000/en/learn/' | |
HTTP_SEC_CH_UA = '"Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99"' | |
HTTP_SEC_CH_UA_MOBILE = '?0' | |
HTTP_SEC_CH_UA_PLATFORM = '"Linux"' | |
HTTP_SEC_FETCH_DEST = 'empty' | |
HTTP_SEC_FETCH_MODE = 'cors' | |
HTTP_SEC_FETCH_SITE = 'same-origin' | |
HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36' | |
HTTP_X_CSRFTOKEN = 'M7AwcAYf2KQeqX4W0VlitfPVjdeoKsjLn1pckSUYxYwNfS6Wl0Hc1S1RMIKJZPDz' | |
HTTP_X_REQUESTED_WITH = 'XMLHttpRequest' | |
PATH_INFO = '/api/content/contentnode/' | |
QUERY_STRING = 'max_results=25&keywords=10%20hello&contentCacheKey=1635180366' | |
REMOTE_ADDR = '127.0.0.1' | |
REMOTE_PORT = '50574' | |
REQUEST_METHOD = 'GET' | |
REQUEST_URI = '/api/content/contentnode/?max_results=25&keywords=10%20hello&contentCacheKey=1635180366' | |
SCRIPT_NAME = '' | |
SERVER_NAME = 'Cheroot/8.5.2' | |
SERVER_PORT = '8000' | |
SERVER_PROTOCOL = 'HTTP/1.1' | |
SERVER_SOFTWARE = 'Cheroot/8.5.2 Server' | |
wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'> | |
wsgi.input = <cheroot.server.KnownLengthRFile object at 0x7fcbd44732e8> | |
wsgi.input_terminated = False | |
wsgi.multiprocess = False | |
wsgi.multithread = True | |
wsgi.run_once = False | |
wsgi.url_scheme = 'http' | |
wsgi.version = '(1, 0)' | |
Settings: | |
Using settings module kolibri.deployment.default.settings.dev | |
ABSOLUTE_URL_OVERRIDES = {} | |
ADDITIONAL_SQLITE_DATABASES = "('syncqueue', 'networklocation', 'notifications')" | |
ADMINS = [] | |
ALLOWED_HOSTS = ['*'] | |
APPEND_SLASH = True | |
AUTHENTICATION_BACKENDS = ['kolibri.core.auth.backends.FacilityUserBackend'] | |
AUTH_ANONYMOUS_USER_MODEL = 'kolibriauth.KolibriAnonymousUser' | |
AUTH_PASSWORD_VALIDATORS = '********************' | |
AUTH_USER_MODEL = 'kolibriauth.FacilityUser' | |
BASE_DIR = '/home/jacob/Code/LE/kolibri' | |
CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}, 'process_cache': {'BACKEND': 'diskcache.DjangoCache', 'LOCATION': '/home/jacob/kolibris/0.15/process_cache', 'OPTIONS': {'MAX_ENTRIES': 1000, 'disk_pickle_protocol': 2}}} | |
CACHE_MIDDLEWARE_ALIAS = 'default' | |
CACHE_MIDDLEWARE_KEY_PREFIX = '********************' | |
CACHE_MIDDLEWARE_SECONDS = 0 | |
CSRF_COOKIE_AGE = 31449600 | |
CSRF_COOKIE_DOMAIN = None | |
CSRF_COOKIE_HTTPONLY = False | |
CSRF_COOKIE_NAME = 'kolibri_csrftoken' | |
CSRF_COOKIE_PATH = '/' | |
CSRF_COOKIE_SECURE = False | |
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure' | |
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN' | |
CSRF_TRUSTED_ORIGINS = [] | |
CSRF_USE_SESSIONS = False | |
DATABASES = {'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/home/jacob/kolibris/0.15/db.sqlite3', 'OPTIONS': {'timeout': 100}, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'USER': '', 'PASSWORD': '********************', 'HOST': '', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}, 'syncqueue': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/home/jacob/kolibris/0.15/syncqueue.sqlite3', 'OPTIONS': {'timeout': 100}, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'USER': '', 'PASSWORD': '********************', 'HOST': '', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}, 'networklocation': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/home/jacob/kolibris/0.15/networklocation.sqlite3', 'OPTIONS': {'timeout': 100}, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'USER': '', 'PASSWORD': '********************', 'HOST': '', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}, 'notifications': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/home/jacob/kolibris/0.15/notifications.sqlite3', 'OPTIONS': {'timeout': 100}, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'USER': '', 'PASSWORD': '********************', 'HOST': '', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}} | |
DATABASE_ROUTERS = "('kolibri.core.notifications.models.NotificationsRouter', 'kolibri.core.device.models.SyncQueueRouter', 'kolibri.core.discovery.models.NetworkLocationRouter')" | |
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440 | |
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000 | |
DATETIME_FORMAT = 'N j, Y, P' | |
DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%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_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter' | |
DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage' | |
DEFAULT_FROM_EMAIL = 'webmaster@localhost' | |
DEFAULT_INDEX_TABLESPACE = '' | |
DEFAULT_TABLESPACE = '' | |
DEVELOPER_MODE = True | |
DISALLOWED_USER_AGENTS = [] | |
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' | |
EMAIL_HOST = 'localhost' | |
EMAIL_HOST_PASSWORD = '********************' | |
EMAIL_HOST_USER = '' | |
EMAIL_PORT = 25 | |
EMAIL_SSL_CERTFILE = None | |
EMAIL_SSL_KEYFILE = '********************' | |
EMAIL_SUBJECT_PREFIX = '[Django] ' | |
EMAIL_TIMEOUT = None | |
EMAIL_USE_LOCALTIME = False | |
EMAIL_USE_SSL = False | |
EMAIL_USE_TLS = False | |
ENABLE_DATA_BOOTSTRAPPING = True | |
EXTRA_LANG_INFO = {'ff-cm': {'bidi': False, 'code': 'ff-cm', 'name': 'Fulfulde (Cameroon)', 'name_local': 'Fulfulde Mbororoore', 'name_translated': 'Fulfulde (Cameroon)'}, 'es-419': {'bidi': False, 'code': 'es-419', 'name': 'Spanish (Latin America)', 'name_local': 'Español', 'name_translated': 'Spanish (Latin America)'}, 'es-es': {'bidi': False, 'code': 'es-es', 'name': 'Spanish (Spain)', 'name_local': 'Español (España)', 'name_translated': 'Spanish (Spain)'}, 'fr-ht': {'bidi': False, 'code': 'fr-ht', 'name': 'Haitian Creole', 'name_local': 'Kreyòl ayisyen'}, 'gu-in': {'bidi': False, 'code': 'gu-in', 'name': 'Gujarati', 'name_local': 'ગà«àªœàª°àª¾àª¤à«€', 'name_translated': 'Gujarati'}, 'ha': {'bidi': False, 'code': 'ha', 'name': 'Hausa', 'name_local': 'Hausa', 'name_translated': 'Hausa'}, 'id': {'bidi': False, 'code': 'id', 'name': 'Indonesian', 'name_local': 'Bahasa Indonesia', 'name_translated': 'Indonesian'}, 'ka': {'bidi': False, 'code': 'ka', 'name': 'Georgian', 'name_local': 'ქáƒáƒ თული', 'name_translated': 'Georgian'}, 'km': {'bidi': False, 'code': 'km', 'name': 'Khmer', 'name_local': 'ភាសាážáŸ’មែរ', 'name_translated': 'Khmer'}, 'nyn': {'bidi': False, 'code': 'nyn', 'name': 'Chichewa, Chewa, Nyanja', 'name_local': 'Chinyanja', 'name_translated': 'Chichewa, Chewa, Nyanja'}, 'zh': {'bidi': False, 'code': 'zh-hans', 'name': 'Simplified Chinese', 'name_local': '简体ä¸æ–‡'}, 'yo': {'bidi': False, 'code': 'yo', 'name': 'Yoruba', 'name_local': 'Yorùbá', 'name_translated': 'Yoruba'}, 'zu': {'bidi': False, 'code': 'zu', 'name': 'Zulu', 'name_local': 'isiZulu'}} | |
FILE_CHARSET = 'utf-8' | |
FILE_UPLOAD_DIRECTORY_PERMISSIONS = None | |
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 | |
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates' | |
IGNORABLE_404_URLS = [] | |
INSTALLED_APPS = ['kolibri.core', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_filters', 'kolibri.core.auth.apps.KolibriAuthConfig', 'kolibri.core.bookmarks', 'kolibri.core.content', 'kolibri.core.logger', 'kolibri.core.notifications.apps.KolibriNotificationsConfig', 'kolibri.core.tasks.apps.KolibriTasksConfig', 'kolibri.core.deviceadmin', 'kolibri.core.webpack', 'kolibri.core.exams', 'kolibri.core.device', 'kolibri.core.discovery', 'kolibri.core.lessons', 'kolibri.core.analytics', 'rest_framework', 'django_js_reverse', 'jsonfield', 'morango', <AppConfig: kolibri.plugins.setup_wizard>, <AppConfig: kolibri.plugins.pdf_viewer>, <AppConfig: kolibri.plugins.facility>, <AppConfig: kolibri.plugins.media_player>, <AppConfig: kolibri.plugins.html5_viewer>, <AppConfig: kolibri.plugins.learn>, <AppConfig: kolibri.plugins.device>, <AppConfig: kolibri.plugins.default_theme>, <AppConfig: kolibri.plugins.perseus_viewer>, <AppConfig: kolibri.plugins.coach>, <AppConfig: kolibri.plugins.user_profile>, <AppConfig: kolibri.plugins.user_auth>, <AppConfig: kolibri.plugins.slideshow_viewer>, <AppConfig: kolibri.plugins.epub_viewer>, 'drf_yasg'] | |
INTERNAL_IPS = ['127.0.0.1'] | |
JS_REVERSE_EXCLUDE_NAMESPACES = ['admin'] | |
KOLIBRI_MODULE_PATH = '/home/jacob/Code/LE/kolibri/kolibri' | |
LANGUAGES = [('ar', 'العَرَبÙيَّة\u200e\u200e'), ('bg-bg', 'БългарÑки'), ('bn-bd', 'বাংলা'), ('de', 'Deutsch'), ('en', 'English'), ('es-419', 'Español'), ('es-es', 'Español (España)'), ('fa', 'Ùارسی'), ('ff-cm', 'Fulfulde Mbororoore'), ('fr-fr', 'Français'), ('gu-in', 'ગà«àªœàª°àª¾àª¤à«€'), ('ha', 'Hausa'), ('hi-in', 'हिंदी (à¤à¤¾à¤°à¤¤)'), ('id', 'Bahasa Indonesia'), ('it', 'Italiano'), ('ka', 'ქáƒáƒ თული'), ('km', 'ភាសាážáŸ’មែរ'), ('ko', 'í•œêµì–´'), ('mr', 'मराठी'), ('my', 'ဗမာစာ'), ('nyn', 'Chinyanja'), ('pt-br', 'Português'), ('sw-tz', 'Kiswahili'), ('te', 'తెలà±à°—à±'), ('ur-pk', 'اÙردو (پاکستان)\u200f'), ('vi', 'Tiếng Việt'), ('yo', 'Yorùbá'), ('zh-hans', '简体ä¸æ–‡')] | |
LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur'] | |
LANGUAGE_CODE = 'en' | |
LANGUAGE_COOKIE_AGE = None | |
LANGUAGE_COOKIE_DOMAIN = None | |
LANGUAGE_COOKIE_NAME = 'django_language' | |
LANGUAGE_COOKIE_PATH = '/' | |
LOCALE_PATHS = ['/home/jacob/Code/LE/kolibri/kolibri/locale'] | |
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'filters': {'require_debug_true': {'()': <class 'kolibri.utils.logger.RequireDebugTrue'>}, 'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'formatters': {'verbose': {'format': '%(levelname)s %(asctime)s %(name)s %(process)d %(thread)d %(message)s'}, 'simple': {'format': '%(levelname)s %(message)s'}, 'simple_date': {'format': '%(levelname)s %(asctime)s %(name)s %(message)s'}, 'color': {'()': 'colorlog.ColoredFormatter', 'format': '%(log_color)s%(levelname)-8s %(message)s', 'log_colors': {'DEBUG': 'blue', 'INFO': 'white', 'WARNING': 'yellow', 'ERROR': 'red', 'CRITICAL': 'bold_red'}}}, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler', 'formatter': 'color'}, 'file': {'level': 'INFO', 'filters': [], 'class': 'kolibri.utils.logger.KolibriTimedRotatingFileHandler', 'filename': '/home/jacob/kolibris/0.15/logs/kolibri.txt', 'formatter': 'simple_date', 'when': 'midnight', 'backupCount': 30}, 'file_debug': {'level': 'DEBUG', 'filters': ['require_debug_true'], 'class': 'logging.FileHandler', 'filename': '/home/jacob/kolibris/0.15/logs/debug.txt', 'formatter': 'simple_date'}, 'mail_admins': {'level': 'ERROR', 'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false']}}, 'loggers': {'kolibri': {'handlers': ['file', 'console', 'file_debug', 'mail_admins', 'mail_admins', 'mail_admins'], 'level': 'DEBUG', 'propagate': False}, 'kolibri.core.tasks.worker': {'handlers': ['file', 'console', 'file_debug', 'mail_admins', 'mail_admins', 'mail_admins'], 'level': 'INFO', 'propagate': False}, 'morango': {'handlers': ['file', 'console', 'file_debug', 'mail_admins', 'mail_admins', 'mail_admins'], 'level': 'DEBUG', 'propagate': False}, 'django': {'handlers': ['file', 'console', 'file_debug', 'mail_admins', 'mail_admins', 'mail_admins'], 'level': 'DEBUG', 'propagate': False}, 'django.db.backends': {'handlers': ['file', 'console', 'file_debug', 'mail_admins', 'mail_admins', 'mail_admins'], 'level': 'INFO', 'propagate': False}, 'django.request': {'handlers': ['file', 'console', 'file_debug', 'mail_admins', 'mail_admins', 'mail_admins'], 'level': 'DEBUG', 'propagate': False}, 'django.template': {'handlers': ['file', 'console', 'file_debug', 'mail_admins', 'mail_admins', 'mail_admins'], 'level': 'INFO', 'propagate': False}}} | |
LOGGING_CONFIG = 'logging.config.dictConfig' | |
LOGIN_REDIRECT_URL = '/accounts/profile/' | |
LOGIN_URL = '/accounts/login/' | |
LOGOUT_REDIRECT_URL = None | |
MANAGERS = [] | |
MEDIA_ROOT = '/home/jacob/kolibris/0.15/media' | |
MEDIA_URL = '/media/' | |
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage' | |
MIDDLEWARE = ['kolibri.core.analytics.middleware.cherrypy_access_log_middleware', 'kolibri.core.device.middleware.ProvisioningErrorHandler', 'kolibri.core.device.middleware.DatabaseBusyErrorHandler', 'django.middleware.cache.UpdateCacheMiddleware', 'kolibri.core.analytics.middleware.MetricsMiddleware', 'kolibri.core.auth.middleware.KolibriSessionMiddleware', 'kolibri.core.device.middleware.KolibriLocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'kolibri.core.auth.middleware.CustomAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware', 'kolibri.core.webpack.middleware.WebpackErrorHandler', 'kolibri.core.auth.middleware.XhrPreventLoginPromptMiddleware'] | |
MIDDLEWARE_CLASSES = ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware'] | |
MIGRATION_MODULES = {} | |
MONTH_DAY_FORMAT = 'F j' | |
MORANGO_CLEANUP_OPERATIONS = "('kolibri.core.auth.sync_operations:KolibriSyncOperations', 'morango.sync.operations:CleanupOperation', 'morango.sync.operations:NetworkCleanupOperation')" | |
MORANGO_DEQUEUE_OPERATIONS = "('kolibri.core.auth.sync_operations:KolibriSyncOperations', 'morango.sync.operations:ProducerDequeueOperation', 'morango.sync.operations:ReceiverDequeueOperation', 'morango.sync.operations:LegacyDequeueOperation', 'morango.sync.operations:NetworkDequeueOperation')" | |
MORANGO_DESERIALIZE_OPERATIONS = "('kolibri.core.auth.sync_operations:KolibriSyncOperations', 'morango.sync.operations:ProducerDeserializeOperation', 'morango.sync.operations:ReceiverDeserializeOperation', 'morango.sync.operations:LegacyNetworkDeserializeOperation', 'morango.sync.operations:NetworkDeserializeOperation')" | |
MORANGO_INITIALIZE_OPERATIONS = "('kolibri.core.auth.sync_operations:KolibriSyncOperations', 'morango.sync.operations:InitializeOperation', 'morango.sync.operations:LegacyNetworkInitializeOperation', 'morango.sync.operations:NetworkInitializeOperation')" | |
MORANGO_INSTANCE_INFO = 'kolibri.core.auth.constants.morango_sync:CUSTOM_INSTANCE_INFO' | |
MORANGO_QUEUE_OPERATIONS = "('kolibri.core.auth.sync_operations:KolibriSyncOperations', 'morango.sync.operations:ProducerQueueOperation', 'morango.sync.operations:ReceiverQueueOperation', 'morango.sync.operations:LegacyNetworkQueueOperation', 'morango.sync.operations:NetworkQueueOperation')" | |
MORANGO_SERIALIZE_OPERATIONS = "('kolibri.core.auth.sync_operations:KolibriSyncOperations', 'morango.sync.operations:SerializeOperation', 'morango.sync.operations:LegacyNetworkSerializeOperation', 'morango.sync.operations:NetworkSerializeOperation')" | |
MORANGO_TRANSFERRING_OPERATIONS = "('kolibri.core.auth.sync_operations:KolibriSyncOperations', 'morango.sync.operations:PullProducerOperation', 'morango.sync.operations:PushReceiverOperation', 'morango.sync.operations:NetworkPushTransferOperation', 'morango.sync.operations:NetworkPullTransferOperation')" | |
NUMBER_GROUPING = 0 | |
PASSWORD_HASHERS = '********************' | |
PASSWORD_RESET_TIMEOUT_DAYS = '********************' | |
PREPEND_WWW = False | |
REST_FRAMEWORK = {'UNAUTHENTICATED_USER': 'kolibri.core.auth.models.KolibriAnonymousUser', 'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.SessionAuthentication'], 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer', 'rest_framework.renderers.BrowsableAPIRenderer'), 'EXCEPTION_HANDLER': 'kolibri.core.utils.exception_handler.custom_exception_handler'} | |
ROOT_URLCONF = 'kolibri.deployment.default.dev_urls' | |
SECRET_KEY = '********************' | |
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 = 'root@localhost' | |
SESSION_CACHE_ALIAS = 'default' | |
SESSION_COOKIE_AGE = 1200 | |
SESSION_COOKIE_DOMAIN = None | |
SESSION_COOKIE_HTTPONLY = True | |
SESSION_COOKIE_NAME = 'kolibri' | |
SESSION_COOKIE_PATH = '/' | |
SESSION_COOKIE_SECURE = False | |
SESSION_ENGINE = 'django.contrib.sessions.backends.file' | |
SESSION_EXPIRE_AT_BROWSER_CLOSE = True | |
SESSION_FILE_PATH = '/home/jacob/kolibris/0.15/sessions' | |
SESSION_SAVE_EVERY_REQUEST = False | |
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer' | |
SETTINGS_MODULE = 'kolibri.deployment.default.settings.dev' | |
SHORT_DATETIME_FORMAT = 'm/d/Y P' | |
SHORT_DATE_FORMAT = 'm/d/Y' | |
SIGNING_BACKEND = 'django.core.signing.TimestampSigner' | |
SILENCED_SYSTEM_CHECKS = ['auth.W004'] | |
STATICFILES_DIRS = [] | |
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] | |
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage' | |
STATIC_ROOT = '/home/jacob/kolibris/0.15/static' | |
STATIC_URL = '/static/' | |
SYNC_OPERATIONS = "('kolibri.core.auth.sync_operations:KolibriSyncOperations',)" | |
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, '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', 'kolibri.core.context_processors.custom_context_processor.developer_mode']}}] | |
TEST_NON_SERIALIZED_APPS = [] | |
TEST_RUNNER = 'django.test.runner.DiscoverRunner' | |
THOUSAND_SEPARATOR = ',' | |
TIME_FORMAT = 'P' | |
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] | |
TIME_ZONE = 'America/Los_Angeles' | |
USE_ETAGS = False | |
USE_I18N = True | |
USE_L10N = True | |
USE_THOUSAND_SEPARATOR = False | |
USE_TZ = True | |
USE_X_FORWARDED_HOST = False | |
USE_X_FORWARDED_PORT = False | |
WSGI_APPLICATION = 'kolibri.deployment.default.wsgi.application' | |
X_FRAME_OPTIONS = 'SAMEORIGIN' | |
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 page generated by the handler for this status code. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment