jezdez/django_compressor — Issue #169: You have offline compression enabled but key is missing from offline manifest
Author: markstahler
Created: 2011-12-01 03:05:58+00:00
State: open

I am not sure what this issue is but I am using offline generation and this error occurs after using the compress management command and accessing the website. Should each of those css files have their own key?

My Settings:
COMPRESS_URL = STATIC_URL
COMPRESS_ROOT = STATIC_ROOT
COMPRESS_OFFLINE = True
COMPRESS_OFFLINE_MANIFEST = "manifest.json" # Is created in CACHE directory
COMPRESS_CSS_FILTERS = ['compressor.filters.css_default.CssAbsoluteFilter','compressor.filters.cssmin.CSSMinFilter']
COMPRESS_YUI_BINARY = os.path.join(PROJECT_ROOT, 'bin/yui.sh')
COMPRESS_JS_FILTERS = ['compressor.filters.closure.ClosureCompilerFilter']
COMPRESS_CLOSURE_COMPILER_BINARY = os.path.join(PROJECT_ROOT, 'bin/closure.sh')
COMPRESS_CLOSURE_COMPILER_ARGUMENTS = "--language_in=ECMASCRIPT5"
#COMPRESS_STORAGE = 'compressor.storage.GzipCompressorFileStorage' # DOES NOT WORK WTF

You have offline compression enabled but key "b68ba4d2116295c56138e439f1b03a03" is missing from offline manifest. You may need to run "python manage.py compress".

Request Method:	GET
Request URL:	http://127.0.0.1:8000/
Django Version:	1.3.1
Exception Type:	OfflineGenerationError
Exception Value:
You have offline compression enabled but key "b68ba4d2116295c56138e439f1b03a03" is missing from offline manifest. You may need to run "python manage.py compress".
Exception Location:	/srv/www/project/lib/python2.6/site-packages/compressor/templatetags/compress.py in render_offline, line 56

Variable	Value
forced
False
self

compressor

key
'b68ba4d2116295c56138e439f1b03a03'
offline_manifest
{u'32e9172ad82f3b6d238cc7423a7f10c7': u'',
u'b1bd8f68f96dfa53380b10881f8eb691': u'',
u'c6d6d2948d18188277e7a987c71e2bc3': u'',
u'dbe0b22545cd64193d8a875c3226b1ea': u''}