{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/2553","labels_url":"https://api.github.com/repos/pypa/pip/issues/2553/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/2553/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/2553/events","html_url":"https://github.com/pypa/pip/issues/2553","id":62283962,"number":2553,"title":"AttributeError: 'thread._local' object has no attribute 'indentation'","user":{"login":"drnextgis","id":866124,"avatar_url":"https://avatars.githubusercontent.com/u/866124?v=3","gravatar_id":"","url":"https://api.github.com/users/drnextgis","html_url":"https://github.com/drnextgis","followers_url":"https://api.github.com/users/drnextgis/followers","following_url":"https://api.github.com/users/drnextgis/following{/other_user}","gists_url":"https://api.github.com/users/drnextgis/gists{/gist_id}","starred_url":"https://api.github.com/users/drnextgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drnextgis/subscriptions","organizations_url":"https://api.github.com/users/drnextgis/orgs","repos_url":"https://api.github.com/users/drnextgis/repos","events_url":"https://api.github.com/users/drnextgis/events{/privacy}","received_events_url":"https://api.github.com/users/drnextgis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-17T04:30:35Z","updated_at":"2015-03-17T15:06:57Z","closed_at":null,"body":"Traceback points here https://github.com/pypa/pip/blob/develop/pip/utils/logging.py#L39"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/82397308","html_url":"https://github.com/pypa/pip/issues/2553#issuecomment-82397308","issue_url":"https://api.github.com/repos/pypa/pip/issues/2553","id":82397308,"user":{"login":"drnextgis","id":866124,"avatar_url":"https://avatars.githubusercontent.com/u/866124?v=3","gravatar_id":"","url":"https://api.github.com/users/drnextgis","html_url":"https://github.com/drnextgis","followers_url":"https://api.github.com/users/drnextgis/followers","following_url":"https://api.github.com/users/drnextgis/following{/other_user}","gists_url":"https://api.github.com/users/drnextgis/gists{/gist_id}","starred_url":"https://api.github.com/users/drnextgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drnextgis/subscriptions","organizations_url":"https://api.github.com/users/drnextgis/orgs","repos_url":"https://api.github.com/users/drnextgis/repos","events_url":"https://api.github.com/users/drnextgis/events{/privacy}","received_events_url":"https://api.github.com/users/drnextgis/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T15:06:56Z","updated_at":"2015-03-17T15:06:56Z","body":"I cannot reproduce it here, the following stacktrace sent me my colleague:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/logging/__init__.py\", line 846, in emit\r\n    msg = self.format(record)\r\n  File \"/home/zadmin/ngw/env/local/lib/python2.7/site-packages/pip/utils/logging.py\", line 103, in format\r\n    msg = logging.StreamHandler.format(self, record)\r\n  File \"/usr/lib/python2.7/logging/__init__.py\", line 723, in format\r\n    return fmt.format(record)\r\n  File \"/home/zadmin/ngw/env/local/lib/python2.7/site-packages/pip/utils/logging.py\", line 52, in format\r\n    for line in formatted.splitlines(True)\r\n  File \"/home/zadmin/ngw/env/local/lib/python2.7/site-packages/pip/utils/logging.py\", line 39, in get_indentation\r\n    return _log_state.indentation\r\nAttributeError: 'thread._local' object has no attribute 'indentation'\r\nLogged from file channel.py, line 340\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/logging/handlers.py\", line 77, in emit\r\n    if self.shouldRollover(record):\r\n  File \"/usr/lib/python2.7/logging/handlers.py\", line 156, in shouldRollover\r\n    msg = \"%s\\n\" % self.format(record)\r\n  File \"/usr/lib/python2.7/logging/__init__.py\", line 723, in format\r\n    return fmt.format(record)\r\n  File \"/home/zadmin/ngw/env/local/lib/python2.7/site-packages/pip/utils/logging.py\", line 52, in format\r\n    for line in formatted.splitlines(True)\r\n  File \"/home/zadmin/ngw/env/local/lib/python2.7/site-packages/pip/utils/logging.py\", line 39, in get_indentation\r\n    return _log_state.indentation\r\nAttributeError: 'thread._local' object has no attribute 'indentation'\r\nLogged from file channel.py, line 340\r\n```\r\n\r\nThis error occurs in Pyramid application installed within virtual environmen with the following command:\r\n\r\n```\r\nenv/bin/pip install -e appname\r\n```\r\n\r\nWhen we downgraded pip to 1.5.4 this error was gone."}}