Closed bruceguodong closed 6 years ago
Hi, flowing docker steps, after start the cabot webserver, I open http://XXX:5000 in brower, but error occurs as below, i find less have installed in Dockfile.
Environment:
Request Method: GET Request URL: http://XXX:5000/setup/
Django Version: 1.11.11 Python Version: 2.7.14 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_filters', 'compressor', 'polymorphic', 'jsonify', 'cabot.cabotapp', 'rest_framework', 'dal', 'dal_select2', 'django.contrib.admin', 'bootstrapform', 'cabot_alert_hipchat', 'cabot_alert_twilio', 'cabot_alert_email', 'cabot_alert_slack') Installed Middleware: ('whitenoise.middleware.WhiteNoiseMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py" in view
File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
File "/usr/local/lib/python2.7/site-packages/cabot/cabotapp/views.py" in get
File "/usr/local/lib/python2.7/site-packages/django/template/backends/django.py" in render
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in render
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in _render
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in render_annotated
File "/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py" in render
File "/usr/local/lib/python2.7/site-packages/compressor/templatetags/compress.py" in render
File "/usr/local/lib/python2.7/site-packages/compressor/templatetags/compress.py" in render_compressed
File "/usr/local/lib/python2.7/site-packages/compressor/css.py" in output
File "/usr/local/lib/python2.7/site-packages/compressor/base.py" in output
File "/usr/local/lib/python2.7/site-packages/compressor/base.py" in filter_input
File "/usr/local/lib/python2.7/site-packages/compressor/base.py" in hunks
File "/usr/local/lib/python2.7/site-packages/compressor/base.py" in precompile
File "/usr/local/lib/python2.7/site-packages/compressor/filters/base.py" in input
Exception Type: FilterError at /setup/ Exception Value: /bin/sh: lessc: not found
Hi, flowing docker steps, after start the cabot webserver, I open http://XXX:5000 in brower, but error occurs as below, i find less have installed in Dockfile.
Environment:
Request Method: GET Request URL: http://XXX:5000/setup/
Django Version: 1.11.11 Python Version: 2.7.14 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_filters', 'compressor', 'polymorphic', 'jsonify', 'cabot.cabotapp', 'rest_framework', 'dal', 'dal_select2', 'django.contrib.admin', 'bootstrapform', 'cabot_alert_hipchat', 'cabot_alert_twilio', 'cabot_alert_email', 'cabot_alert_slack') Installed Middleware: ('whitenoise.middleware.WhiteNoiseMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py" in view
File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
File "/usr/local/lib/python2.7/site-packages/cabot/cabotapp/views.py" in get
File "/usr/local/lib/python2.7/site-packages/django/template/backends/django.py" in render
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in render
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in _render
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in render
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in render_annotated
File "/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py" in render
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in _render
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in render
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in render_annotated
File "/usr/local/lib/python2.7/site-packages/compressor/templatetags/compress.py" in render
File "/usr/local/lib/python2.7/site-packages/compressor/templatetags/compress.py" in render_compressed
File "/usr/local/lib/python2.7/site-packages/compressor/css.py" in output
File "/usr/local/lib/python2.7/site-packages/compressor/css.py" in output
File "/usr/local/lib/python2.7/site-packages/compressor/base.py" in output
File "/usr/local/lib/python2.7/site-packages/compressor/base.py" in filter_input
File "/usr/local/lib/python2.7/site-packages/compressor/base.py" in hunks
File "/usr/local/lib/python2.7/site-packages/compressor/base.py" in precompile
File "/usr/local/lib/python2.7/site-packages/compressor/filters/base.py" in input
File "/usr/local/lib/python2.7/site-packages/compressor/filters/base.py" in input
Exception Type: FilterError at /setup/ Exception Value: /bin/sh: lessc: not found