Add Rich text page save error

Issue #24 new
Anonymous created an issue

Environment:

Request Method: POST Request URL: http://127.0.0.1:8000/admin/pages/richtextpage/add/?parent=2

Django Version: 1.8.9 Python Version: 2.7.6 Installed Applications: (u'mezzanine.boot', u'django.contrib.auth', u'django.contrib.contenttypes', u'django.contrib.redirects', u'django.contrib.sessions', u'django.contrib.sites', u'django.contrib.sitemaps', u'mezzanine.conf', u'mezzanine.core', u'mezzanine.generic', u'mezzanine.pages', u'mezzanine.blog', u'mezzanine.forms', u'mezzanine.galleries', u'mezzanine.twitter', u'mezzanine_pagedown', u'debug_toolbar', u'django_extensions', u'compressor', u'filebrowser_safe', u'grappelli_safe', u'django.contrib.admin', u'django.contrib.staticfiles', u'django_comments') Installed Middleware: (u'django.contrib.sessions.middleware.SessionMiddleware', u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware', u'django.contrib.auth.middleware.AuthenticationMiddleware', u'django.contrib.auth.middleware.SessionAuthenticationMiddleware', u'django.contrib.messages.middleware.MessageMiddleware', u'django.middleware.clickjacking.XFrameOptionsMiddleware', u'mezzanine.core.request.CurrentRequestMiddleware', u'mezzanine.core.middleware.RedirectFallbackMiddleware', u'mezzanine.core.middleware.TemplateForDeviceMiddleware', u'mezzanine.core.middleware.TemplateForHostMiddleware', u'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware', u'mezzanine.core.middleware.SitePermissionMiddleware', u'mezzanine.pages.middleware.PageMiddleware', u'debug_toolbar.middleware.DebugToolbarMiddleware')

Traceback: File "/home/mongo/python/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 132. response = wrapped_callback(request, callback_args, callback_kwargs) File "/home/mongo/python/lib/python2.7/site-packages/django/contrib/admin/options.py" in wrapper 618. return self.admin_site.admin_view(view)(*args, kwargs) File "/home/mongo/python/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view 110. response = view_func(request, args, kwargs) File "/home/mongo/python/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func 57. response = view_func(request, *args, kwargs) File "/home/mongo/python/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner 233. return view(request, args, kwargs) File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/pages/admin.py" in add_view 66. return super(PageAdmin, self).add_view(request, kwargs) File "/home/mongo/python/lib/python2.7/site-packages/django/contrib/admin/options.py" in add_view 1518. return self.changeform_view(request, None, form_url, extra_context) File "/home/mongo/python/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapper 34. return bound_func(args, kwargs) File "/home/mongo/python/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view 110. response = view_func(request, *args, kwargs) File "/home/mongo/python/lib/python2.7/site-packages/django/utils/decorators.py" in bound_func 30. return func.get(self, type(self))(args2, kwargs2) File "/home/mongo/python/lib/python2.7/site-packages/django/utils/decorators.py" in inner 145. return func(*args, kwargs) File "/home/mongo/python/lib/python2.7/site-packages/django/contrib/admin/options.py" in changeform_view 1469. self.save_model(request, new_object, form, not add) File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/pages/admin.py" in save_model 107. obj.save() File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/pages/models.py" in save 87. super(Page, self).save(args, kwargs) File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/core/models.py" in save 438. super(Orderable, self).save(*args, kwargs) File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/core/models.py" in save 253. super(Displayable, self).save(args, kwargs) File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/core/models.py" in save 86. super(Slugged, self).save(*args, kwargs) File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/core/models.py" in save 59. super(SiteRelated, self).save(args, **kwargs) File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/core/models.py" in save 142. self.description = strip_tags(self.description_from_content()) File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/pages/models.py" in description_from_content 99. return super(Page, self).description_from_content() File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/core/models.py" in description_from_content 168. description = richtext_filters(description) File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/core/templatetags/mezzanine_tags.py" in richtext_filters 472. filter_func = import_dotted_path(filter_name) File "/home/mongo/cms/local/lib/python2.7/site-packages/mezzanine/utils/importing.py" in import_dotted_path 26. raise ImportError("Could not import the name: %s: %s" % (path, e))

Exception Type: ImportError at /admin/pages/richtextpage/add/ Exception Value: Could not import the name: m: need more than 1 value to unpack

Comments (0)

  1. Log in to comment