Mailman3: HTTP-500, create_http_method_map(resource, None, None) ?
Hello List,
I was following the 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
On 12/18/2016 06:12 AM, Sim via Mailman-Users wrote:
Hello List,
I was following the mailman-bundler installation instructions.
This list is primarily for Mailman 2. Mailman 3 questions are better directed to mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users@mailman3.org/ or mailman-developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers.
The people most closely involved with Postorius don't follow this list.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Sim