{"action":"created","issue":{"url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/397","labels_url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/397/comments","events_url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/397/events","html_url":"https://github.com/FinalsClub/karmaworld/issues/397","id":57706817,"number":397,"title":"django compress: is it doing anything?","user":{"login":"btbonval","id":880439,"avatar_url":"https://avatars.githubusercontent.com/u/880439?v=3","gravatar_id":"","url":"https://api.github.com/users/btbonval","html_url":"https://github.com/btbonval","followers_url":"https://api.github.com/users/btbonval/followers","following_url":"https://api.github.com/users/btbonval/following{/other_user}","gists_url":"https://api.github.com/users/btbonval/gists{/gist_id}","starred_url":"https://api.github.com/users/btbonval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btbonval/subscriptions","organizations_url":"https://api.github.com/users/btbonval/orgs","repos_url":"https://api.github.com/users/btbonval/repos","events_url":"https://api.github.com/users/btbonval/events{/privacy}","received_events_url":"https://api.github.com/users/btbonval/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FinalsClub/karmaworld/labels/DevOps","name":"DevOps","color":"02e10c"},{"url":"https://api.github.com/repos/FinalsClub/karmaworld/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/FinalsClub/karmaworld/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-14T21:16:58Z","updated_at":"2015-02-15T20:50:02Z","closed_at":null,"body":"While running a local VM, I got an error about some compress key missing and that I needed to run `manage.py compress`. This is a new issue, but it looks like compress has been around for some time.\r\n\r\nThe error might have been because I was running a database dumped from the beta system, but that assumes `compress` uses the database to store stateful information.\r\n\r\nIt sounds like compress is used to glob together js and css files in a tight format. That's great! But I've never run it manually before.\r\n\r\n- [x] Does it run automatically?\r\n- [x] Does it integrate with `collectstatic` so that compressed static files are actually uploaded?\r\n- [x] Does it integrate with `collectstatic` so that uncompressed static files are not actually uploaded?\r\n- [x] Are there any uncompressed files which ought to be compressed?"},"comment":{"url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/comments/74436181","html_url":"https://github.com/FinalsClub/karmaworld/issues/397#issuecomment-74436181","issue_url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/397","id":74436181,"user":{"login":"btbonval","id":880439,"avatar_url":"https://avatars.githubusercontent.com/u/880439?v=3","gravatar_id":"","url":"https://api.github.com/users/btbonval","html_url":"https://github.com/btbonval","followers_url":"https://api.github.com/users/btbonval/followers","following_url":"https://api.github.com/users/btbonval/following{/other_user}","gists_url":"https://api.github.com/users/btbonval/gists{/gist_id}","starred_url":"https://api.github.com/users/btbonval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btbonval/subscriptions","organizations_url":"https://api.github.com/users/btbonval/orgs","repos_url":"https://api.github.com/users/btbonval/repos","events_url":"https://api.github.com/users/btbonval/events{/privacy}","received_events_url":"https://api.github.com/users/btbonval/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T20:50:02Z","updated_at":"2015-02-15T20:50:02Z","body":"I only installed `memcached-dev` but forgot `memcached`. It's now installed and running, but the error persists.\r\n```\r\n20:46:52 web.1  | Internal Server Error: /note/harvard/cs-50-114/1st-lecture\r\n20:46:52 web.1  | Traceback (most recent call last):\r\n20:46:52 web.1  |   File \"/home/vagrant/karmanotes-web/local/lib/python2.7/site-packages/django/core/handlers/base.py\", line 138, in get_response\r\n...\r\n20:46:52 web.1  |   File \"/home/vagrant/karmanotes-web/local/lib/python2.7/site-packages/django/template/base.py\", line 844, in render_node\r\n20:46:52 web.1  |     return node.render(context)\r\n20:46:52 web.1  |   File \"/home/vagrant/karmanotes-web/local/lib/python2.7/site-packages/compressor/templatetags/compress.py\", line 147, in render\r\n20:46:52 web.1  |     return self.render_compressed(context, self.kind, self.mode, forced=forced)\r\n20:46:52 web.1  |   File \"/home/vagrant/karmanotes-web/local/lib/python2.7/site-packages/compressor/templatetags/compress.py\", line 88, in render_compressed\r\n20:46:52 web.1  |     cached_offline = self.render_offline(context, forced=forced)\r\n20:46:52 web.1  |   File \"/home/vagrant/karmanotes-web/local/lib/python2.7/site-packages/compressor/templatetags/compress.py\", line 72, in render_offline\r\n20:46:52 web.1  |     'You may need to run \"python manage.py compress\".' % key)\r\n20:46:52 web.1  | OfflineGenerationError: You have offline compression enabled but key \"95213aa91f496f23f83a46b52e763231\" is missing from offline manifest. You may need to run \"python manage.py compress\".\r\n20:46:52 web.1  | ERROR:django.request:Internal Server Error: /note/harvard/cs-50-114/1st-lecture\r\n```\r\n\r\nI have run `python manage.py compress` at least 12 times now. I'd love to know why that key in particular is being sought. I can't find that key mentioned on the file system and I don't see any obvious place for it to be stored in the database."}}