{"comment":{"created_at":"2011-10-10T13:49:09Z","body":"+1\r\n\r\ndjango-compressor 1.1\r\nDjango 1.3.1\r\nosx","updated_at":"2011-10-10T13:49:09Z","url":"https://api.github.com/repos/jezdez/django_compressor/issues/comments/2347530","id":2347530,"user":{"avatar_url":"https://secure.gravatar.com/avatar/b96b85956f77049965e50714e6e87f77?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/vad","id":29362,"login":"vad"}},"action":"created","issue":{"number":131,"created_at":"2011-10-07T23:45:25Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Trying to compress media files offline results in the following error using django_compressor 1.1 with Django 1.2.5 on Mac OS X:\r\n<pre>\r\nTraceback (most recent call last):\r\n  File \"bin/django\", line 72, in <module>\r\n    djangorecipe.manage.main('project.development')\r\n  File \"/Users/boris/project/eggs/djangorecipe-0.22-py2.6.egg/djangorecipe/manage.py\", line 16, in main\r\n    management.execute_manager(mod)\r\n  File \"/Users/boris/project/parts/django/django/core/management/__init__.py\", line 438, in execute_manager\r\n    utility.execute()\r\n  File \"/Users/boris/project/parts/django/django/core/management/__init__.py\", line 379, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/Users/boris/project/parts/django/django/core/management/__init__.py\", line 261, in fetch_command\r\n    klass = load_command_class(app_name, subcommand)\r\n  File \"/Users/boris/project/parts/django/django/core/management/__init__.py\", line 67, in load_command_class\r\n    module = import_module('%s.management.commands.%s' % (app_name, name))\r\n  File \"/Users/boris/project/parts/django/django/utils/importlib.py\", line 35, in import_module\r\n    __import__(name)\r\n  File \"/Users/boris/project/eggs/django_compressor-1.1-py2.6.egg/compressor/management/commands/compress.py\", line 16, in <module>\r\n    from django.template.loader_tags import ExtendsNode, BlockNode, BLOCK_CONTEXT_KEY\r\n  File \"/Users/boris/project/parts/django/django/template/loader_tags.py\", line 3, in <module>\r\n    from django.template.loader import get_template\r\n  File \"/Users/boris/project/parts/django/django/template/loader.py\", line 198, in <module>\r\n    add_to_builtins('django.template.loader_tags')\r\n  File \"/Users/boris/project/parts/django/django/template/__init__.py\", line 1049, in add_to_builtins\r\n    builtins.append(import_library(module))\r\n  File \"/Users/boris/project/parts/django/django/template/__init__.py\", line 999, in import_library\r\n    raise InvalidTemplateLibrary(\"Template library %s does not have a variable named 'register'\" % taglib_module)\r\ndjango.template.InvalidTemplateLibrary: Template library django.template.loader_tags does not have a variable named 'register'\r\n</pre>","comments":1,"title":"Offline compression error","updated_at":"2011-10-10T13:49:09Z","url":"https://api.github.com/repos/jezdez/django_compressor/issues/131","id":1850403,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/b32597f5349a06076c5852a4c1f65894?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/dboris","id":709723,"login":"dboris"},"html_url":"https://github.com/jezdez/django_compressor/issues/131","labels":[],"state":"open"},"legacy":{"issue_id":1850403,"comment_id":2347530}}