On Sun, 24 Jan 2021 at 00:46, Mark Sapiro <mark@msapiro.net> wrote:
On 1/23/21 2:56 AM, Odhiambo Washington wrote:
I am getting this error after I did a git pull and build.
(venv) [mailman3@gw ~/git]$ /opt/mailman/mm/bin/mailman-post-update
- '[' False == False ']'
- mkdir -p /opt/mailman/mm/static
- /opt/mailman/mm/bin/django-admin collectstatic --clear --noinput --verbosity 0 +* /opt/mailman/mm/bin/django-admin compress* CommandError: An error occurred during rendering
/opt/mailman/mm/venv/lib/python3.7/site-packages/HyperKitty-1.3.4rc2-py3.7.egg/hyperkitty/templates/hyperkitty/404.html:
/usr/local/lib/ruby/site_ruby/2.7/rubygems/dependency.rb:311:in `to_specs': Could not find 'sass-listen' (~> 4.0.0) among 4 total gem(s) ...
Ruby-sass is no longer supported. Please see the Sass compiler section at <https://docs.mailman3.org/en/latest/install/virtualenv.html#dependencies
.
I uninstalled rubygem-sass from the OS. I don't remember consciously installing that because it was never in the guide I followed (which is your own writeup). But I still have a problem:
(venv) [mailman3@gw ~/mm]$ /opt/mailman/mm/bin/mailman-post-update pip3 install sass fails:
- '[' False == False ']'
- mkdir -p /opt/mailman/mm/static
- /opt/mailman/mm/bin/django-admin collectstatic --clear --noinput --verbosity 0
- /opt/mailman/mm/bin/django-admin compress CommandError: An error occurred during rendering /opt/mailman/mm/venv/lib/python3.7/site-packages/django_mailman3-1.3.5-py3.7.egg/django_mailman3/templates/socialaccount/signup.html: */bin/sh: sass: not found*
..... ERROR: Command errored out with exit status 1: /opt/mailman/mm/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vnlujru1/sass_15812b8baa1b405c8130edb21a4f4316/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vnlujru1/sass_15812b8baa1b405c8130edb21a4f4316/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_f8rgww1/install-record.txt --single-version-externally-managed --compile --install-headers /opt/mailman/mm/venv/include/site/python3.7/sass Check the logs for full command output.
The complete failure text is at https://pastebin.ubuntu.com/p/tsB2CCNrQG/
Maybe it's time to blow up everything in the virtualenv and start over because I am not sure what caused this.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)