Wednesday, July 26, 2017

Django-cms KeyError at /en/cms_wizard/create/

Hi, I'm getting this error when i try to create a new page. here's the traceback.. any ideas on how to fix this?

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/en/cms_wizard/create/?language=en

Django Version: 1.11.3
Python Version: 3.6.0
Installed Applications:
('djangocms_admin_style',
 'django.contrib.auth',
 'django.contrib.contenttypes'
,
 'django.contrib.sessions',
 'django.contrib.admin',
 'django.contrib.sites',
 'django.contrib.sitemaps',
 'django.contrib.staticfiles',
 'django.contrib.messages',
 'cms',
 'menus',
 'sekizai',
 'treebeard',
 'djangocms_text_ckeditor',
 'filer',
 'easy_thumbnails',
 'djangocms_column',
 'djangocms_link',
 'cmsplugin_filer_file',
 'cmsplugin_filer_folder',
 'cmsplugin_filer_image',
 'cmsplugin_filer_utils',
 'djangocms_style',
 'djangocms_snippet',
 'djangocms_googlemap',
 'djangocms_video',
 'mysite')
Installed Middleware:
('cms.middleware.utils.ApphookReloadMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 '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 C:\Users\Alexander\Desktop\v1\lib\site-packages\django\contrib\admin\templates\admin\base.html, error at line 0
      1 : {% load i18n static %}<!DOCTYPE html>
   2 : {% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
   3 : <html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
   4 : <head>
   5 : <title>{% block title %}{% endblock %}</title>
   6 : <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% static "admin/css/base.css" %}{% endblock %}" />
   7 : {% block extrastyle %}{% endblock %}
   8 : {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}" />{% endif %}
   9 : {% block extrahead %}{% endblock %}
   10 : {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}


Traceback:

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\core\handlers\exception.py" in inner
  41.             response = get_response(request)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\core\handlers\base.py" in _legacy_get_response
  249.             response = self._get_response(request)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\core\handlers\base.py" in _get_response
  217.                 response = self.process_exception_by_middleware(e, request)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\core\handlers\base.py" in _get_response
  215.                 response = response.render()

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\response.py" in render
  107.             self.content = self.rendered_content

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\response.py" in rendered_content
  84.         content = template.render(context, self._request)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\backends\django.py" in render
  66.             return self.template.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render
  207.                     return self._render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in _render
  199.         return self.nodelist.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render
  990.                 bit = node.render_annotated(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render_annotated
  957.             return self.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\loader_tags.py" in render
  177.             return compiled_parent._render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in _render
  199.         return self.nodelist.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render
  990.                 bit = node.render_annotated(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render_annotated
  957.             return self.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\loader_tags.py" in render
  177.             return compiled_parent._render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in _render
  199.         return self.nodelist.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render
  990.                 bit = node.render_annotated(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render_annotated
  957.             return self.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\loader_tags.py" in render
  177.             return compiled_parent._render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in _render
  199.         return self.nodelist.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render
  990.                 bit = node.render_annotated(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render_annotated
  957.             return self.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\loader_tags.py" in render
  72.                 result = block.nodelist.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render
  990.                 bit = node.render_annotated(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render_annotated
  957.             return self.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\loader_tags.py" in render
  72.                 result = block.nodelist.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render
  990.                 bit = node.render_annotated(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render_annotated
  957.             return self.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\defaulttags.py" in render
  216.                     nodelist.append(node.render_annotated(context))

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" in render_annotated
  957.             return self.render(context)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\classytags\core.py" in render
  153.         return self.render_tag(context, **kwargs)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\classytags\helpers.py" in render_tag
  37.             value = self.get_value_for_context(context, **kwargs)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\classytags\helpers.py" in get_value_for_context
  52.         return self.get_value(context, **kwargs)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\cms\templatetags\cms_wizard_tags.py" in get_value
  31.             wizard = wizard_pool.get_entry(wizard_id)

File "C:\Users\Alexander\Desktop\v1\lib\site-packages\cms\wizards\wizard_pool.py" in get_entry
  109.         return self._entries[entry]

Exception Type: KeyError at /en/cms_wizard/create/
Exception Value: ''

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f77e64a6-84be-4ee2-bc7e-7fc895d41743%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment