django-compressor-toolkit
django-compressor-toolkit copied to clipboard
TypeError: source_comments must be bool, not 'True'
After install on Django Compressor Toolkit:
If run with COMPRESS_ENABLED = False Debug = True Compress_offline = False : The Traceback error:
File "/opt/miniconda3/envs/myEnv/lib/python3.8/site-packages/sass.py", line 609, in compile raise TypeError( TypeError: source_comments must be bool, not 'True'
if i have COMPRESS_ENABLED = "True" Debug = True Compress_offline = True i get:
Request Method: | GET |
---|---|
http://127.0.0.1:8000/ | |
3.1 | |
OfflineGenerationError | |
You have offline compression enabled but key "043d76da398044230a6ae8b256404e2449ec2e0423764cae77709d98fd70515a" is missing from offline manifest. You may need to run "python manage.py compress". Here is the original content: |
<link rel="stylesheet" type="text/x-scss" href="https://d1...g9us.cloudfront.net/css/main.scss"> <link rel="stylesheet" type="text/less" href="https://d.....us.cloudfront.net/css/select2.min.css"> <link rel="stylesheet" type="text/css" href="https://d1a-..9us.cloudfront.net/css/jquery-ui.css"> <link rel="stylesheet" type="text/css" href="https://d1axca..us.cloudfront.net/css/introjs.css"> <link rel="stylesheet" type="text/css" href="https://d1a..us.cloudfront.net/css/jquery-ui-slider-pips.css"> <link rel="stylesheet" type="text/css" href="https://d1a....us.cloudfront.netif i run the python mangae.py compress atheres some tag errors its says no registered or loading. I like to establish a connection with you prior.
can anyone recommend?
This was an issue for me when I had
DEBUG = "True"
set as a string.