[Mailman-Users] Mailman3: HTTP-500, create_http_method_map(resource, None, None) ?

Sim sim at simonliebold.de
Sun Dec 18 09:12:39 EST 2016


Hello List,

I was following the
[mailman-bundler](https://gitlab.com/mailman/mailman-bundler/)
installation instructions. After starting Django for the first time
(before changes to the Postfix configuration and without any
pre-existing lists) I received an HTTP-500 from
http://127.0.0.1:8000/mailman3.

Traceback (most recent call last):
  File "/usr/lib/python3.4/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
  File
"/opt/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/database/transaction.py",
line 57, in wrapper
    rtn = function(*args, **kws)
  File
"/opt/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/rest/wsgiapp.py",
line 65, in __call__
    environ, start_response)
  File
"/opt/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/falcon/api.py",
line 180, in __call__
    responder, params, resource = self._get_responder(req)
  File
"/opt/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/rest/wsgiapp.py",
line 135, in _get_responder
    method_map = create_http_method_map(resource, None, None)
TypeError: create_http_method_map() takes 1 positional argument but 3
were given
ERROR Internal Server Error: /mailman3/


To make it work I changed In file
venv-3.4/lib/python3.4/site-packages/mailman/rest/wsgiapp.py:

method_map = create_http_method_map(resource, None, None)
into
method_map = create_http_method_map(resource)


Is this a bug or should I have created an initial list from the command
line (similar to Mailman 2) before accessing this page?

Simon


More information about the Mailman-Users mailing list