Am 17.01.2022 um 00:19 schrieb Mark Sapiro <mark@msapiro.net>:
On 1/16/22 10:24 AM, Axel Rau wrote:
ModuleNotFoundError: No module named 'mailman3hyperkitty'
This comes from mailman.cfg from the class: definition in the [archiver.hyperkitty] section you probable have something like
class: mailman3hyperkitty.Archiver
instead of
class: mailman_hyperkitty.Archiver
Correcting this, does not stop server errors.
While selecting a list in the browser, I’m getting:
Traceback (most recent call last): File "/usr/local/py_venv/mailman_33/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/local/py_venv/mailman_33/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/py_venv/mailman_33/lib/python3.9/site-packages/postorius/views/generic.py", line 74, in dispatch return super(MailingListView, self).dispatch(request, *args, **kwargs) File "/usr/local/py_venv/mailman_33/lib/python3.9/site-packages/django/views/generic/base.py", line 98, in dispatch return handler(request, *args, **kwargs) File "/usr/local/py_venv/mailman_33/lib/python3.9/site-packages/postorius/views/list.py", line 290, in get 'hyperkitty' in archivers and # noqa: W504 File "/usr/local/py_venv/mailman_33/lib/python3.9/_collections_abc.py", line 769, in __contains__ self[key] File "/usr/local/py_venv/mailman_33/lib/python3.9/site-packages/mailmanclient/restbase/base.py", line 146, in __getitem__ return self._get(key) File "/usr/local/py_venv/mailman_33/lib/python3.9/site-packages/mailmanclient/restbase/base.py", line 88, in _get return self.rest_data[key] File "/usr/local/py_venv/mailman_33/lib/python3.9/site-packages/mailmanclient/restbase/base.py", line 74, in rest_data response, content = self._connection.call(self._url) File "/usr/local/py_venv/mailman_33/lib/python3.9/site-packages/mailmanclient/restbase/connection.py", line 160, in call raise HTTPError(params.get('url'), response.status_code, urllib.error.HTTPError: HTTP Error 500: {"title": "500 Internal Server Error"} ERROR Un-handled exception: HTTP Error 500: {"title": "500 Internal Server Error"}
Question: Am I missing aliases in my nginx.conf? I just have:
location / {
uwsgi_pass unix:///tmp/uwsgi.sock;
include /usr/local/etc/nginx/uwsgi_params;
}
location /static {
alias /usr/local/mailman3/static;
}
location /static/favicon.ico {
alias /usr/local/mailman3/static/postorius/img/favicon.ico;
}
Any help appreciated, Axel
PGP-Key: CDE74120 ☀ computing @ chaos claudius
Mailman's content filtering has removed the following MIME parts from this message.
Replaced multipart/alternative part with first alternative.