[Bug 1446711] [NEW] Postorius crashes on saving "Message Acceptance" settings.

Dmitry averkiev.d at gmail.com
Tue Apr 21 16:54:00 CEST 2015


Public bug reported:

Hello.
I just installed maiman-bundler according to http://mailman-bundler.readthedocs.org/en/latest/ .
When I trying to save settings at Lists -> "listname" -> Settings -> Message Acceptance, I got 500 Internal Server Error with such traceback:

ERROR 2015-04-21 09:23:53,854 base 19674 -1217132864 Internal Server Error: /mailman3/lists/brian.lists.cloud-groups.com/settings/message_acceptance
Traceback (most recent call last):
  File "/home/mailman/mailman-bundler/eggs/Django-1.7.7-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/mailman/mailman-bundler/eggs/postorius-1.0.0-py2.7.egg/postorius/auth/decorators.py", line 58, in wrapper
    return fn(*args, **kwargs)
  File "/home/mailman/mailman-bundler/eggs/postorius-1.0.0-py2.7.egg/postorius/views/list.py", line 787, in list_settings
    except HTTPError as e:
UnboundLocalError: local variable 'HTTPError' referenced before assignment
ERROR 2015-04-21 09:23:53,854 base 19674 -1217132864 Internal Server Error: /mailman3/lists/brian.lists.cloud-groups.com/settings/message_acceptance
Traceback (most recent call last):
  File "/home/mailman/mailman-bundler/eggs/Django-1.7.7-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/mailman/mailman-bundler/eggs/postorius-1.0.0-py2.7.egg/postorius/auth/decorators.py", line 58, in wrapper
    return fn(*args, **kwargs)
  File "/home/mailman/mailman-bundler/eggs/postorius-1.0.0-py2.7.egg/postorius/views/list.py", line 787, in list_settings
    except HTTPError as e:
UnboundLocalError: local variable 'HTTPError' referenced before assignment
ERROR 2015-04-21 09:23:53,854 base 19674 -1217132864 Internal Server Error: /mailman3/lists/brian.lists.cloud-groups.com/settings/message_acceptance
Traceback (most recent call last):
  File "/home/mailman/mailman-bundler/eggs/Django-1.7.7-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/mailman/mailman-bundler/eggs/postorius-1.0.0-py2.7.egg/postorius/auth/decorators.py", line 58, in wrapper
    return fn(*args, **kwargs)
  File "/home/mailman/mailman-bundler/eggs/postorius-1.0.0-py2.7.egg/postorius/views/list.py", line 787, in list_settings
    except HTTPError as e:
UnboundLocalError: local variable 'HTTPError' referenced before assignment

After reloading page I see that settings are saved.

OS Vession: CentOS 6.5
Python versions (built from sources): 2.7.9 and 3.4.3

** Affects: mailman-bundler
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman suite bundler.
https://bugs.launchpad.net/bugs/1446711

Title:
  Postorius crashes on saving "Message Acceptance" settings.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman-bundler/+bug/1446711/+subscriptions


More information about the Mailman-coders mailing list