Installing the indigo theme in lilac crashes the LMS with an nginx 502 error. The studio (CMS) works fine.
From the log:
lms_1 | Traceback (most recent call last):
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/lookup.py", line 249, in get_template
lms_1 | return self._check(uri, self._collection[uri])
lms_1 | KeyError: 'indigo/lms/templates/footer.html'
lms_1 |
lms_1 | During handling of the above exception, another exception occurred:
lms_1 |
lms_1 | Traceback (most recent call last):
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
lms_1 | response = get_response(request)
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/utils/deprecation.py", line 94, in __call__
lms_1 | response = response or self.get_response(request)
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 36, in inner
lms_1 | response = response_for_exception(request, exc)
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
lms_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 129, in handle_uncaught_exception
lms_1 | return callback(request, **param_dict)
lms_1 | File "/openedx/edx-platform/common/djangoapps/util/views.py", line 95, in wrapper
lms_1 | return func(request, *args, **kwargs)
lms_1 | File "./lms/djangoapps/static_template_view/views.py", line 125, in render_500
lms_1 | return HttpResponseServerError(render_to_string('static_templates/server-error.html', {}, request=request))
lms_1 | File "/openedx/edx-platform/common/djangoapps/edxmako/shortcuts.py", line 182, in render_to_string
lms_1 | return template.render(dictionary, request)
lms_1 | File "/openedx/edx-platform/common/djangoapps/edxmako/template.py", line 82, in render
lms_1 | return self.mako_template.render_unicode(**context_dictionary)
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/template.py", line 478, in render_unicode
lms_1 | return runtime._render(
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/runtime.py", line 878, in _render
lms_1 | _render_context(
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/runtime.py", line 920, in _render_context
lms_1 | _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/runtime.py", line 947, in _exec_template
lms_1 | callable_(context, *args, **kwargs)
lms_1 | File "/tmp/mako_lms/f1543ed24543a70de2c17ebfc03bb76a/main.html.py", line 366, in render_body
lms_1 | runtime._include_file(context, (static.get_template_path('footer.html')), _template_uri)
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/runtime.py", line 782, in _include_file
lms_1 | template = _lookup_template(context, uri, calling_uri)
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/runtime.py", line 839, in _lookup_template
lms_1 | return lookup.get_template(uri)
lms_1 | File "/openedx/edx-platform/common/djangoapps/edxmako/paths.py", line 102, in get_template
lms_1 | template = super().get_template(get_template_path_with_theme(uri))
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/lookup.py", line 260, in get_template
lms_1 | return self._load(srcfile, uri)
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/lookup.py", line 322, in _load
lms_1 | self._collection[uri] = template = Template(
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/template.py", line 347, in __init__
lms_1 | module = self._compile_from_file(path, filename)
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/template.py", line 415, in _compile_from_file
lms_1 | module = compat.load_module(self.module_id, path)
lms_1 | File "/openedx/venv/lib/python3.8/site-packages/mako/compat.py", line 109, in load_module
lms_1 | spec.loader.exec_module(module)
lms_1 | File "<frozen importlib._bootstrap_external>", line 783, in exec_module
lms_1 | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
lms_1 | File "/tmp/mako_lms/f1543ed24543a70de2c17ebfc03bb76a/indigo/lms/templates/footer.html.py", line 19, in <module>
lms_1 | from branding.api import get_footer
lms_1 | File "/openedx/edx-platform/import_shims/lms/branding/__init__.py", line 6, in <module>
lms_1 | warn_deprecated_import('branding', 'lms.djangoapps.branding')
lms_1 | File "/openedx/edx-platform/import_shims/warn.py", line 37, in warn_deprecated_import
lms_1 | raise DeprecatedEdxPlatformImportError(old_import, new_import)
lms_1 | import_shims.warn.DeprecatedEdxPlatformImportError: Importing branding instead of lms.djangoapps.branding is deprecated