KeyError at /mailman3/accounts/per-subscription-preferences/

Bug #1444721 reported by Mark Sapiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Postorius
New
Undecided
Abhilash Raj

Bug Description

KeyError at /mailman3/accounts/per-subscription-preferences/

'delivery_status'

Request Method: POST
Request URL: http://msapiro.net:8000/mailman3/accounts/per-subscription-preferences/
Django Version: 1.7.7
Exception Type: KeyError
Exception Value:

'delivery_status'

Exception Location: /var/MM/postorius/src/postorius/views/user.py in post, line 157
Python Executable: /usr/bin/python
Python Version: 2.7.8
Python Path:

['/var/MM/mailman-bundler/eggs/Django-1.7.7-py2.7.egg',
 '/var/MM/postorius/src',
 '/var/MM/mailman-bundler/eggs/HyperKitty-0.9.7-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/Whoosh-2.6.0-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/djangorecipe-1.11-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/zc.recipe.egg-1.3.2-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/zc.buildout-2.3.1-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/numpy-1.9.2-py2.7-linux-x86_64.egg',
 '/var/MM/mailman-bundler/eggs/lockfile-0.10.2-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/django_extensions-1.5.2-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/django_haystack-2.3.1-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/enum34-1.0.4-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/networkx-1.9.1-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/python_dateutil-1.5-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/mailmanclient-1.0.0b2-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/django_browserid-0.11.1-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/django_compressor-1.4-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/django_paintstore-0.2-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/pytz-2015.2-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/robot_detection-0.3-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/cssmin-0.2.0-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/rjsmin-1.0.10-py2.7-linux-x86_64.egg',
 '/var/MM/mailman-bundler/eggs/django_crispy_forms-1.4.0-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/djangorestframework-3.1.1-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/python_social_auth-0.2.6-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/django_gravatar2-1.3.0-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/setuptools-15.1-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/six-1.9.0-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/decorator-3.4.2-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/httplib2-0.9.1-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/fancy_tag-0.2.0-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/requests-2.6.0-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/django_appconf-1.0.1-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/PyJWT-1.1.0-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/requests_oauthlib-0.4.2-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/oauthlib-0.7.2-py2.7.egg',
 '/var/MM/mailman-bundler/eggs/python_openid-2.2.5-py2.7.egg',
 '/var/MM/mailman-bundler',
 '/var/MM/mailman-bundler/bin',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/PILcompat',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/pymodules/python2.7',
 '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']

Server time: Wed, 15 Apr 2015 16:51:13 -0500

Traceback:

Environment:

Request Method: POST
Request URL: http://msapiro.net:8000/mailman3/accounts/per-subscription-preferences/

Django Version: 1.7.7
Python Version: 2.7.8
Installed Applications:
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'hyperkitty',
 'social.apps.django_app.default',
 'rest_framework',
 'django_gravatar',
 'crispy_forms',
 'paintstore',
 'compressor',
 'django_browserid',
 'haystack',
 'django_extensions',
 'postorius')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'hyperkitty.middleware.SSLRedirect',
 'hyperkitty.middleware.TimezoneMiddleware')

Traceback:
File "/var/MM/mailman-bundler/eggs/Django-1.7.7-py2.7.egg/django/core/handlers/base.py" in get_response
  111. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/MM/mailman-bundler/eggs/Django-1.7.7-py2.7.egg/django/views/generic/base.py" in view
  69. return self.dispatch(request, *args, **kwargs)
File "/var/MM/postorius/src/postorius/views/generic.py" in dispatch
  144. return super(MailmanUserView, self).dispatch(request, *args, **kwargs)
File "/var/MM/mailman-bundler/eggs/Django-1.7.7-py2.7.egg/django/views/generic/base.py" in dispatch
  87. return handler(request, *args, **kwargs)
File "/var/MM/mailman-bundler/eggs/Django-1.7.7-py2.7.egg/django/utils/decorators.py" in _wrapper
  29. return bound_func(*args, **kwargs)
File "/var/MM/mailman-bundler/eggs/Django-1.7.7-py2.7.egg/django/contrib/auth/decorators.py" in _wrapped_view
  21. return view_func(request, *args, **kwargs)
File "/var/MM/mailman-bundler/eggs/Django-1.7.7-py2.7.egg/django/utils/decorators.py" in bound_func
  25. return func.__get__(self, type(self))(*args2, **kwargs2)
File "/var/MM/postorius/src/postorius/views/user.py" in post
  157. preferences[key] = form.cleaned_data[key]

Exception Type: KeyError at /mailman3/accounts/per-subscription-preferences/
Exception Value: 'delivery_status'

Mark Sapiro (msapiro)
Changed in postorius:
assignee: nobody → Abhilash Raj (raj-abhilash1)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.