[Mailman-Users] python error when try to save a setting

Thomas Stein himbeere at meine-oma.de
Mon May 4 09:54:45 CEST 2015


Hello.

When i try to save a setting

--schnipp--
Settings / Message Acceptance

Default action to take when a member posts to the list ---> Accept
--schnapp--

via pistorius i get:

UnboundLocalError at
/mailman3/lists/hoppla.domain/settings/message_acceptance

local variable 'HTTPError' referenced before assignment

Request Method: 	POST
Request URL:
http://127.0.0.1:8000/mailman3/lists/hoppla.misc.meine-oma.de/settings/message_acceptance
Django Version: 	1.7.8
Exception Type: 	UnboundLocalError
Exception Value: 	

local variable 'HTTPError' referenced before assignment

Exception Location:
/var/www/mailman/eggs/postorius-1.0.1-py2.7.egg/postorius/views/list.py
in list_settings, line 787
Python Executable: 	/var/www/mailman/venv/bin/python2.7
Python Version: 	2.7.9
Python Path: 	

['/var/www/mailman/eggs/Django-1.7.8-py2.7.egg',
 '/var/www/mailman/eggs/postorius-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/HyperKitty-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/Whoosh-2.7.0-py2.7.egg',
 '/var/www/mailman/eggs/mock-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/beautifulsoup4-4.3.2-py2.7.egg',
 '/var/www/mailman/eggs/djangorecipe-1.11-py2.7.egg',
 '/var/www/mailman/eggs/zc.recipe.egg-2.0.1-py2.7.egg',
 '/var/www/mailman/venv/lib/python2.7/site-packages',
 '/var/www/mailman/eggs/numpy-1.9.2-py2.7-linux-x86_64.egg',
 '/var/www/mailman/eggs/lockfile-0.10.2-py2.7.egg',
 '/var/www/mailman/eggs/django_extensions-1.5.2-py2.7.egg',
 '/var/www/mailman/eggs/django_haystack-2.3.1-py2.7.egg',
 '/var/www/mailman/eggs/enum34-1.0.4-py2.7.egg',
 '/var/www/mailman/eggs/networkx-1.9.1-py2.7.egg',
 '/var/www/mailman/eggs/python_dateutil-1.5-py2.7.egg',
 '/var/www/mailman/eggs/mailmanclient-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/django_browserid-1.0.0-py2.7.egg',
 '/var/www/mailman/eggs/django_compressor-1.5-py2.7.egg',
 '/var/www/mailman/eggs/django_paintstore-0.2-py2.7.egg',
 '/var/www/mailman/eggs/pytz-2015.2-py2.7.egg',
 '/var/www/mailman/eggs/robot_detection-0.3-py2.7.egg',
 '/var/www/mailman/eggs/cssmin-0.2.0-py2.7.egg',
 '/var/www/mailman/eggs/rjsmin-1.0.10-py2.7-linux-x86_64.egg',
 '/var/www/mailman/eggs/django_crispy_forms-1.4.0-py2.7.egg',
 '/var/www/mailman/eggs/djangorestframework-3.1.1-py2.7.egg',
 '/var/www/mailman/eggs/python_social_auth-0.2.7-py2.7.egg',
 '/var/www/mailman/eggs/django_gravatar2-1.3.0-py2.7.egg',
 '/var/www/mailman/eggs/six-1.9.0-py2.7.egg',
 '/var/www/mailman/eggs/decorator-3.4.2-py2.7.egg',
 '/var/www/mailman/eggs/httplib2-0.9.1-py2.7.egg',
 '/var/www/mailman/eggs/requests-2.6.2-py2.7.egg',
 '/var/www/mailman/eggs/django_appconf-1.0.1-py2.7.egg',
 '/var/www/mailman/eggs/PyJWT-1.1.0-py2.7.egg',
 '/var/www/mailman/eggs/requests_oauthlib-0.4.2-py2.7.egg',
 '/var/www/mailman/eggs/oauthlib-0.7.2-py2.7.egg',
 '/var/www/mailman/eggs/python_openid-2.2.5-py2.7.egg',
 '/var/www/mailman',
 '/var/www/mailman/bin',
 '/var/www/mailman/venv/lib64/python27.zip',
 '/var/www/mailman/venv/lib64/python2.7',
 '/var/www/mailman/venv/lib64/python2.7/plat-linux2',
 '/var/www/mailman/venv/lib64/python2.7/lib-tk',
 '/var/www/mailman/venv/lib64/python2.7/lib-old',
 '/var/www/mailman/venv/lib64/python2.7/lib-dynload',
 '/usr/lib64/python2.7',
 '/usr/lib/python2.7/plat-linux2']

How can i repair this?

Thanks and cheers
t.


More information about the Mailman-Users mailing list