On Sat, May 15, 2021 at 1:08 AM Mark Sapiro <mark@msapiro.net> wrote:
On 5/14/21 3:00 PM, Odhiambo Washington wrote:
On Sat, May 15, 2021 at 12:47 AM Mark Sapiro <mark@msapiro.net> wrote:
Those are headers for compiling some sass. Possibly you actually have a
sassc
installed in which case you may needCOMPRESS_PRECOMPILERS = ( ('text/x-scss', 'sassc -t compressed {infile} {outfile}'), ('text/x-sass', 'sassc -t compressed {infile} {outfile}'), )
This change makes the error I was getting to go away. However, I cannot login to manage lists, even after restarting mailman.
The error details are here: https://pastebin.ubuntu.com/p/vM2c5WYyJ4/
The relevant part of which is
OfflineGenerationError at /accounts/login/ You have offline compression enabled but key "fa788b08b65fd318d68cfc5afebc18acd3e93cebffadb54d863572ad1754f368" is missing from offline manifest. You may need to run "python manage.py compress". Here is the original content:
I.e., something went wrong with your compress command. Try it again.
I have successfully run the following commands:
/opt/mailman/mm/bin/django-admin collectstatic --clear --noinput --verbosity 0 /opt/mailman/mm/bin/django-admin compress /opt/mailman/mm/bin/django-admin compilemessages /opt/mailman/mm/bin/django-admin migrate
But the error at https://pastebin.ubuntu.com/p/vM2c5WYyJ4/ persists.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v "^$|^.*#" :-)