{"action":"created","issue":{"url":"https://api.github.com/repos/ranger/ranger/issues/728","repository_url":"https://api.github.com/repos/ranger/ranger","labels_url":"https://api.github.com/repos/ranger/ranger/issues/728/labels{/name}","comments_url":"https://api.github.com/repos/ranger/ranger/issues/728/comments","events_url":"https://api.github.com/repos/ranger/ranger/issues/728/events","html_url":"https://github.com/ranger/ranger/issues/728","id":192571181,"number":728,"title":"unexpected crash on running","user":{"login":"bnvk","id":48677,"avatar_url":"https://avatars.githubusercontent.com/u/48677?v=3","gravatar_id":"","url":"https://api.github.com/users/bnvk","html_url":"https://github.com/bnvk","followers_url":"https://api.github.com/users/bnvk/followers","following_url":"https://api.github.com/users/bnvk/following{/other_user}","gists_url":"https://api.github.com/users/bnvk/gists{/gist_id}","starred_url":"https://api.github.com/users/bnvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnvk/subscriptions","organizations_url":"https://api.github.com/users/bnvk/orgs","repos_url":"https://api.github.com/users/bnvk/repos","events_url":"https://api.github.com/users/bnvk/events{/privacy}","received_events_url":"https://api.github.com/users/bnvk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-30T13:54:36Z","updated_at":"2016-11-30T14:50:14Z","closed_at":null,"body":"Crashed on running. The starting directory is all folders except for one `.md` file.\r\n\r\n```\r\nuser@host:~/Docs$ ranger\r\nranger version: 1.7.1, executed with python 2.7.12+\r\nLocale: en_US.UTF-8\r\nCurrent file: None\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/core/main.py\", line 140, in main\r\n    fm.loop()\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/core/fm.py\", line 316, in loop\r\n    self.enter_dir(self.thistab.path)\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/core/actions.py\", line 465, in enter_dir\r\n    result = self.thistab.enter_dir(path, history=history)\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/core/tab.py\", line 141, in enter_dir\r\n    self.assign_cursor_positions_for_subdirs()\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/core/tab.py\", line 90, in assign_cursor_positions_for_subdirs\r\n    path.move_to_obj(last_path)\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/container/directory.py\", line 516, in move_to_obj\r\n    self.load_content_once(schedule=False)\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/container/directory.py\", line 569, in load_content_once\r\n    self.load_content(*a, **k)\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/container/directory.py\", line 401, in load_content\r\n    for _ in self.load_generator:\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/container/directory.py\", line 331, in load_bit_by_bit\r\n    item.load_vcs(self)\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/container/fsobject.py\", line 292, in load_vcs\r\n    self.vcs.get_status()\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/ext/vcs/vcs.py\", line 254, in get_status\r\n    self.status = self.get_status_allfiles()\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/ext/vcs/git.py\", line 172, in get_status_allfiles\r\n    raw = self._git(self.path, ['status', '--porcelain'], catchout=True, bytes=True)\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/ext/vcs/git.py\", line 23, in _git\r\n    return self._vcs(path, 'git', args, silent=silent, catchout=catchout, bytes=bytes)\r\n  File \"/usr/lib/python2.7/dist-packages/ranger/ext/vcs/vcs.py\", line 74, in _vcs\r\n    raw = subprocess.check_output([cmd] + args, stderr=out, cwd=path)\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 212, in check_output\r\n    process = Popen(stdout=PIPE, *popenargs, **kwargs)\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 390, in __init__\r\n    errread, errwrite)\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 1024, in _execute_child\r\n    raise child_exception\r\nOSError: [Errno 2] No such file or directory\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ranger/ranger/issues/comments/263892045","html_url":"https://github.com/ranger/ranger/issues/728#issuecomment-263892045","issue_url":"https://api.github.com/repos/ranger/ranger/issues/728","id":263892045,"user":{"login":"ael-code","id":4229536,"avatar_url":"https://avatars.githubusercontent.com/u/4229536?v=3","gravatar_id":"","url":"https://api.github.com/users/ael-code","html_url":"https://github.com/ael-code","followers_url":"https://api.github.com/users/ael-code/followers","following_url":"https://api.github.com/users/ael-code/following{/other_user}","gists_url":"https://api.github.com/users/ael-code/gists{/gist_id}","starred_url":"https://api.github.com/users/ael-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ael-code/subscriptions","organizations_url":"https://api.github.com/users/ael-code/orgs","repos_url":"https://api.github.com/users/ael-code/repos","events_url":"https://api.github.com/users/ael-code/events{/privacy}","received_events_url":"https://api.github.com/users/ael-code/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T14:50:14Z","updated_at":"2016-11-30T14:50:14Z","body":"This part of the code was changed in ranger `v1.7.2`. In any case can you provide the outcome of the command `which git`? I think that you simply doesn't have git installed"}}
{"actor":{"display_login":"ael-code"}}