Greetings,
I have an active list for which I am trying to debug some deliverability issues. When a user tells me that folks aren't getting their postings, I check the archives first. In this case, I am getting a traceback saying "thread matching query does not exist" when I try to go to the HyperKitty page for the list. How can I debug this?
I am using Mailman 3 via the Docker containers documented here: https://asynchronous.in/docker-mailman/
The container versions appear to be 0.1.
--cro
On 08/30/2017 07:42 AM, C. R. Oldham wrote:
I have an active list for which I am trying to debug some deliverability issues. When a user tells me that folks aren't getting their postings, I check the archives first. In this case, I am getting a traceback saying "thread matching query does not exist" when I try to go to the HyperKitty page for the list. How can I debug this?
Start by posting the traceback, and we may be able to help.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Start by posting the traceback...
Apologies...I know better. :-D
Environment:
Request Method: GET Request URL: https://listsredacted.invalid/hyperkitty/list/my-redacted-list@listsredacted...
Django Version: 1.10 Python Version: 2.7.13 Installed Applications: ('hyperkitty', 'postorius', 'django_mailman3', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'rest_framework', 'django_gravatar', 'paintstore', 'compressor', 'haystack', 'django_extensions', 'django_q', 'allauth', 'allauth.account', 'allauth.socialaccount', 'django_mailman3.lib.auth.fedora', 'allauth.socialaccount.providers.openid', 'allauth.socialaccount.providers.github', 'allauth.socialaccount.providers.gitlab', 'allauth.socialaccount.providers.google') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django_mailman3.middleware.TimezoneMiddleware', 'postorius.middleware.PostoriusMiddleware')
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner 39. response = get_response(request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response 249. response = self._get_response(request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response 187. response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response 185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/site-packages/hyperkitty/lib/view_helpers.py" in inner 136. return func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/hyperkitty/views/mlist.py" in overview 128. threads = mlist.recent_threads
File "/usr/local/lib/python2.7/site-packages/hyperkitty/models/mailinglist.py" in recent_threads 133. return self.cached_values"recent_threads"
File "/usr/local/lib/python2.7/site-packages/hyperkitty/models/common.py" in __call__ 61. return self.get_or_set(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/hyperkitty/models/mailinglist.py" in get_or_set 271. return [Thread.objects.get(pk=pk) for pk in thread_ids]
File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py" in manager_method 85. return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in get 385. self.model._meta.object_name
Exception Type: DoesNotExist at /hyperkitty/list/my-redacted-list@listsredacted.invalid/ Exception Value: Thread matching query does not exist.
Cro,
Did you eventually figure out what was causing this error? I noticed it a short while ago: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/... but haven't found a solution/explanation.
Simon
participants (3)
-
C. R. Oldham
-
Mark Sapiro
-
Simon Liebold