[Mailman-Developers] Re: Error in `mailman-web conmpress`

2023-09-02 Thread Stephen J. Turnbull
Abhilash Raj writes:

 > Have they installed all the projects from source? I feel it might
 > be causing the issue if they are using the git head of Postorius
 > but not for django-mailman3.

That turned out to be the problem.

 > This was added recently in django-mailman3 and hasn't yet been
 > released, so using the released version can cause the above error.

I told Durlabh to use either the versions that Mr. Liu used last year
or the most recent released versions so he'd have a base we can expect
to work and play well together, but he was lazy and went ahead using
git HEAD of some of the packages on the argument that it makes syncing
to HEAD easier later. :-(

Steve

___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9


[Mailman-Developers] Re: Error in `mailman-web conmpress`

2023-08-29 Thread Abhilash Raj

On 8/29/23 14:58, Stephen J. Turnbull wrote:

Hi,

I'm seeing this in our GSOC student's build of the suite.  I don't yet
know if it's related to his changes, just wondering if anyone has seen
it or has any ideas how to resolve it:

% mailman-web compress --settings settings --pythonpath `pwd`/var/etc
Compressing... Invalid template postorius/user/address_preferences.html: 
Invalid filter: 'add_form_select'
Invalid template postorius/user/subscription_preferences.html: Invalid filter: 
'add_form_select'
Invalid template postorius/lists/header_matches.html: Invalid filter: 
'add_form_select'
done
Compressed 2 block(s) from 106 template(s) for 1 context(s).

`add_form_select` is not a standard Django template filter, it's
defined and registered in django-mailman3.


Have they installed all the projects from source? I feel it might be 
causing the issue if they are using the git head of Postorius but not 
for django-mailman3.


This was added recently in django-mailman3 and hasn't yet been released, 
so using the released version can cause the above error.



--
thanks,
Abhilash Raj (maxking)



OpenPGP_signature.asc
Description: OpenPGP digital signature
___
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9