3 Jan
2022
3 Jan
'22
5:32 p.m.
On 1/3/22 2:44 AM, Michael Heseltine wrote:
But that did not change anything, I still get the following error message when running "/opt/mailman/mm/bin/mailman-post-update" in the venv:
...
File "/opt/mailman/mm/venv/lib/python3.8/site-packages/compressor/conf.py", line 115, in configure_url if not value.endswith('/'): AttributeError: 'NoneType' object has no attribute 'endswith'
That code is
def configure_url(self, value):
# Uses Django's STATIC_URL by default
if value is None:
value = settings.STATIC_URL
if not value.endswith('/'):
raise ImproperlyConfigured("URL settings (e.g. COMPRESS_URL) "
"must have a trailing slash")
return value
which is basically saying you have no setting for STATIC_URL, but https://gitlab.com/mailman/mailman-suite/blob/master/mailman-suite_project/s... sets it, so I don't know what the issue is.
What does
grep STATIC /opt/mailman/mm/settings*
show?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan