Created
June 3, 2019 14:07
-
-
Save evildmp/298d19972411edc02ac14d1508da6de1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
Request Method: GET | |
Request URL: https://pycon-africa-stage.us.aldryn.io/admin/cms/page/add-plugin/?placeholder_id=46&plugin_type=IconPlugin&cms_path=/stashed-placeholders/&plugin_language=en | |
Django Version: 1.11.20 | |
Python Version: 3.6.3 | |
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', | |
'aldryn_sites', | |
'cms', | |
'aldryn_django_cms', | |
'menus', | |
'sekizai', | |
'treebeard', | |
'parler', | |
'aldryn_boilerplates', | |
'django.contrib.sitemaps', | |
'compressor', | |
'robots', | |
'captcha', | |
'django_select2', | |
'filer.contrib.django_cms', | |
'djangocms_icon', | |
'djangocms_link', | |
'djangocms_picture', | |
'djangocms_bootstrap4', | |
'djangocms_bootstrap4.contrib.bootstrap4_alerts', | |
'djangocms_bootstrap4.contrib.bootstrap4_badge', | |
'djangocms_bootstrap4.contrib.bootstrap4_card', | |
'djangocms_bootstrap4.contrib.bootstrap4_carousel', | |
'djangocms_bootstrap4.contrib.bootstrap4_collapse', | |
'djangocms_bootstrap4.contrib.bootstrap4_content', | |
'djangocms_bootstrap4.contrib.bootstrap4_grid', | |
'djangocms_bootstrap4.contrib.bootstrap4_jumbotron', | |
'djangocms_bootstrap4.contrib.bootstrap4_link', | |
'djangocms_bootstrap4.contrib.bootstrap4_listgroup', | |
'djangocms_bootstrap4.contrib.bootstrap4_media', | |
'djangocms_bootstrap4.contrib.bootstrap4_picture', | |
'djangocms_bootstrap4.contrib.bootstrap4_tabs', | |
'djangocms_bootstrap4.contrib.bootstrap4_utilities', | |
'djangocms_file', | |
'djangocms_googlemap', | |
'djangocms_history', | |
'djangocms_snippet', | |
'djangocms_style', | |
'djangocms_text_ckeditor', | |
'djangocms_transfer', | |
'djangocms_video', | |
'filer', | |
'easy_thumbnails', | |
'mptt', | |
'polymorphic'] | |
Installed Middleware: | |
['cms.middleware.utils.ApphookReloadMiddleware', | |
'django.middleware.gzip.GZipMiddleware', | |
'django.contrib.sessions.middleware.SessionMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'django.contrib.auth.middleware.AuthenticationMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware', | |
'aldryn_django.middleware.LanguagePrefixFallbackMiddleware', | |
'django.middleware.locale.LocaleMiddleware', | |
'django.contrib.sites.middleware.CurrentSiteMiddleware', | |
'aldryn_sites.middleware.SiteMiddleware', | |
'django.middleware.security.SecurityMiddleware', | |
'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/admin/djangocms_icon/widgets/icon.html, error at line 21 | |
Need 3 values to unpack in for loop; got 4. 11 : {% else %} | |
12 : <div class="icon js-icon js-icon-{{ name }} form-inline"> | |
13 : {# label "icon" relates to elements ID #} | |
14 : {% if not is_required %} | |
15 : <input id="id_{{ name }}" class="checkbox js-icon-enable{% if is_required %} hidden{% endif %}" name="icons-enabled-{{ name }}" type="checkbox"{% if value or is_required %} checked="checked"{% endif %}> | |
16 : {% endif %} | |
17 : | |
18 : <span class="icon-widgets js-icon-widgets{% if not is_required %} hidden{% endif %}"> | |
19 : <label> | |
20 : <select class="form-control js-iconset"> | |
21 : {% for iconpicker_iconset, prefix, verbose_name in iconsets %} | |
22 : <option value="{{ iconpicker_iconset }}" data-prefix="{{ prefix }}"{% if iconset == prefix %} selected="selected"{% endif %}>{{ verbose_name }}</option> | |
23 : {% endfor %} | |
24 : </select> | |
25 : </label> | |
26 : | |
27 : <label class="iconpicker iconpicker-wrapper js-icon-picker"> | |
28 : <button type="button" {% if is_required %} id="id_{{ name }}"{% endif %} | |
29 : name="{{ name }}" | |
30 : data-iconset="{{ iconset }}" | |
31 : data-icon="{{ value }}"> | |
Traceback: | |
File "/virtualenv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner | |
41. response = get_response(request) | |
File "/virtualenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response | |
249. response = self._get_response(request) | |
File "/virtualenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response | |
217. response = self.process_exception_by_middleware(e, request) | |
File "/virtualenv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response | |
215. response = response.render() | |
File "/virtualenv/lib/python3.6/site-packages/django/template/response.py" in render | |
107. self.content = self.rendered_content | |
File "/virtualenv/lib/python3.6/site-packages/django/template/response.py" in rendered_content | |
84. content = template.render(context, self._request) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/backends/django.py" in render | |
66. return self.template.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
207. return self._render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in _render | |
199. return self.nodelist.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
990. bit = node.render_annotated(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/loader_tags.py" in render | |
177. return compiled_parent._render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in _render | |
199. return self.nodelist.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
990. bit = node.render_annotated(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/loader_tags.py" in render | |
177. return compiled_parent._render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in _render | |
199. return self.nodelist.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
990. bit = node.render_annotated(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/loader_tags.py" in render | |
177. return compiled_parent._render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in _render | |
199. return self.nodelist.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
990. bit = node.render_annotated(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/loader_tags.py" in render | |
72. result = block.nodelist.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
990. bit = node.render_annotated(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/loader_tags.py" in render | |
72. result = block.nodelist.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
990. bit = node.render_annotated(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/defaulttags.py" in render | |
216. nodelist.append(node.render_annotated(context)) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/loader_tags.py" in render | |
216. return template.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
209. return self._render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in _render | |
199. return self.nodelist.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
990. bit = node.render_annotated(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/defaulttags.py" in render | |
216. nodelist.append(node.render_annotated(context)) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/defaulttags.py" in render | |
216. nodelist.append(node.render_annotated(context)) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/defaulttags.py" in render | |
322. return nodelist.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
990. bit = node.render_annotated(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/defaulttags.py" in render | |
322. return nodelist.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
990. bit = node.render_annotated(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
1046. return render_value_in_context(output, context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_value_in_context | |
1024. value = force_text(value) | |
File "/virtualenv/lib/python3.6/site-packages/django/utils/encoding.py" in force_text | |
76. s = six.text_type(s) | |
File "/virtualenv/lib/python3.6/site-packages/django/utils/html.py" in <lambda> | |
394. klass.__str__ = lambda self: mark_safe(klass_str(self)) | |
File "/virtualenv/lib/python3.6/site-packages/django/forms/boundfield.py" in __str__ | |
41. return self.as_widget() | |
File "/virtualenv/lib/python3.6/site-packages/django/forms/boundfield.py" in as_widget | |
127. **kwargs | |
File "/virtualenv/lib/python3.6/site-packages/djangocms_icon/fields.py" in render | |
66. 'iconsets': iconsets, | |
File "/virtualenv/lib/python3.6/site-packages/django/template/loader.py" in render_to_string | |
68. return template.render(context, request) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/backends/django.py" in render | |
66. return self.template.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
207. return self._render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in _render | |
199. return self.nodelist.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
990. bit = node.render_annotated(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/defaulttags.py" in render | |
322. return nodelist.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render | |
990. bit = node.render_annotated(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/base.py" in render_annotated | |
957. return self.render(context) | |
File "/virtualenv/lib/python3.6/site-packages/django/template/defaulttags.py" in render | |
207. .format(num_loopvars, len_item), | |
Exception Type: ValueError at /admin/cms/page/add-plugin/ | |
Exception Value: Need 3 values to unpack in for loop; got 4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment