On Mon, Mar 2, 2026 at 10:38 PM Mark Sapiro <mark@msapiro.net> wrote:
On 3/2/26 11:03, Mark Sapiro wrote:
Are there
Exception in "hyperkitty" archivermessages in mailman.log, or if you have set a path: in the [logging.archiver] section of mailman.cfg, in that file?Actually, there won't be those messages. The code in question is < https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/handlers/decora...
The fact the ${hyperkitty_url} is replaced with an empty string indicates that line 79 does not raise an exception but rather sets archive_url to the empty string. This is the only way that the replacement dictionary would contain the key
hyperkitty_urland if it didn't contain that key, the resultant footer would contain literally${hyperkitty_url}You could try in
mailman shell$ mailman shell -l list.example.com Welcome to the GNU Mailman shell Use commit() to commit changes. Use abort() to discard changes since the last commit. Exit with ctrl+D does an implicit commit() but exit() does not. The variable 'm' is the list.example.com mailing list >>> from mailman.email.message import Message >>> msg = Message() >>> msg['Message-ID'] = '<xxx@example.com>' >>> for archiver in IListArchiverSet(m).archivers: ... if archiver.system_archiver.name == 'hyperkitty': ... print(f'URL: {archiver.system_archiver.permalink(m, msg)}') ...This should print something like
URL:
https://example.com/archives/list/list@example.com/message/FMB3KJSE74FUTZBVO...
Does it?
Here is the output:
(venv) mailman@eu:~$ mailman shell -l kictanet@lists.kictanet.or.ke
Welcome to the GNU Mailman shell
Use commit() to commit changes.
Use abort() to discard changes since the last commit.
Exit with ctrl+D does an implicit commit() but exit() does not.
The variable 'm' is the kictanet@lists.kictanet.or.ke mailing list
>>> from mailman.email.message import Message
>>> msg = Message()
>>> msg['Message-ID'] = '<xxx@example.com>'
>>> for archiver in IListArchiverSet(m).archivers:
... if archiver.system_archiver.name == 'hyperkitty':
... print(f'URL: {archiver.system_archiver.permalink(m, msg)}')
...
URL:
https://lists.kictanet.or.ke/archives/list/kictanet@lists.kictanet.or.ke/message/FMB3KJSE74FUTZBVOUKAHBKOSWZCEFUW/
>>>
-- 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]