[Pkg-mailman-hackers] Bug#1116708: django.template.exceptions.TemplateSyntaxError: 'humanize' is not a registered tag library
Pirate Praveen
praveen at debian.org
Tue Sep 30 14:29:24 BST 2025
Package: mailman3-web
Version: 0+20240312-1
Severity: grave
Justification: breaks ability to moderate messages, which is a core functionality
X-Debbugs-Cc: praveen at debian.org
Control: tags -1 trixie
Dear Maintainer,
held_messages page gave the following error
Server error
An error occurred while processing your request.
In /var/log/mailman3/web/mailman-web.log,
ERROR 2025-09-30 13:03:42,788 1250 django.request Internal Server Error: /posto
rius/lists/pureos-changes.lists.puri.sm/held_messages
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 10
26, in find_library
return parser.libraries[name]
~~~~~~~~~~~~~~~~^^^^^^
KeyError: 'humanize'
....
django.template.exceptions.TemplateSyntaxError: 'humanize' is not a registered
tag library. Must be one of:
account
admin_list
admin_modify
admin_urls
allauth
bootstrap_tags
cache
compress
d_gravatar
date_helpers
debugger_tags
decorate
gravatar
highlight
highlighting
hk_generic
hk_haystack
i18n
indent_text
l10n
log
markdown
membership_helpers
more_like_this
nav_helpers
p_gravatar
pagination
postorius_helpers
rest_framework
socialaccount
static
syntax_color
tz
widont
As suggested in
https://stackoverflow.com/questions/9538588/templatesyntaxerror-humanize-is-
not-a-valid-tag-library-in-django#comment140723803_9538739
Adding django.contrib.humanize to INSTALLED_APPS in /etc/mailman3/mailman-
web.py fixed this error.
Since this is affecting a core feature, I think this should be fixed in trixie
as well.
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.16.8+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mailman3-web depends on:
pn dbconfig-sqlite3 | dbconfig-pgsql | dbconfig-mysql | dbconfig- <none>
no-thanks
ii debconf [debconf-2.0] 1.5.91
ii init-system-helpers 1.69
ii python3 3.13.7-1
pn python3-django-hyperkitty <none>
pn python3-django-postorius <none>
ii python3-psycopg2 2.9.10-1+b1
pn python3-whoosh <none>
ii ucf 3.0052
pn uwsgi-core <none>
pn uwsgi-plugin-python3 <none>
Versions of packages mailman3-web recommends:
pn libapache2-mod-proxy-uwsgi | nginx <none>
Versions of packages mailman3-web suggests:
pn postgresql | default-mysql-server | virtual-mysql-server <none>
More information about the Pkg-mailman-hackers
mailing list