{"action":"created","issue":{"url":"https://api.github.com/repos/ludovicchabant/vim-gutentags/issues/25","labels_url":"https://api.github.com/repos/ludovicchabant/vim-gutentags/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/ludovicchabant/vim-gutentags/issues/25/comments","events_url":"https://api.github.com/repos/ludovicchabant/vim-gutentags/issues/25/events","html_url":"https://github.com/ludovicchabant/vim-gutentags/issues/25","id":75194779,"number":25,"title":"Undefined variable: b:gutentags_files on save","user":{"login":"blokezero","id":214196,"avatar_url":"https://avatars.githubusercontent.com/u/214196?v=3","gravatar_id":"","url":"https://api.github.com/users/blokezero","html_url":"https://github.com/blokezero","followers_url":"https://api.github.com/users/blokezero/followers","following_url":"https://api.github.com/users/blokezero/following{/other_user}","gists_url":"https://api.github.com/users/blokezero/gists{/gist_id}","starred_url":"https://api.github.com/users/blokezero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blokezero/subscriptions","organizations_url":"https://api.github.com/users/blokezero/orgs","repos_url":"https://api.github.com/users/blokezero/repos","events_url":"https://api.github.com/users/blokezero/events{/privacy}","received_events_url":"https://api.github.com/users/blokezero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-11T11:46:40Z","updated_at":"2015-07-16T06:09:13Z","closed_at":null,"body":"Hi,  Installed using pathogen.  I have run ctags in the project before but this happens even if the tags file is deleted.  Generates the tag file fine on startup, but `:w` generates the following error:\r\n\r\nError detected while processing function <SNR>208_write_triggered_update_tags..<SNR>208_update_tags:\r\nline    6:\r\nE121: Undefined variable: b:gutentags_files\r\nE15: Invalid expression: b:gutentags_files[a:module]"},"comment":{"url":"https://api.github.com/repos/ludovicchabant/vim-gutentags/issues/comments/121843614","html_url":"https://github.com/ludovicchabant/vim-gutentags/issues/25#issuecomment-121843614","issue_url":"https://api.github.com/repos/ludovicchabant/vim-gutentags/issues/25","id":121843614,"user":{"login":"ludovicchabant","id":470376,"avatar_url":"https://avatars.githubusercontent.com/u/470376?v=3","gravatar_id":"","url":"https://api.github.com/users/ludovicchabant","html_url":"https://github.com/ludovicchabant","followers_url":"https://api.github.com/users/ludovicchabant/followers","following_url":"https://api.github.com/users/ludovicchabant/following{/other_user}","gists_url":"https://api.github.com/users/ludovicchabant/gists{/gist_id}","starred_url":"https://api.github.com/users/ludovicchabant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludovicchabant/subscriptions","organizations_url":"https://api.github.com/users/ludovicchabant/orgs","repos_url":"https://api.github.com/users/ludovicchabant/repos","events_url":"https://api.github.com/users/ludovicchabant/events{/privacy}","received_events_url":"https://api.github.com/users/ludovicchabant/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T06:09:13Z","updated_at":"2015-07-16T06:09:13Z","body":"Hi! Sorry for the late reply.\r\n\r\nI can't see how this could be happening... the `write_triggered_update_tags` callback gets setup as an autocommand on write [over here](https://github.com/ludovicchabant/vim-gutentags/blob/master/autoload/gutentags.vim#L130), a few lines after `b:gutentags_files` is [defined on the buffer](https://github.com/ludovicchabant/vim-gutentags/blob/master/autoload/gutentags.vim#L114).\r\n\r\nCould you maybe set `g:gutentags_trace` to `1` and see if any warning/error message gets printed when you open and/or save the file?"}}