On 3/2/26 11:03, Mark Sapiro wrote:
Are there `Exception in "hyperkitty" archiver` messages 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/decorate.py?ref_type=heads#L74-L86>
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_url` and 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'] = '<[email protected]>'
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/[email protected]/message/FMB3KJSE74FUTZBVOUKAHBKOSWZCEFUW/
Does it?
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/[email protected]/message/Q34VNPJ5DMPMGVBK24PURBLG4L4R7TP3/
This message sent to [email protected]