tickets #80900
openhyperkitty.models.mailinglist.MailingList.DoesNotExist: MailingList matching query does not exist.
0%
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.
Updated by pjessen over 3 years ago
- Private changed from Yes to No
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)