On Sat, Oct 28, 2023 at 7:19 PM Mark Sapiro <mark@msapiro.net> wrote:
On 10/28/23 01:59, Odhiambo Washington wrote:
Running an install on Debian12 VM. Getting a new error message that I haven't seen previously:
(venv) mailman@debian12:~$ mailman-web compress Compressing... Invalid template socialaccount/login_cancelled.html: Invalid block tag on line 7: 'element', expected 'endblock'. Did you forget to register or load this tag? Invalid template account/verified_email_required.html: Invalid block tag on line 7: 'element', expected 'endblock'. Did you forget to register or load this tag?
These templates are part of django_allauth. What is your version of that? There are backwards incompatible changes in version 0.58. See
https://github.com/pennersr/django-allauth/blob/main/ChangeLog.rst#backwards...
(venv) mailman@debian12:~$ pip freeze | grep django-all django-allauth==0.58.0
If you have 0.58 try
pip install django_allauth\<0.58
>
After that, I end up with:
(venv) mailman@debian12:~$ pip freeze | grep django-all
django-allauth==0.57.0
And then `mailman-web compress` is happy.
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]