{"action":"closed","issue":{"url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/48","labels_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/48/comments","events_url":"https://api.github.com/repos/ministryofjustice/salt-shaker/issues/48/events","html_url":"https://github.com/ministryofjustice/salt-shaker/issues/48","id":92669532,"number":48,"title":"Running install causes unbound var error","user":{"login":"niallcreech","id":2128678,"avatar_url":"https://avatars.githubusercontent.com/u/2128678?v=3","gravatar_id":"","url":"https://api.github.com/users/niallcreech","html_url":"https://github.com/niallcreech","followers_url":"https://api.github.com/users/niallcreech/followers","following_url":"https://api.github.com/users/niallcreech/following{/other_user}","gists_url":"https://api.github.com/users/niallcreech/gists{/gist_id}","starred_url":"https://api.github.com/users/niallcreech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niallcreech/subscriptions","organizations_url":"https://api.github.com/users/niallcreech/orgs","repos_url":"https://api.github.com/users/niallcreech/repos","events_url":"https://api.github.com/users/niallcreech/events{/privacy}","received_events_url":"https://api.github.com/users/niallcreech/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ministryofjustice/salt-shaker/labels/ready%20for%20review","name":"ready for review","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"niallcreech","id":2128678,"avatar_url":"https://avatars.githubusercontent.com/u/2128678?v=3","gravatar_id":"","url":"https://api.github.com/users/niallcreech","html_url":"https://github.com/niallcreech","followers_url":"https://api.github.com/users/niallcreech/followers","following_url":"https://api.github.com/users/niallcreech/following{/other_user}","gists_url":"https://api.github.com/users/niallcreech/gists{/gist_id}","starred_url":"https://api.github.com/users/niallcreech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niallcreech/subscriptions","organizations_url":"https://api.github.com/users/niallcreech/orgs","repos_url":"https://api.github.com/users/niallcreech/repos","events_url":"https://api.github.com/users/niallcreech/events{/privacy}","received_events_url":"https://api.github.com/users/niallcreech/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-07-02T15:46:30Z","updated_at":"2015-07-03T15:16:17Z","closed_at":"2015-07-03T15:16:17Z","body":"$salt-shaker install \r\nUnboundLocalError: local variable 'subdir_found' referenced before assignment\r\n\r\n\r\nINFO:salt-shaker:Shaker::install_requirements: Installing requirements...\r\nDEBUG:salt-shaker:_create_directories: Deleting salt root directory 'vendor/_root'\r\nDEBUG:salt-shaker:_create_directories: Deleting repository directory 'vendor/formula-repos'\r\nTraceback (most recent call last):\r\n  File \"/Users/niallcreech/.virtualenvs/pvb-deploy/bin/salt-shaker\", line 4, in <module>\r\n    __import__('pkg_resources').run_script('salt-shaker==0.1.2', 'salt-shaker')\r\n  File \"/Users/niallcreech/.virtualenvs/pvb-deploy/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 735, in run_script\r\n    self.require(requires)[0].run_script(script_name, ns)\r\n  File \"/Users/niallcreech/.virtualenvs/pvb-deploy/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 1659, in run_script\r\n    exec(script_code, namespace, namespace)\r\n  File \"/Users/niallcreech/.virtualenvs/pvb-deploy/lib/python2.7/site-packages/salt_shaker-0.1.2-py2.7.egg/EGG-INFO/scripts/salt-shaker\", line 6, in <module>\r\n\r\n  File \"build/bdist.macosx-10.10-x86_64/egg/shaker/command_line.py\", line 52, in run\r\n  File \"build/bdist.macosx-10.10-x86_64/egg/shaker/command_line.py\", line 64, in shake\r\n  File \"build/bdist.macosx-10.10-x86_64/egg/shaker/salt_shaker.py\", line 274, in shaker\r\n  File \"build/bdist.macosx-10.10-x86_64/egg/shaker/salt_shaker.py\", line 108, in update_requirements\r\n  File \"build/bdist.macosx-10.10-x86_64/egg/shaker/salt_shaker.py\", line 201, in _install_versioned_requirements\r\n  File \"build/bdist.macosx-10.10-x86_64/egg/shaker/shaker_remote.py\", line 148, in install_dependencies\r\n  File \"build/bdist.macosx-10.10-x86_64/egg/shaker/shaker_remote.py\", line 256, in _update_root_links\r\nUnboundLocalError: local variable 'subdir_found' referenced before assignment"}}