Project

General

Profile

Actions

tickets #80900

open

hyperkitty.models.mailinglist.MailingList.DoesNotExist: MailingList matching query does not exist.

Added by pjessen over 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Mailing lists
Target version:
-
Start date:
2020-12-09
Due date:
% Done:

0%

Estimated time:

Description

On mailman3.i.o.o, /var/log/mailman/uwsgi-error.log is running over full of this:

09:10:28 [Q] INFO Process-1:1131 processing [rebuild_mailinglist_cache_for_month]
09:10:28 [Q] ERROR Failed [rebuild_mailinglist_cache_for_month] - MailingList matching query does not exist. : Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/django_q/cluster.py", line 421, in worker
res = f(*task["args"], **task["kwargs"])
File "/usr/lib/python3.6/site-packages/hyperkitty/tasks.py", line 79, in _rebuild_mailinglist_cache_for_month
mlist = MailingList.objects.get(name=mlist_name)
File "/usr/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/django/db/models/query.py", line 408, in get
self.model._meta.object_name
hyperkitty.models.mailinglist.MailingList.DoesNotExist: MailingList matching query does not exist.

Actions #2

Updated by hellcp about 3 years ago

This happens because we have archives without a mailing list behind it (since that was how it was on mlmmj setup in case of some archives)

Actions

Also available in: Atom PDF