{"action":"created","issue":{"url":"https://api.github.com/repos/cyberdelia/django-pipeline/issues/478","labels_url":"https://api.github.com/repos/cyberdelia/django-pipeline/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/cyberdelia/django-pipeline/issues/478/comments","events_url":"https://api.github.com/repos/cyberdelia/django-pipeline/issues/478/events","html_url":"https://github.com/cyberdelia/django-pipeline/issues/478","id":96592010,"number":478,"title":"Django 1.9 Exception: InvalidTemplateLibrary","user":{"login":"jaddison","id":101148,"avatar_url":"https://avatars.githubusercontent.com/u/101148?v=3","gravatar_id":"","url":"https://api.github.com/users/jaddison","html_url":"https://github.com/jaddison","followers_url":"https://api.github.com/users/jaddison/followers","following_url":"https://api.github.com/users/jaddison/following{/other_user}","gists_url":"https://api.github.com/users/jaddison/gists{/gist_id}","starred_url":"https://api.github.com/users/jaddison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaddison/subscriptions","organizations_url":"https://api.github.com/users/jaddison/orgs","repos_url":"https://api.github.com/users/jaddison/repos","events_url":"https://api.github.com/users/jaddison/events{/privacy}","received_events_url":"https://api.github.com/users/jaddison/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-22T15:15:16Z","updated_at":"2015-07-22T17:25:51Z","closed_at":null,"body":"Obviously, this is prep-work to make django-pipeline compatible with Django 1.9.\r\n\r\nDue to the change mentioned here, django-pipeline will 'break' Django: https://docs.djangoproject.com/en/dev/releases/1.9/#template-tag-modules-are-imported-when-templates-are-configured.\r\n\r\nTraceback:\r\n```\r\nEnvironment:\r\n\r\n\r\nRequest Method: GET\r\nRequest URL: http://localhost:8000/\r\n\r\nDjango Version: 1.9.dev20150721153804\r\nPython Version: 3.4.3\r\nInstalled Applications:\r\n['django.contrib.admin',\r\n 'django.contrib.auth',\r\n 'django.contrib.contenttypes',\r\n 'django.contrib.sessions',\r\n 'django.contrib.messages',\r\n 'django.contrib.staticfiles',\r\n 'pipeline']\r\nInstalled Middleware:\r\n['django.middleware.security.SecurityMiddleware',\r\n 'django.contrib.sessions.middleware.SessionMiddleware',\r\n 'django.middleware.common.CommonMiddleware',\r\n 'django.middleware.csrf.CsrfViewMiddleware',\r\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\r\n 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',\r\n 'django.contrib.messages.middleware.MessageMiddleware',\r\n 'django.middleware.clickjacking.XFrameOptionsMiddleware']\r\n\r\n\r\nTraceback:\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/utils.py\" in __getitem__\r\n  86.             return self._engines[alias]\r\n\r\nDuring handling of the above exception ('django'), another exception occurred:\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/backends/django.py\" in get_package_libraries\r\n  144.             module = import_module(entry[1])\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/lib/python3.4/importlib/__init__.py\" in import_module\r\n  109.     return _bootstrap._gcd_import(name[level:], package, level)\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/lib/python3.4/site-packages/pipeline/templatetags/ext.py\" in <module>\r\n  3. from jinja2 import nodes, TemplateSyntaxError\r\n\r\nDuring handling of the above exception (No module named 'jinja2'), another exception occurred:\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/core/handlers/base.py\" in get_response\r\n  147.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n\r\nFile \"/Users/jaddison/projects/django19test/testviews/views.py\" in testview\r\n  5.     return render(request, template)\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/shortcuts.py\" in render\r\n  67.             template_name, context, request=request, using=using)\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/loader.py\" in render_to_string\r\n  91.             template = get_template(template_name, using=using)\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/loader.py\" in get_template\r\n  21.     engines = _engine_list(using)\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/loader.py\" in _engine_list\r\n  139.     return engines.all() if using is None else [engines[using]]\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/utils.py\" in all\r\n  110.         return [self[alias] for alias in self]\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/utils.py\" in <listcomp>\r\n  110.         return [self[alias] for alias in self]\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/utils.py\" in __getitem__\r\n  101.             engine = engine_cls(params)\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/backends/django.py\" in __init__\r\n  31.         options['libraries'] = self.get_templatetag_libraries(libraries)\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/backends/django.py\" in get_templatetag_libraries\r\n  49.         libraries = get_installed_libraries()\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/backends/django.py\" in get_installed_libraries\r\n  131.             for name in get_package_libraries(pkg):\r\n\r\nFile \"/Users/jaddison/.virtualenvs/django19test/src/django/django/template/backends/django.py\" in get_package_libraries\r\n  148.                 \"trying to load '%s': %s\" % (entry[1], e)\r\n\r\nException Type: InvalidTemplateLibrary at /\r\nException Value: Invalid template library specified. ImportError raised when trying to load 'pipeline.templatetags.ext': No module named 'jinja2'\r\n```"},"comment":{"url":"https://api.github.com/repos/cyberdelia/django-pipeline/issues/comments/123798816","html_url":"https://github.com/cyberdelia/django-pipeline/issues/478#issuecomment-123798816","issue_url":"https://api.github.com/repos/cyberdelia/django-pipeline/issues/478","id":123798816,"user":{"login":"cyberdelia","id":44535,"avatar_url":"https://avatars.githubusercontent.com/u/44535?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberdelia","html_url":"https://github.com/cyberdelia","followers_url":"https://api.github.com/users/cyberdelia/followers","following_url":"https://api.github.com/users/cyberdelia/following{/other_user}","gists_url":"https://api.github.com/users/cyberdelia/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberdelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberdelia/subscriptions","organizations_url":"https://api.github.com/users/cyberdelia/orgs","repos_url":"https://api.github.com/users/cyberdelia/repos","events_url":"https://api.github.com/users/cyberdelia/events{/privacy}","received_events_url":"https://api.github.com/users/cyberdelia/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T17:25:51Z","updated_at":"2015-07-22T17:25:51Z","body":"Any pull-request would be welcome :bowtie: "}}