[Pkg-mailman-hackers] Bug#1062707: python3-django-hyperkitty: Cron errors with: allauth.account.middleware.AccountMiddleware must be added to settings.MIDDLEWARE
Colin Turner
ct at piglets.com
Fri Feb 2 20:04:47 GMT 2024
Package: python3-django-hyperkitty
Version: 1.3.7-1
Severity: normal
Dear Maintainer,
Thanks for your work on these packages. After upgrade I am now getting these errors once a minute:
django.core.exceptions.ImproperlyConfigured: allauth.account.middleware.AccountMiddleware must be added to settings.MIDDLEWARE
This seems to relate to a mismatch between the MIDDLEWARE configuration, and the version of python3-django-allauth - which I don't seem to be able to easily downgrade.
The proposed workaround - to add these lines - presumably to /etc/mailman3/mailman3-web.py
x = list(MIDDLEWARE)
x.insert(0, 'allauth.account.middleware.AccountMiddleware')
MIDDLEWARE = x
does not work, unfortunately.
I'm not sure is this affects all upgraded users, but for now the package isn't functional (internal server error).
Kind regards and thanks,
CT.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-security'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.4.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-django-hyperkitty depends on:
ii fonts-font-awesome 5.0.10+really4.7.0~dfsg-4.1
ii fonts-glyphicons-halflings 1.009~3.4.1+dfsg-3
ii libjs-bootstrap4 4.6.1+dfsg1-4
ii libjs-jquery 3.6.1+dfsg+~3.5.14-1
ii libjs-jquery-ui 1.13.2+dfsg-1
ii libjs-sphinxdoc 7.2.6-3
ii python3 3.11.6-1
ii python3-dateutil 2.8.2-3
ii python3-django 3:3.2.21-1
ii python3-django-compressor 4.0-4
ii python3-django-extensions 3.2.3-1
ii python3-django-gravatar2 1.4.4-4
ii python3-django-haystack 3.2.1-1
ii python3-django-mailman3 1.3.11-1
ii python3-django-q 1.6.1-1
ii python3-djangorestframework 3.14.0-2
ii python3-elasticsearch 7.17.6-1
ii python3-flufl.lock 5.0.1-5
ii python3-mailmanclient 3.3.5-1
ii python3-mistune 3.0.2-1
ii python3-networkx 2.8.8-1
ii python3-robot-detection 0.4.0-3
ii python3-tz 2023.3.post1-2
Versions of packages python3-django-hyperkitty recommends:
ii mailman3-web 0+20200530-2.1
python3-django-hyperkitty suggests no packages.
-- no debconf information
More information about the Pkg-mailman-hackers
mailing list