{"action":"created","issue":{"url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/97","labels_url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/97/comments","events_url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/97/events","html_url":"https://github.com/aziz/SublimeFileBrowser/issues/97","id":109813914,"number":97,"title":"Errors when opening file browser (MacOS 10.11 related?)","user":{"login":"Reinmar","id":156149,"avatar_url":"https://avatars.githubusercontent.com/u/156149?v=3","gravatar_id":"","url":"https://api.github.com/users/Reinmar","html_url":"https://github.com/Reinmar","followers_url":"https://api.github.com/users/Reinmar/followers","following_url":"https://api.github.com/users/Reinmar/following{/other_user}","gists_url":"https://api.github.com/users/Reinmar/gists{/gist_id}","starred_url":"https://api.github.com/users/Reinmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reinmar/subscriptions","organizations_url":"https://api.github.com/users/Reinmar/orgs","repos_url":"https://api.github.com/users/Reinmar/repos","events_url":"https://api.github.com/users/Reinmar/events{/privacy}","received_events_url":"https://api.github.com/users/Reinmar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-05T14:51:57Z","updated_at":"2015-10-05T20:41:19Z","closed_at":null,"body":"I'm not sure whether this started after upgrading MacOS to 10.11 or because my installation of SublimeFileBrowser was automatically upgraded at that same time (it might have been the first time I closed ST3 in a month :D), but:\r\n\r\n* on 0.7.7 everything works fine.\r\n* starting from 0.7.8 (and including 0.7.9) I have an error when opening the file browser:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py\", line 550, in run_\r\n    return self.run(edit, **args)\r\n  File \"/Users/p/Library/Application Support/Sublime Text 3/Packages/FileBrowser/dired.py\", line 177, in run\r\n    self.re_populate_view(edit, path, names, expanded, to_expand, toggle)\r\n  File \"/Users/p/Library/Application Support/Sublime Text 3/Packages/FileBrowser/dired.py\", line 205, in re_populate_view\r\n    tree = self.traverse_tree(root, root, '', names, expanded)\r\n  File \"/Users/p/Library/Application Support/Sublime Text 3/Packages/FileBrowser/dired.py\", line 254, in traverse_tree\r\n    tree[~0] += u'\\t<%s>' % error\r\nIndexError: list index out of range\r\n```\r\n\r\nI'm running ST3 build 3083."},"comment":{"url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/comments/145662383","html_url":"https://github.com/aziz/SublimeFileBrowser/issues/97#issuecomment-145662383","issue_url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/97","id":145662383,"user":{"login":"Reinmar","id":156149,"avatar_url":"https://avatars.githubusercontent.com/u/156149?v=3","gravatar_id":"","url":"https://api.github.com/users/Reinmar","html_url":"https://github.com/Reinmar","followers_url":"https://api.github.com/users/Reinmar/followers","following_url":"https://api.github.com/users/Reinmar/following{/other_user}","gists_url":"https://api.github.com/users/Reinmar/gists{/gist_id}","starred_url":"https://api.github.com/users/Reinmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reinmar/subscriptions","organizations_url":"https://api.github.com/users/Reinmar/orgs","repos_url":"https://api.github.com/users/Reinmar/repos","events_url":"https://api.github.com/users/Reinmar/events{/privacy}","received_events_url":"https://api.github.com/users/Reinmar/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T20:41:19Z","updated_at":"2015-10-05T20:41:19Z","body":"OK, the docs say:\r\n\r\n> os.path.commonprefix(list)\r\n> Return the longest path prefix (taken character-by-character) that is a prefix of all paths in list. If list is empty, return the empty string (''). Note that this may return **invalid paths** because it works a character at a time.\r\n\r\nSo this makes sense."}}