On Fri, May 19, 2023 at 4:50 PM Anke Visser <[email protected]> wrote: > TracAccountManager works fine with htpasswd, but if I enable the > TracDirectoryAuth plugin, trac shows an internal error: "TemplateNotFound: > account_login.html". This seems to happen in acct_mgr/web_ui.py, after > calling "return 'account_login.html'" (but it's not part of the stack trace). > I think that the error message is misleading because the template > "account_login.html" exists and can be used in other situations. But it's the > only error message, that is shown in the log. Do you have any idea what may > have caused this error or how to search for it? > I'm using the trunk version of both plugins, but I had to modify > TracDirectoryAuth because of the python/trac API changes.
It seems that your installation of TracAccountManager is broken. Check account_login.html file is correctly installed. $ pip show -f TracAccountManager | grep -F account_login.html acct_mgr/templates/genshi/account_login.html acct_mgr/templates/jinja2/account_login.html -- Jun Omae <[email protected]> (大前 潤) -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEVLMaibuL5TzgrRnaN2BPQ1ucy23gMJ3QBwntgg%3D-qRiqyi0g%40mail.gmail.com.
