On Wed, 9 Aug 2017 17:12:35 -0700 Erin Justice <galaxyjustice@gmail.com> wrote:
Hi all,
Another issue that's cropped up when I am trying to run Mailman 3 on apache. I've downloaded and installed Mailman core, Django, Postorius & Hyperkitty. I'm using the mailman-suite django project from https://gitlab.com/mailman/mailman-suite/tree/master <https://gitlab.com/mailman/mailman-suite/tree/master>. When I run the site using Django's development server everything works. However when I run the site from apache it's not finding sass.
Specifically I'm getting errors like: FilterError at /accounts/login/ /bin/sh: sass: command not found
I triple checked that sass is installed which sass /Applications/MAMP/Library/bin/sass
/Applications/MAMP/Library/bin/ is in $PATH when I checked that and I was thinking that it maybe wasn't getting to python properly. However pprint(sys.path) contains the same items whether I start the site from the dev server or apache.
You change the command to be executed when the compressor is called in your Django's configuration file which in your case should be at
mailman-suite/mailman-suite_project/settings.py
See here https://gitlab.com/mailman/mailman-suite/blob/master/mailman-suite_project/s...
Instead of just sass
or sassc
command, you can change that to reflect the
full path of the binary and it should work.
Hope that is helpful!
-- thanks, Abhilash Raj