We're seeing this on an Aldryn project.
Request Method: GET
Request URL: http://xxxxx.us.aldryn.io/de/
Django Version: 1.8.8
Python Version: 2.7.10
Installed Applications:
['aldryn_addons',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'aldryn_sso',
'djangocms_admin_style',
'django.contrib.admin',
'django.contrib.staticfiles',
'aldryn_django',
'raven.contrib.django',
'cms',
'aldryn_django_cms',
'menus',
'sekizai',
'treebeard',
'reversion',
'parler',
'aldryn_boilerplates',
'django.contrib.sitemaps',
'compressor',
'robots',
'filer',
'easy_thumbnails',
'mptt',
'polymorphic',
'djangocms_text_ckeditor',
'djangocms_link',
'djangocms_snippet',
'djangocms_googlemap',
'cmsplugin_filer_file',
'cmsplugin_filer_image',
'captcha',
'django_select2',
'aldryn_devsync',
u'aldryn_bootstrap3',
u'aldryn_common',
u'aldryn_disqus',
u'aldryn_apphooks_config',
u'aldryn_events',
u'aldryn_translation_tools',
u'appconf',
u'bootstrap3',
u'django_tablib',
u'extended_choices',
u'sortedm2m',
u'standard_form',
u'adminsortable2',
u'aldryn_faq',
u'aldryn_reversion',
u'taggit',
u'absolute',
u'aldryn_categories',
u'aldryn_jobs',
u'emailit',
u'aldryn_locations',
u'aldryn_newsblog',
u'aldryn_people',
u'aldryn_style',
u'djangocms_forms',
u'meta',
u'meta_mixin',
u'djangocms_page_meta']
Installed Middleware:
['django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'aldryn_sso.middleware.AccessControlMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.sites.middleware.CurrentSiteMiddleware',
'cms.middleware.utils.ApphookReloadMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cms.middleware.language.LanguageCookieMiddleware']
Template error:
In template /app/templates/base_root.html, error at line 33
Language not found: en
23 : {% render_block "css" %}
24 : <!--[if lt IE 9]>
25 : <script src="{% static 'js/libs/html5shiv.min.js' %}"></script>
26 : <script src="{% static 'js/libs/respond.min.js' %}"></script>
27 : <![endif]-->
28 : {% block extrahead %}{% endblock %}
29 : {{ ALDRYN_SNAKE.render_head }}
30 : </head>
31 : <body id="page-top" class="noscript lang-{{ LANGUAGE_CODE }} {% block body_class %}tpl-root{% endblock %}">
32 : {% include "includes/analytics.html" %}
33 : {% cms_toolbar %}
34 :
35 : {% block extend_root %}{% endblock %}
36 :
37 : <script src="{% static 'js/libs/jquery.min.js' %}"></script>
38 : <script src="{% static 'js/libs/bootstrap.min.js' %}"></script>
39 : <script src="{% static 'js/libs/class.min.js' %}"></script>
40 : <script src="{% static 'js/libs/outdatedBrowser.min.js' %}"></script>
41 : <script src="{% static 'js/addons/cl.utils.js' %}"></script>
42 : <script src="{% static 'js/base.js' %}"></script>
43 : {% render_block "js" %}
Traceback:
File "/virtualenv/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
164. response = response.render()
File "/virtualenv/lib/python2.7/site-packages/django/template/response.py" in render
158. self.content = self.rendered_content
File "/virtualenv/lib/python2.7/site-packages/django/template/response.py" in rendered_content
135. content = template.render(context, self._request)
File "/virtualenv/lib/python2.7/site-packages/django/template/backends/django.py" in render
74. return self.template.render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/base.py" in render
210. return self._render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/base.py" in _render
202. return self.nodelist.render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/base.py" in render
905. bit = self.render_node(node, context)
File "/virtualenv/lib/python2.7/site-packages/django/template/debug.py" in render_node
79. return node.render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/loader_tags.py" in render
135. return compiled_parent._render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/base.py" in _render
202. return self.nodelist.render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/base.py" in render
905. bit = self.render_node(node, context)
File "/virtualenv/lib/python2.7/site-packages/django/template/debug.py" in render_node
79. return node.render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/loader_tags.py" in render
135. return compiled_parent._render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/base.py" in _render
202. return self.nodelist.render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/base.py" in render
905. bit = self.render_node(node, context)
File "/virtualenv/lib/python2.7/site-packages/django/template/debug.py" in render_node
79. return node.render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/loader_tags.py" in render
135. return compiled_parent._render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/base.py" in _render
202. return self.nodelist.render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/base.py" in render
905. bit = self.render_node(node, context)
File "/virtualenv/lib/python2.7/site-packages/django/template/debug.py" in render_node
79. return node.render(context)
File "/virtualenv/lib/python2.7/site-packages/classytags/core.py" in render
138. return self.render_tag(context, **kwargs)
File "/virtualenv/lib/python2.7/site-packages/sekizai/templatetags/sekizai_tags.py" in render_tag
83. rendered_contents = nodelist.render(context)
File "/virtualenv/lib/python2.7/site-packages/django/template/base.py" in render
905. bit = self.render_node(node, context)
File "/virtualenv/lib/python2.7/site-packages/django/template/debug.py" in render_node
79. return node.render(context)
File "/virtualenv/lib/python2.7/site-packages/classytags/core.py" in render
138. return self.render_tag(context, **kwargs)
File "/virtualenv/lib/python2.7/site-packages/cms/templatetags/cms_tags.py" in render_tag
657. toolbar.populate()
File "/virtualenv/lib/python2.7/site-packages/cms/toolbar/toolbar.py" in populate
301. self._call_toolbar('populate')
File "/virtualenv/lib/python2.7/site-packages/cms/toolbar/toolbar.py" in _call_toolbar
357. result = getattr(toolbar, func_name)()
File "/virtualenv/lib/python2.7/site-packages/djangocms_page_meta/cms_toolbar.py" in populate
89. language = get_language_object(title.language)
File "/virtualenv/lib/python2.7/site-packages/cms/utils/i18n.py" in get_language_object
102. raise LanguageError('Language not found: %s' % language_code)
Exception Type: LanguageError at /de/
Exception Value: Language not found: en