learningequality / kolibri

Kolibri Learning Platform: the offline app for universal education
https://learningequality.org/kolibri/
MIT License
804 stars 668 forks source link

IOError on server start #72

Closed Kevsy closed 8 years ago

Kevsy commented 8 years ago

Hi all, problem with build on OSX 10.11.3. Any help much appreciated.

Terminal output:

(kol)  ~/Code/kolibri$ kolibri manage runserver
Performing system checks...

System check identified some issues:

WARNINGS:
?: (urls.W001) Your URL pattern '^$' uses include with a regex ending with a '$'. Remove the dollar from the regex to avoid problems including URLs.
kolibriauth.DeviceOwner: (auth.W004) 'DeviceOwner.username' is named as the 'USERNAME_FIELD', but it is not unique.
    HINT: Ensure that your authentication backend(s) can handle non-unique usernames.

System check identified 2 issues (0 silenced).

You have unapplied migrations; your app may not work properly until they are applied.
Run 'python manage.py migrate' to apply them.

May 09, 2016 - 14:27:31
Django version 1.9.1, using settings 'kolibri.deployment.default.settings.base'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[09/May/2016 14:31:50] "GET / HTTP/1.1" 500 150769
[09/May/2016 14:31:50] "GET /favicon.ico HTTP/1.1" 404 8184

Browser output:

IOError at /
Error reading /Users/kevinsmith/Code/kolibri/kolibri/core/build/KolibriCoreFrontEnd_stats.json. Are you sure webpack has generated the file and the path is correct?
Request Method: GET
Request URL:    http://127.0.0.1:8000/
Django Version: 1.9.1
Exception Type: IOError
Exception Value:    
Error reading /Users/kevinsmith/Code/kolibri/kolibri/core/build/KolibriCoreFrontEnd_stats.json. Are you sure webpack has generated the file and the path is correct?
Exception Location: kolibri/utils/webpack.py in initialize_plugin_cache, line 69
Python Executable:  /Users/kevinsmith/Code/kolibri/kol/bin/python
Python Version: 2.7.8
Python Path:    
['',
 '/Users/kevinsmith/Code/kolibri',
 '/Users/kevinsmith/Code/kolibri/kol/lib/python27.zip',
 '/Users/kevinsmith/Code/kolibri/kol/lib/python2.7',
 '/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/plat-darwin',
 '/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/plat-mac',
 '/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/plat-mac/lib-scriptpackages',
 '/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/lib-tk',
 '/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/lib-old',
 '/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/lib-dynload',
 '/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
 '/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
 '/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
 '/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
 '/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
 '/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages']
Server time:    Mon, 9 May 2016 14:31:49 +0000
Error during template rendering

In template /Users/kevinsmith/Code/kolibri/kolibri/core/templates/kolibri/index.html, error at line 0
Error reading /Users/kevinsmith/Code/kolibri/kolibri/core/build/KolibriCoreFrontEnd_stats.json. Are you sure webpack has generated the file and the path is correct?
1   {% extends "kolibri/todo.html" %}
2   
Traceback Switch to copy-and-paste view

/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/core/handlers/base.py in get_response
                    response = self.process_exception_by_middleware(e, request) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/core/handlers/base.py in get_response
                    response = response.render() ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/response.py in render
            self.content = self.rendered_content ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/response.py in rendered_content
        content = template.render(context, self._request) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/backends/django.py in render
            return self.template.render(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/base.py in render
                    return self._render(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/base.py in _render
        return self.nodelist.render(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/base.py in render
                bit = node.render_annotated(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/base.py in render_annotated
            return self.render(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/loader_tags.py in render
        return compiled_parent._render(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/base.py in _render
        return self.nodelist.render(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/base.py in render
                bit = node.render_annotated(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/base.py in render_annotated
            return self.render(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/loader_tags.py in render
        return compiled_parent._render(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/base.py in _render
        return self.nodelist.render(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/base.py in render
                bit = node.render_annotated(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/base.py in render_annotated
            return self.render(context) ...
▶ Local vars
/Users/kevinsmith/Code/kolibri/kol/lib/python2.7/site-packages/django/template/library.py in render
        output = self.func(*resolved_args, **resolved_kwargs) ...
▶ Local vars
kolibri/core/templatetags/kolibri_tags.py in frontend_assets
    return render_as_tags(get_webpack_bundle(bundle_path, extension)) ...
▶ Local vars
kolibri/core/templatetags/kolibri_tags.py in render_as_tags
    for chunk in bundle: ...
▶ Local vars
kolibri/utils/webpack.py in get_bundle
    check_plugin_cache() ...
▶ Local vars
kolibri/utils/webpack.py in check_plugin_cache
        initialize_plugin_cache() ...
kolibri/utils/webpack.py in initialize_plugin_cache
                'and the path is correct?'.format(stats_file)) ...
▶ Local vars
Request information

GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
Variable    Value
csrftoken   
'7pQjPFgKpiwTFjROsTV4mf6jK8w82ijU'
META
Variable    Value
RUN_MAIN    
'true'
KOLIBRI_HOME    
'/Users/kevinsmith/.kolibri'
HTTP_ACCEPT_LANGUAGE    
'en-US,en;q=0.8'
SERVER_PROTOCOL 
'HTTP/1.1'
SERVER_SOFTWARE 
'WSGIServer/0.1 Python/2.7.8'
TERM_PROGRAM_VERSION    
'361.1'
REQUEST_METHOD  
'GET'
LOGNAME 
'kevinsmith'
USER    
'kevinsmith'
HOME    
'/Users/kevinsmith'
QUERY_STRING    
''
PATH    
'/Users/kevinsmith/Code/kolibri/kol/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/Users/kevinsmith/depot_tools:/Users/kevinsmith/depot_tools:/Users/kevinsmith/depot_tools:/Users/kevinsmith/depot_tools'
VIRTUALENVWRAPPER_SCRIPT    
'/usr/local/bin/virtualenvwrapper.sh'
DISPLAY 
'/private/tmp/com.apple.launchd.XXAJv1vzKO/org.macosforge.xquartz:0'
KOLIBRI_LISTEN_PORT 
'8008'
LANG    
'en_GB.UTF-8'
INFOPATH    
'/sw/share/info:/sw/info:/usr/share/info'
TERM    
'xterm-256color'
SHELL   
'/bin/bash'
KALITE_PYTHON   
'/Applications/KA-Lite/support/pyrun-2.7/bin/pyrun'
HTTP_COOKIE 
'csrftoken=7pQjPFgKpiwTFjROsTV4mf6jK8w82ijU'
SERVER_NAME 
'1.0.0.127.in-addr.arpa'
REMOTE_ADDR 
'127.0.0.1'
SHLVL   
'1'
XPC_FLAGS   
'0x0'
wsgi.url_scheme 
'http'
_   
'/Users/kevinsmith/Code/kolibri/kol/bin/kolibri'
MANPATH 
'/sw/share/man:/opt/local/man:/opt/local/man:/opt/local/man::/sw/lib/perl5/5.18.2/man'
CONTENT_LENGTH  
''
TERM_PROGRAM    
'Apple_Terminal'
KALITE_HOME 
'/Users/kevinsmith/.kalite'
WORKON_HOME 
'/Users/kevinsmith/.virtualenvs'
TERM_SESSION_ID 
'187E857F-38F9-4DC6-90A6-8B9E0064D4FF'
XPC_SERVICE_NAME    
'0'
VERSIONER_PERL_PREFER_32_BIT    
'yes'
SERVER_PORT 
'8000'
PERL5LIB    
'/sw/lib/perl5:/sw/lib/perl5/darwin'
SSH_AUTH_SOCK   
'/private/tmp/com.apple.launchd.bzavLSrx2g/Listeners'
VIRTUAL_ENV 
'/Users/kevinsmith/Code/kolibri/kol'
HTTP_CONNECTION 
'keep-alive'
wsgi.input  
<socket._fileobject object at 0x1109df350>
Apple_PubSub_Socket_Render  
'/private/tmp/com.apple.launchd.hJpSZojaHt/Render'
PS1 
'(kol) \\[\\033[1m\\033[32m\\] \\w\\[\\033[0m\\]\\$ '
SCRIPT_NAME 
u''
wsgi.multithread    
True
TZ  
u'UTC'
TMPDIR  
'/var/folders/8c/h2bdmcvx1k1gnghk1jnt3tv80000gn/T/'
HTTP_ACCEPT 
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
VIRTUALENVWRAPPER_PROJECT_FILENAME  
'.project'
wsgi.file_wrapper   
''
wsgi.version    
(1, 0)
VIRTUALENVWRAPPER_HOOK_DIR  
'/Users/kevinsmith/.virtualenvs'
GATEWAY_INTERFACE   
'CGI/1.1'
wsgi.run_once   
False
CSRF_COOKIE 
u'7pQjPFgKpiwTFjROsTV4mf6jK8w82ijU'
OLDPWD  
'/usr/local/bin'
wsgi.multiprocess   
False
HTTP_USER_AGENT 
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36'
wsgi.errors 
<open file '<stderr>', mode 'w' at 0x10f3ff1e0>
HTTP_ACCEPT_ENCODING    
'gzip, deflate, sdch'
__CF_USER_TEXT_ENCODING 
'0x1F5:0x0:0x0'
PWD 
'/Users/kevinsmith/Code/kolibri'
DJANGO_SETTINGS_MODULE  
'kolibri.deployment.default.settings.base'
CONTENT_TYPE    
'text/plain'
HTTP_HOST   
'127.0.0.1:8000'
HTTP_UPGRADE_INSECURE_REQUESTS  
'1'
REMOTE_HOST 
''
VIRTUALENVWRAPPER_WORKON_CD 
'1'
PATH_INFO   
u'/'
Settings
Using settings module kolibri.deployment.default.settings.base
Setting Value
CONTENT_COPY_DIR    
u'/Users/kevinsmith/Code/kolibri/kolibri/content/content_copy'
SECURE_BROWSER_XSS_FILTER   
False
USE_X_FORWARDED_PORT    
False
USE_THOUSAND_SEPARATOR  
False
CSRF_COOKIE_SECURE  
False
LANGUAGE_CODE   
u'en-us'
ROOT_URLCONF    
u'kolibri.deployment.default.urls'
MANAGERS    
[]
BASE_DIR    
'/Users/kevinsmith/Code/kolibri'
SILENCED_SYSTEM_CHECKS  
[]
DEFAULT_CHARSET 
'utf-8'
SESSION_SERIALIZER  
'django.contrib.sessions.serializers.JSONSerializer'
STATIC_ROOT 
None
ALLOWED_HOSTS   
[]
MESSAGE_STORAGE 
'django.contrib.messages.storage.fallback.FallbackStorage'
EMAIL_SUBJECT_PREFIX    
'[Django] '
SERVER_EMAIL    
'root@localhost'
SECURE_HSTS_SECONDS 
0
STATICFILES_FINDERS 
['django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
SESSION_CACHE_ALIAS 
'default'
SESSION_COOKIE_DOMAIN   
None
SESSION_COOKIE_NAME 
'sessionid'
TIME_INPUT_FORMATS  
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
SECURE_REDIRECT_EXEMPT  
[]
DATABASES   
{u'default': {'ATOMIC_REQUESTS': False,
              'AUTOCOMMIT': True,
              'CONN_MAX_AGE': 0,
              u'ENGINE': u'django.db.backends.sqlite3',
              'HOST': '',
              u'NAME': u'/Users/kevinsmith/.kolibri/db.sqlite3',
              'OPTIONS': {},
              'PASSWORD': u'********************',
              'PORT': '',
              'TEST': {'CHARSET': None,
                       'COLLATION': None,
                       'MIRROR': None,
                       'NAME': None},
              'TIME_ZONE': None,
              'USER': ''}}
EMAIL_SSL_KEYFILE   
u'********************'
FILE_UPLOAD_DIRECTORY_PERMISSIONS   
None
FILE_UPLOAD_PERMISSIONS 
None
FILE_UPLOAD_HANDLERS    
['django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
DEFAULT_CONTENT_TYPE    
'text/html'
APPEND_SLASH    
True
LOCALE_PATHS    
[]
DATABASE_ROUTERS    
[]
DEFAULT_TABLESPACE  
''
YEAR_MONTH_FORMAT   
'F Y'
STATICFILES_STORAGE 
'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES  
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
KOLIBRI_HOME    
'/Users/kevinsmith/.kolibri'
SESSION_COOKIE_PATH 
'/'
EMAIL_HOST_PASSWORD 
u'********************'
SECURE_CONTENT_TYPE_NOSNIFF 
False
MIDDLEWARE_CLASSES  
(u'django.contrib.sessions.middleware.SessionMiddleware',
 u'django.middleware.common.CommonMiddleware',
 u'django.middleware.csrf.CsrfViewMiddleware',
 u'django.contrib.auth.middleware.AuthenticationMiddleware',
 u'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 u'django.contrib.messages.middleware.MessageMiddleware',
 u'django.middleware.clickjacking.XFrameOptionsMiddleware',
 u'django.middleware.security.SecurityMiddleware')
USE_I18N    
True
THOUSAND_SEPARATOR  
','
SECRET_KEY  
u'********************'
LANGUAGE_COOKIE_NAME    
'django_language'
DEFAULT_INDEX_TABLESPACE    
''
LOGGING_CONFIG  
'logging.config.dictConfig'
CONTENT_DB_DIR  
u'/Users/kevinsmith/Code/kolibri/kolibri/content/content_db'
TEMPLATE_LOADERS    
['django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader']
FIRST_DAY_OF_WEEK   
0
WSGI_APPLICATION    
u'kolibri.deployment.default.wsgi.application'
TEMPLATE_DEBUG  
False
X_FRAME_OPTIONS 
'SAMEORIGIN'
CSRF_COOKIE_NAME    
'csrftoken'
FORCE_SCRIPT_NAME   
None
USE_X_FORWARDED_HOST    
False
CSRF_HEADER_NAME    
'HTTP_X_CSRFTOKEN'
EMAIL_TIMEOUT   
None
SECURE_SSL_HOST 
None
SIGNING_BACKEND 
'django.core.signing.TimestampSigner'
SESSION_COOKIE_SECURE   
False
CSRF_COOKIE_DOMAIN  
None
FILE_CHARSET    
'utf-8'
DEBUG   
True
CSRF_TRUSTED_ORIGINS    
[]
LANGUAGE_COOKIE_DOMAIN  
None
DEFAULT_FILE_STORAGE    
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS  
[u'kolibri.core',
 u'django.contrib.admin',
 u'django.contrib.auth',
 u'django.contrib.contenttypes',
 u'django.contrib.sessions',
 u'django.contrib.messages',
 u'django.contrib.staticfiles',
 u'kolibri.auth.apps.KolibriAuthConfig',
 u'kolibri.content',
 u'rest_framework']
LANGUAGES   
[('af', 'Afrikaans'),
 ('ar', 'Arabic'),
 ('ast', 'Asturian'),
 ('az', 'Azerbaijani'),
 ('bg', 'Bulgarian'),
 ('be', 'Belarusian'),
 ('bn', 'Bengali'),
 ('br', 'Breton'),
 ('bs', 'Bosnian'),
 ('ca', 'Catalan'),
 ('cs', 'Czech'),
 ('cy', 'Welsh'),
 ('da', 'Danish'),
 ('de', 'German'),
 ('el', 'Greek'),
 ('en', 'English'),
 ('en-au', 'Australian English'),
 ('en-gb', 'British English'),
 ('eo', 'Esperanto'),
 ('es', 'Spanish'),
 ('es-ar', 'Argentinian Spanish'),
 ('es-co', 'Colombian Spanish'),
 ('es-mx', 'Mexican Spanish'),
 ('es-ni', 'Nicaraguan Spanish'),
 ('es-ve', 'Venezuelan Spanish'),
 ('et', 'Estonian'),
 ('eu', 'Basque'),
 ('fa', 'Persian'),
 ('fi', 'Finnish'),
 ('fr', 'French'),
 ('fy', 'Frisian'),
 ('ga', 'Irish'),
 ('gd', 'Scottish Gaelic'),
 ('gl', 'Galician'),
 ('he', 'Hebrew'),
 ('hi', 'Hindi'),
 ('hr', 'Croatian'),
 ('hu', 'Hungarian'),
 ('ia', 'Interlingua'),
 ('id', 'Indonesian'),
 ('io', 'Ido'),
 ('is', 'Icelandic'),
 ('it', 'Italian'),
 ('ja', 'Japanese'),
 ('ka', 'Georgian'),
 ('kk', 'Kazakh'),
 ('km', 'Khmer'),
 ('kn', 'Kannada'),
 ('ko', 'Korean'),
 ('lb', 'Luxembourgish'),
 ('lt', 'Lithuanian'),
 ('lv', 'Latvian'),
 ('mk', 'Macedonian'),
 ('ml', 'Malayalam'),
 ('mn', 'Mongolian'),
 ('mr', 'Marathi'),
 ('my', 'Burmese'),
 ('nb', 'Norwegian Bokmal'),
 ('ne', 'Nepali'),
 ('nl', 'Dutch'),
 ('nn', 'Norwegian Nynorsk'),
 ('os', 'Ossetic'),
 ('pa', 'Punjabi'),
 ('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'),
 ('sw', 'Swahili'),
 ('ta', 'Tamil'),
 ('te', 'Telugu'),
 ('th', 'Thai'),
 ('tr', 'Turkish'),
 ('tt', 'Tatar'),
 ('udm', 'Udmurt'),
 ('uk', 'Ukrainian'),
 ('ur', 'Urdu'),
 ('vi', 'Vietnamese'),
 ('zh-hans', 'Simplified Chinese'),
 ('zh-hant', 'Traditional Chinese')]
USE_L10N    
True
SECURE_HSTS_INCLUDE_SUBDOMAINS  
False
STATICFILES_DIRS    
[]
PREPEND_WWW 
False
SECURE_PROXY_SSL_HEADER 
None
LANGUAGE_COOKIE_AGE 
None
SESSION_COOKIE_HTTPONLY 
True
DEBUG_PROPAGATE_EXCEPTIONS  
False
CSRF_COOKIE_AGE 
31449600
MONTH_DAY_FORMAT    
'F j'
LOGIN_URL   
'/accounts/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE 
False
TIME_FORMAT 
'P'
AUTH_USER_MODEL 
u'kolibriauth.DeviceOwner'
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']
AUTHENTICATION_BACKENDS 
[u'kolibri.auth.backends.DeviceOwnerBackend',
 u'kolibri.auth.backends.FacilityUserBackend']
AUTH_PASSWORD_VALIDATORS    
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS 
u'********************'
SESSION_FILE_PATH   
None
CACHE_MIDDLEWARE_ALIAS  
'default'
SESSION_SAVE_EVERY_REQUEST  
False
NUMBER_GROUPING 
0
SESSION_ENGINE  
'django.contrib.sessions.backends.db'
CSRF_FAILURE_VIEW   
'django.views.csrf.csrf_failure'
CSRF_COOKIE_PATH    
'/'
LOGIN_REDIRECT_URL  
'/accounts/profile/'
DECIMAL_SEPARATOR   
'.'
IGNORABLE_404_URLS  
[]
MIGRATION_MODULES   
{}
TEMPLATE_STRING_IF_INVALID  
''
LOGOUT_URL  
'/accounts/logout/'
EMAIL_USE_TLS   
False
FIXTURE_DIRS    
[]
EMAIL_HOST  
'localhost'
DATE_FORMAT 
'N j, Y'
MEDIA_ROOT  
''
DEFAULT_EXCEPTION_REPORTER_FILTER   
'django.views.debug.SafeExceptionReporterFilter'
ADMINS  
[]
FORMAT_MODULE_PATH  
None
DEFAULT_FROM_EMAIL  
'webmaster@localhost'
MEDIA_URL   
''
DATETIME_FORMAT 
'N j, Y, P'
TEMPLATE_DIRS   
[]
DISALLOWED_USER_AGENTS  
[]
ALLOWED_INCLUDE_ROOTS   
[]
LOGGING 
{u'disable_existing_loggers': False,
 u'filters': {u'require_debug_false': {u'()': u'django.utils.log.RequireDebugFalse'},
              u'require_debug_true': {u'()': u'django.utils.log.RequireDebugTrue'}},
 u'formatters': {u'color': {u'()': u'colorlog.ColoredFormatter',
                            u'format': u'%(log_color)s%(levelname)-8s %(message)s',
                            u'log_colors': {u'CRITICAL': u'bold_red',
                                            u'DEBUG': u'bold_black',
                                            u'ERROR': u'red',
                                            u'INFO': u'white',
                                            u'WARNING': u'yellow'}},
                 u'simple': {u'format': u'%(levelname)s %(message)s'},
                 u'simple_date': {u'format': u'%(levelname)s %(asctime)s %(module)s %(message)s'},
                 u'verbose': {u'format': u'%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}},
 u'handlers': {u'console': {u'class': u'logging.StreamHandler',
                            u'filters': [u'require_debug_true'],
                            u'formatter': u'color',
                            u'level': u'INFO'},
               u'file': {u'class': u'logging.FileHandler',
                         u'filename': u'/Users/kevinsmith/.kolibri/kolibri.log',
                         u'filters': [],
                         u'formatter': u'simple_date',
                         u'level': u'INFO'},
               u'file_debug': {u'class': u'logging.FileHandler',
                               u'filename': u'/Users/kevinsmith/.kolibri/debug.log',
                               u'filters': [u'require_debug_true'],
                               u'formatter': u'simple_date',
                               u'level': u'DEBUG'},
               u'mail_admins': {u'class': u'django.utils.log.AdminEmailHandler',
                                u'filters': [u'require_debug_false'],
                                u'level': u'ERROR'}},
 u'loggers': {u'django': {u'handlers': [u'console', u'file'],
                          u'propagate': True},
              u'django.request': {u'handlers': [u'mail_admins', u'file'],
                                  u'level': u'ERROR',
                                  u'propagate': False},
              u'kolibri': {u'handlers': [u'console',
                                         u'mail_admins',
                                         u'file',
                                         u'file_debug'],
                           u'level': u'INFO'}},
 u'version': 1}
SHORT_DATE_FORMAT   
'm/d/Y'
TEMPLATES   
[{u'APP_DIRS': True,
  u'BACKEND': u'django.template.backends.django.DjangoTemplates',
  u'DIRS': [],
  u'OPTIONS': {u'context_processors': [u'django.template.context_processors.debug',
                                       u'django.template.context_processors.request',
                                       u'django.contrib.auth.context_processors.auth',
                                       u'django.contrib.messages.context_processors.messages']}}]
TEST_RUNNER 
'django.test.runner.DiscoverRunner'
CACHE_MIDDLEWARE_KEY_PREFIX 
u'********************'
SECURE_SSL_REDIRECT 
False
TIME_ZONE   
u'UTC'
FILE_UPLOAD_MAX_MEMORY_SIZE 
2621440
EMAIL_BACKEND   
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_SSL   
False
TEMPLATE_CONTEXT_PROCESSORS 
['django.contrib.auth.context_processors.auth',
 'django.template.context_processors.debug',
 'django.template.context_processors.i18n',
 'django.template.context_processors.media',
 'django.template.context_processors.static',
 'django.template.context_processors.tz',
 'django.contrib.messages.context_processors.messages']
SESSION_COOKIE_AGE  
1209600
SETTINGS_MODULE 
'kolibri.deployment.default.settings.base'
USE_ETAGS   
False
LANGUAGES_BIDI  
['he', 'ar', 'fa', 'ur']
FILE_UPLOAD_TEMP_DIR    
None
INTERNAL_IPS    
[]
STATIC_URL  
u'/static/'
EMAIL_PORT  
25
USE_TZ  
True
SHORT_DATETIME_FORMAT   
'm/d/Y P'
TEST_NON_SERIALIZED_APPS    
[]
PASSWORD_HASHERS    
u'********************'
ABSOLUTE_URL_OVERRIDES  
{}
LANGUAGE_COOKIE_PATH    
'/'
CACHE_MIDDLEWARE_SECONDS    
600
EMAIL_SSL_CERTFILE  
None
CSRF_COOKIE_HTTPONLY    
False
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']
EMAIL_HOST_USER 
''
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.
MCGallaspy commented 8 years ago

In the README this step comes after step 5, but it probably should precede it:

To build frontend assets in development mode with sourcemaps and watching:

    $ npm run watch

This will build the front-end assets you need.

benjaoming commented 8 years ago

...and if you're not developing frontend assets, just running npm run build is enough.

Kevsy commented 8 years ago

That solved it - many thanks!