{"action":"created","issue":{"url":"https://api.github.com/repos/thomasjo/atom-latex/issues/268","repository_url":"https://api.github.com/repos/thomasjo/atom-latex","labels_url":"https://api.github.com/repos/thomasjo/atom-latex/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/thomasjo/atom-latex/issues/268/comments","events_url":"https://api.github.com/repos/thomasjo/atom-latex/issues/268/events","html_url":"https://github.com/thomasjo/atom-latex/issues/268","id":183806928,"number":268,"title":"Uncaught TypeError: Cannot read property 'show' of undefined","user":{"login":"smddzcy","id":13895224,"avatar_url":"https://avatars.githubusercontent.com/u/13895224?v=3","gravatar_id":"","url":"https://api.github.com/users/smddzcy","html_url":"https://github.com/smddzcy","followers_url":"https://api.github.com/users/smddzcy/followers","following_url":"https://api.github.com/users/smddzcy/following{/other_user}","gists_url":"https://api.github.com/users/smddzcy/gists{/gist_id}","starred_url":"https://api.github.com/users/smddzcy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smddzcy/subscriptions","organizations_url":"https://api.github.com/users/smddzcy/orgs","repos_url":"https://api.github.com/users/smddzcy/repos","events_url":"https://api.github.com/users/smddzcy/events{/privacy}","received_events_url":"https://api.github.com/users/smddzcy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thomasjo/atom-latex/labels/needs%20info","name":"needs info","color":"fef2c0"},{"url":"https://api.github.com/repos/thomasjo/atom-latex/labels/needs%20reproduction","name":"needs reproduction","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-18T21:23:50Z","updated_at":"2016-10-19T08:38:20Z","closed_at":null,"body":"Whenever I press \"Command + W\" (or let's say, whenever I try to close a file) it gives me an error and prevents me from closing anything. \r\n\r\nHere is the error:\r\n`Uncaught TypeError: Cannot read property 'show' of undefined`\r\n\r\nHere is where it happens:\r\n`/Users/smddzcy/.atom/packages/latex/lib/loggers/default-logger.js:40`\r\n\r\nAnd the stack trace:\r\n```\r\nTypeError: Cannot read property 'show' of undefined\r\n    at DefaultLogger.updateStatus (/Users/smddzcy/.atom/packages/latex/lib/loggers/default-logger.js:40:17)\r\n    at DefaultLogger.hide (/Users/smddzcy/.atom/packages/latex/lib/loggers/default-logger.js:74:10)\r\n    at Object.hide (/Users/smddzcy/.atom/packages/latex/lib/latex.js:149:24)\r\n    at atom-workspace.coreClose (/Users/smddzcy/.atom/packages/latex/lib/main.js:32:26)\r\n    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)\r\n    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61\r\n    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)\r\n    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)\r\n    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:114:36)\r\n    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)\r\n```\r\n\r\nI haven't looked at the whole code but adding a `if(latex.status.hasOwnProperty('show'))` check fixed this for now. \r\n\r\nIf you need any additional information, please let me know. Thanks for maintaining this great package!"},"comment":{"url":"https://api.github.com/repos/thomasjo/atom-latex/issues/comments/254750103","html_url":"https://github.com/thomasjo/atom-latex/issues/268#issuecomment-254750103","issue_url":"https://api.github.com/repos/thomasjo/atom-latex/issues/268","id":254750103,"user":{"login":"smddzcy","id":13895224,"avatar_url":"https://avatars.githubusercontent.com/u/13895224?v=3","gravatar_id":"","url":"https://api.github.com/users/smddzcy","html_url":"https://github.com/smddzcy","followers_url":"https://api.github.com/users/smddzcy/followers","following_url":"https://api.github.com/users/smddzcy/following{/other_user}","gists_url":"https://api.github.com/users/smddzcy/gists{/gist_id}","starred_url":"https://api.github.com/users/smddzcy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smddzcy/subscriptions","organizations_url":"https://api.github.com/users/smddzcy/orgs","repos_url":"https://api.github.com/users/smddzcy/repos","events_url":"https://api.github.com/users/smddzcy/events{/privacy}","received_events_url":"https://api.github.com/users/smddzcy/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T08:38:20Z","updated_at":"2016-10-19T08:38:20Z","body":"@yitzchak Status bar package is enabled but there is no `Latex Log` indicator, there is a spinning `Latex Rebuild`."}}
{"actor":{"display_login":"smddzcy"}}