{"action":"opened","issue":{"url":"https://api.github.com/repos/pypa/pipenv/issues/2447","repository_url":"https://api.github.com/repos/pypa/pipenv","labels_url":"https://api.github.com/repos/pypa/pipenv/issues/2447/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pipenv/issues/2447/comments","events_url":"https://api.github.com/repos/pypa/pipenv/issues/2447/events","html_url":"https://github.com/pypa/pipenv/issues/2447","id":336293226,"node_id":"MDU6SXNzdWUzMzYyOTMyMjY=","number":2447,"title":"pipenv --completion crashes with jinja2.exceptions.TemplateNotFound: bash.j2 (pipenv==2018.6.25)","user":{"login":"agandrabur","id":25147472,"node_id":"MDQ6VXNlcjI1MTQ3NDcy","avatar_url":"https://avatars1.githubusercontent.com/u/25147472?v=4","gravatar_id":"","url":"https://api.github.com/users/agandrabur","html_url":"https://github.com/agandrabur","followers_url":"https://api.github.com/users/agandrabur/followers","following_url":"https://api.github.com/users/agandrabur/following{/other_user}","gists_url":"https://api.github.com/users/agandrabur/gists{/gist_id}","starred_url":"https://api.github.com/users/agandrabur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agandrabur/subscriptions","organizations_url":"https://api.github.com/users/agandrabur/orgs","repos_url":"https://api.github.com/users/agandrabur/repos","events_url":"https://api.github.com/users/agandrabur/events{/privacy}","received_events_url":"https://api.github.com/users/agandrabur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-27T16:05:10Z","updated_at":"2018-06-27T16:05:10Z","closed_at":null,"author_association":"NONE","body":"Exception when using `pipenv --completion`\r\n------------\r\n\r\n##### Expected result\r\n\r\nNo Exception\r\n\r\n##### Actual result\r\n`\r\nTraceback (most recent call last):\r\n  File \"/bin/pipenv\", line 11, in <module>\r\n    load_entry_point('pipenv==2018.6.25', 'console_scripts', 'pipenv')()\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/vendor/click/core.py\", line 722, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/vendor/click/core.py\", line 697, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/vendor/click/core.py\", line 1043, in invoke\r\n    return Command.invoke(self, ctx)\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/vendor/click/core.py\", line 895, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/vendor/click/core.py\", line 535, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/vendor/click/decorators.py\", line 17, in new_func\r\n    return f(get_current_context(), *args, **kwargs)\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/cli.py\", line 178, in cli\r\n    print(click_completion.get_code(shell=shell, prog_name='pipenv'))\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/vendor/click_completion/__init__.py\", line 353, in get_code\r\n    template = env.get_template('%s.j2' % shell)\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/vendor/jinja2/environment.py\", line 830, in get_template\r\n    return self._load_template(name, self.make_globals(globals))\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/vendor/jinja2/environment.py\", line 804, in _load_template\r\n    template = self.loader.load(self, name, globals)\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/vendor/jinja2/loaders.py\", line 113, in load\r\n    source, filename, uptodate = self.get_source(environment, name)\r\n  File \"/usr/lib/python3.6/site-packages/pipenv/vendor/jinja2/loaders.py\", line 187, in get_source\r\n    raise TemplateNotFound(template)\r\njinja2.exceptions.TemplateNotFound: bash.j2\r\n`\r\n\r\n##### Steps to replicate\r\n`pipenv --completion`\r\n"}}
{"actor":{"display_login":"agandrabur"}}