{"action":"created","issue":{"url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/328","repository_url":"https://api.github.com/repos/airblade/vim-gitgutter","labels_url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/328/comments","events_url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/328/events","html_url":"https://github.com/airblade/vim-gitgutter/issues/328","id":150698768,"number":328,"title":"Error thrown when saving to a network path on Windows","user":{"login":"kflu","id":1031978,"avatar_url":"https://avatars.githubusercontent.com/u/1031978?v=3","gravatar_id":"","url":"https://api.github.com/users/kflu","html_url":"https://github.com/kflu","followers_url":"https://api.github.com/users/kflu/followers","following_url":"https://api.github.com/users/kflu/following{/other_user}","gists_url":"https://api.github.com/users/kflu/gists{/gist_id}","starred_url":"https://api.github.com/users/kflu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kflu/subscriptions","organizations_url":"https://api.github.com/users/kflu/orgs","repos_url":"https://api.github.com/users/kflu/repos","events_url":"https://api.github.com/users/kflu/events{/privacy}","received_events_url":"https://api.github.com/users/kflu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-04-24T20:56:49Z","updated_at":"2016-12-27T09:59:12Z","closed_at":null,"body":"Sorry I can't reopen #61, but I'm still seeing this with the latest master branch (5ed00d1bd386e19f5bf2996fedd4021760e99591). \n\nMore specifically, on opening a Windows network share file (`\\\\share\\folder\\file.txt`), it prompts the error\n\n```\nError detected while processing function GitGutter..<SNR>60_is_active..<SNR>60_is_in_a_git_repo:\nline 2:\nE484: Can't open file C:\\Users\\ljani\\AppData\\Local\\Temp\\VIoEE6D.tmp\n```\n\nAnd it gets periodically popped up every few seconds.\n"},"comment":{"url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/comments/269304105","html_url":"https://github.com/airblade/vim-gitgutter/issues/328#issuecomment-269304105","issue_url":"https://api.github.com/repos/airblade/vim-gitgutter/issues/328","id":269304105,"user":{"login":"Snaptags","id":1249745,"avatar_url":"https://avatars.githubusercontent.com/u/1249745?v=3","gravatar_id":"","url":"https://api.github.com/users/Snaptags","html_url":"https://github.com/Snaptags","followers_url":"https://api.github.com/users/Snaptags/followers","following_url":"https://api.github.com/users/Snaptags/following{/other_user}","gists_url":"https://api.github.com/users/Snaptags/gists{/gist_id}","starred_url":"https://api.github.com/users/Snaptags/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snaptags/subscriptions","organizations_url":"https://api.github.com/users/Snaptags/orgs","repos_url":"https://api.github.com/users/Snaptags/repos","events_url":"https://api.github.com/users/Snaptags/events{/privacy}","received_events_url":"https://api.github.com/users/Snaptags/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T09:59:12Z","updated_at":"2016-12-27T09:59:12Z","body":"Would it break anything if you wrapped the line causing the error in try..catch?\r\n![trycatch](https://cloud.githubusercontent.com/assets/1249745/21496992/a8f60106-cc22-11e6-8035-4be1efdb9e29.png)\r\nThis does work for me by not showing the error on network shares for files NOT under git version control. If I copy a git project to the share, git-gutter does not indicate modifications at all. But as it does not work **without** the try..catch either, we don't really lose anything :-)"}}
{"actor":{"display_login":"Snaptags"}}