/bin/sh: sassc: command not found - Not sure on what I am missing?
FilterError at /hyperkitty/
/bin/sh: sassc: command not found
Request Method: GET Request URL: http://192.168.0.27:8000/hyperkitty/ Django Version: 2.2.12 Exception Type: FilterError Exception Value:
/bin/sh: sassc: command not found
Exception Location: /opt/mailman/venv-3.6/lib64/python3.6/site-packages/django_compressor-2.4-py3.6.egg/compressor/filters/base.py in input, line 206 Python Executable: /opt/mailman/venv-3.6/bin/python Python Version: 3.6.8
On 4/22/20 11:38 AM, Ralf Wiegand wrote:
/bin/sh: sassc: command not found - Not sure on what I am missing?
You currently have something like:
COMPRESS_PRECOMPILERS = ( ('text/x-scss', 'sassc -t compressed {infile} {outfile}'), ('text/x-sass', 'sassc -t compressed {infile} {outfile}'), )
in your settings.
Either install sassc or you can install ruby-sass and change the settings to
COMPRESS_PRECOMPILERS = ( ('text/x-scss', 'sass -t compressed {infile} {outfile}'), ('text/x-sass', 'sass -t compressed {infile} {outfile}'), )
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thank you Mark, where do I find this section of code?
On 4/22/20 2:56 PM, Mark Sapiro wrote:
On 4/22/20 11:38 AM, Ralf Wiegand wrote:
/bin/sh: sassc: command not found - Not sure on what I am missing?
You currently have something like:
COMPRESS_PRECOMPILERS = ( ('text/x-scss', 'sassc -t compressed {infile} {outfile}'), ('text/x-sass', 'sassc -t compressed {infile} {outfile}'), )
in your settings.
Either install sassc or you can install ruby-sass and change the settings to
COMPRESS_PRECOMPILERS = ( ('text/x-scss', 'sass -t compressed {infile} {outfile}'), ('text/x-sass', 'sass -t compressed {infile} {outfile}'), )
On 4/22/20 12:02 PM, Ralf Wiegand wrote:
Thank you Mark, where do I find this section of code?
In your Django settings often called settings.py and settings_local.py
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark -- option3 - pysassc? Any concerns/issues if we switched to pysassc? This seems work with latest release. Keeps the install python-centric, avoids syadmins/devops to maintain another package.
thoughts?
On 5/3/20 4:36 PM, sunil soprey wrote:
Mark -- option3 - pysassc? Any concerns/issues if we switched to pysassc? This seems work with latest release. Keeps the install python-centric, avoids syadmins/devops to maintain another package.
I think it's probably fine.
Since it's available on PyPi, we might consider adding it as a dependency for HyperKitty
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Mark Sapiro
-
Ralf Wiegand
-
sunil soprey