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_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'] = '<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?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan