MM3 - 3.3.10, Postorius 1.3.13.

After receiving the notification to attend to a moderation request:

```
At your convenience, visit

https://mm3-lists.kictanet.or.ke/mm/lists/kictanet.lists.kictanet.or.ke/held_messages
to approve or deny the request(s).
```
Upon visiting the link I ended up with a server error.

mailmanweb.log has the below to say:

```
[ERROR] [2024-10-10 12:29:15,905] [log] 809040 139858772735552 Internal
Server Error: /mm/lists/kictanet.lists.kictanet.or.ke/held_messages
Traceback (most recent call last):
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/defaulttags.py",
line 1026, in find_library
    return parser.libraries[name]
           ~~~~~~~~~~~~~~~~^^^^^^
KeyError: 'humanize'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/core/handlers/exception.py",
line 55, in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/core/handlers/base.py",
line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/contrib/auth/decorators.py",
line 23, in _wrapper_view
    return view_func(request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/postorius/auth/decorators.py",
line 63, in wrapper
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/postorius/views/list.py",
line 889, in list_moderation
    return render(request, 'postorius/lists/held_messages.html', context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/shortcuts.py",
line 24, in render
    content = loader.render_to_string(template_name, context, request,
using=using)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/loader.py",
line 61, in render_to_string
    template = get_template(template_name, using=using)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/loader.py",
line 15, in get_template
    return engine.get_template(template_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/backends/django.py",
line 33, in get_template
    return Template(self.engine.get_template(template_name), self)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/engine.py",
line 175, in get_template
    template, origin = self.find_template(template_name)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/engine.py",
line 157, in find_template
    template = loader.get_template(name, skip=skip)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/loaders/cached.py",
line 57, in get_template
    template = super().get_template(template_name, skip)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/loaders/base.py",
line 28, in get_template
    return Template(
           ^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/base.py",
line 154, in __init__
    self.nodelist = self.compile_nodelist()
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/base.py",
line 200, in compile_nodelist
    return parser.parse()
           ^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/base.py",
line 513, in parse
    raise self.error(token, e)
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/base.py",
line 511, in parse
    compiled_result = compile_func(self, token)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/loader_tags.py",
line 293, in do_extends
    nodelist = parser.parse()
               ^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/base.py",
line 513, in parse
    raise self.error(token, e)
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/base.py",
line 511, in parse
    compiled_result = compile_func(self, token)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/defaulttags.py",
line 1088, in load
    lib = find_library(parser, name)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/opt/mailman/mm/venv/lib/python3.11/site-packages/django/template/defaulttags.py",
line 1028, in find_library
    raise TemplateSyntaxError(
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
[WARNING] [2024-10-10 12:29:16,384] [log] 809040 139858704070336 Not Found:
/mc/compose
```

How to fix?



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/KOVP7DCBESJQOVQOCOAVVJZMYTOAFCG6/

This message sent to arch...@mail-archive.com

Reply via email to