{"action":"created","issue":{"url":"https://api.github.com/repos/victor-torres/atom-hg/issues/23","repository_url":"https://api.github.com/repos/victor-torres/atom-hg","labels_url":"https://api.github.com/repos/victor-torres/atom-hg/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/victor-torres/atom-hg/issues/23/comments","events_url":"https://api.github.com/repos/victor-torres/atom-hg/issues/23/events","html_url":"https://github.com/victor-torres/atom-hg/issues/23","id":167824722,"number":23,"title":"atom-hg makes statusbar throw an error","user":{"login":"stefan-kern","id":11061334,"avatar_url":"https://avatars.githubusercontent.com/u/11061334?v=3","gravatar_id":"","url":"https://api.github.com/users/stefan-kern","html_url":"https://github.com/stefan-kern","followers_url":"https://api.github.com/users/stefan-kern/followers","following_url":"https://api.github.com/users/stefan-kern/following{/other_user}","gists_url":"https://api.github.com/users/stefan-kern/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-kern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-kern/subscriptions","organizations_url":"https://api.github.com/users/stefan-kern/orgs","repos_url":"https://api.github.com/users/stefan-kern/repos","events_url":"https://api.github.com/users/stefan-kern/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-kern/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-07-27T10:44:42Z","updated_at":"2016-08-19T00:44:49Z","closed_at":"2016-08-19T00:44:49Z","body":"when enabling atom-hg on the 1.9.0 beta it produces the following error on save (and other actions).\r\n\r\n**Atom Version**: 1.9.0-beta1\r\n**System**: Ubuntu 16.04.1\r\n**Thrown From**: [status-bar](https://github.com/atom/status-bar) package, v1.4.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'ahead' of null\r\n\r\n```\r\nAt /usr/share/atom-beta/resources/app.asar/node_modules/status-bar/lib/git-view.js:213\r\n\r\nTypeError: Cannot read property 'ahead' of null\r\n    at status-bar-git.GitView.updateAheadBehindCount (/usr/share/atom-beta/resources/app.asar/node_modules/status-bar/lib/git-view.js:213:78)\r\n    at status-bar-git.GitView.update (/usr/share/atom-beta/resources/app.asar/node_modules/status-bar/lib/git-view.js:171:12)\r\n    at status-bar-git.GitView.subscribeToActiveItem (/usr/share/atom-beta/resources/app.asar/node_modules/status-bar/lib/git-view.js:81:19)\r\n    at /usr/share/atom-beta/resources/app.asar/node_modules/status-bar/lib/git-view.js:24:24\r\n    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom-beta/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (/usr/share/atom-beta/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)\r\n    at /usr/share/atom-beta/resources/app.asar/src/pane-container.js:346:27\r\n    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom-beta/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)\r\n    at Emitter.module.exports.Emitter.emit (/usr/share/atom-beta/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)\r\n    at Pane.module.exports.Pane.setActiveItem (/usr/share/atom-beta/resources/app.asar/src/pane.js:284:22)\r\n    at Pane.module.exports.Pane.activateItem (/usr/share/atom-beta/resources/app.asar/src/pane.js:433:21)\r\n    at atom-tabs.TabBarView.onMouseDown (/usr/share/atom-beta/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:660:19)\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n  2x -0:32.3.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:31.7.0 editor:newline (atom-text-editor.editor.is-focused)\r\n  5x -0:31.3.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:30.2.0 core:backspace (atom-text-editor.editor.is-focused)\r\n  2x -0:29.9.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:26.4.0 editor:newline (atom-text-editor.editor.is-focused)\r\n  4x -0:26.2.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:24.7.0 core:backspace (atom-text-editor.editor.is-focused)\r\n  4x -0:24.7.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:22.6.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -0:22 editor:newline (atom-text-editor.editor.is-focused)\r\n  3x -0:21.7.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:20.2.0 editor:newline (atom-text-editor.editor.is-focused)\r\n     -0:19.9.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:18.8.0 core:backspace (atom-text-editor.editor.is-focused)\r\n  3x -0:18.4.0 core:save (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"autoHideMenuBar\": true,\r\n    \"disabledPackages\": [\r\n      \"activate-power-mode\",\r\n      \"ctags-status\"\r\n    ],\r\n    \"ignoredNames\": [\r\n      \"*.pyc\"\r\n    ],\r\n    \"openEmptyEditorOnStart\": false,\r\n    \"projectHome\": \"~/projects\",\r\n    \"themes\": [\r\n      \"atom-material-ui\",\r\n      \"github-2016-syntax\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\naesthetic-ui, v2.0.0 (inactive)\r\natom-beautify, v0.29.10 (active)\r\natom-github-2014-syntax, v1.6.0 (inactive)\r\natom-hg, v2.0.4 (active)\r\natom-material-syntax, v0.4.6 (inactive)\r\natom-material-syntax-dark, v0.2.5 (inactive)\r\natom-material-syntax-light, v0.4.5 (inactive)\r\natom-material-ui, v1.3.3 (active)\r\nava, vundefined (active)\r\nbase16-ocean-dark-spacegray, v0.12.0 (inactive)\r\nbase16-ocean-dark-syntax-theme, v0.1.9 (inactive)\r\nclipboard-plus, v0.5.1 (active)\r\ncolor-picker, v2.2.2 (active)\r\nctags-status, v1.3.5 (inactive)\r\nemmet, v2.4.3 (active)\r\nfile-icons, v1.7.17 (active)\r\ngit-history, v3.2.0 (inactive)\r\ngit-log, v0.4.1 (active)\r\ngit-plus, v5.16.2 (inactive)\r\ngit-time-machine, v1.5.3 (inactive)\r\ngithub-2016-syntax, v1.2.0 (active)\r\nindent-guide-improved, v1.4.9 (active)\r\nlanguage-postcss, v1.2.3 (active)\r\nlanguage-restructuredtext, v1.0.0 (active)\r\nlinter, v1.11.14 (active)\r\nlinter-eslint, v7.2.4 (active)\r\nlinter-stylelint, v3.0.2 (active)\r\nminimap, v4.24.7 (active)\r\nminimap-pigments, v0.2.1 (active)\r\nperfectionist, v1.0.1 (inactive)\r\npigments, v0.31.2 (active)\r\nproject-manager, v2.9.7 (active)\r\npulsing-cursor, v0.3.1 (active)\r\nsource-preview, v0.5.0 (inactive)\r\nsource-preview-postcss, v0.1.4 (inactive)\r\nspacegray-dark-syntax, v0.2.0 (inactive)\r\nspacegray-dark-ui, v0.12.0 (inactive)\r\nstylefmt, v2.1.0 (inactive)\r\nsvg-preview, v0.7.4 (active)\r\nsync-settings, v0.7.2 (active)\r\nterminal-plus, v0.14.5 (active)\r\ntoggle-quotes, v1.0.0 (inactive)\r\natom-dark-syntax, v0.27.0 (inactive)\r\natom-dark-ui, v0.51.0 (inactive)\r\natom-light-syntax, v0.28.0 (inactive)\r\natom-light-ui, v0.43.0 (inactive)\r\nbase16-tomorrow-dark-theme, v1.1.0 (inactive)\r\nbase16-tomorrow-light-theme, v1.1.1 (inactive)\r\none-dark-ui, v1.3.2 (inactive)\r\none-light-ui, v1.3.2 (inactive)\r\none-dark-syntax, v1.2.0 (inactive)\r\none-light-syntax, v1.2.0 (inactive)\r\nsolarized-dark-syntax, v1.0.2 (inactive)\r\nsolarized-light-syntax, v1.0.2 (inactive)\r\nabout, v1.5.2 (active)\r\narchive-view, v0.61.1 (active)\r\nautocomplete-atom-api, v0.10.0 (active)\r\nautocomplete-css, v0.11.1 (active)\r\nautocomplete-html, v0.7.2 (active)\r\nautocomplete-plus, v2.31.0 (active)\r\nautocomplete-snippets, v1.11.0 (active)\r\nautoflow, v0.27.0 (inactive)\r\nautosave, v0.23.1 (active)\r\nbackground-tips, v0.26.0 (active)\r\nbookmarks, v0.41.0 (active)\r\nbracket-matcher, v0.82.1 (active)\r\ncommand-palette, v0.38.0 (inactive)\r\ndeprecation-cop, v0.54.1 (active)\r\ndev-live-reload, v0.47.0 (active)\r\nencoding-selector, v0.22.0 (active)\r\nexception-reporting, v0.38.1 (active)\r\nfuzzy-finder, v1.3.0 (active)\r\ngit-diff, v1.1.0 (active)\r\nfind-and-replace, v0.198.0 (inactive)\r\ngo-to-line, v0.31.0 (inactive)\r\ngrammar-selector, v0.48.1 (active)\r\nimage-view, v0.58.0 (active)\r\nincompatible-packages, v0.26.1 (active)\r\nkeybinding-resolver, v0.35.0 (active)\r\nline-ending-selector, v0.5.0 (active)\r\nlink, v0.31.1 (inactive)\r\nmarkdown-preview, v0.158.0 (active)\r\nmetrics, v0.53.1 (active)\r\nnotifications, v0.64.1 (active)\r\nopen-on-github, v1.2.0 (inactive)\r\npackage-generator, v1.0.0 (inactive)\r\nsettings-view, v0.238.0 (active)\r\nsnippets, v1.0.2 (active)\r\nspell-check, v0.67.1 (active)\r\nstatus-bar, v1.4.0 (active)\r\nstyleguide, v0.46.0 (active)\r\nsymbols-view, v0.113.0 (inactive)\r\ntabs, v0.98.0 (active)\r\ntimecop, v0.33.1 (active)\r\ntree-view, v0.208.0 (active)\r\nupdate-package-dependencies, v0.10.0 (active)\r\nwelcome, v0.34.0 (active)\r\nwhitespace, v0.32.2 (active)\r\nwrap-guide, v0.38.1 (active)\r\nlanguage-c, v0.52.1 (active)\r\nlanguage-clojure, v0.21.0 (active)\r\nlanguage-coffee-script, v0.47.0 (active)\r\nlanguage-csharp, v0.12.1 (active)\r\nlanguage-css, v0.36.2 (active)\r\nlanguage-gfm, v0.86.0 (active)\r\nlanguage-git, v0.13.0 (active)\r\nlanguage-go, v0.42.0 (active)\r\nlanguage-html, v0.44.1 (active)\r\nlanguage-hyperlink, v0.16.0 (active)\r\nlanguage-java, v0.22.0 (active)\r\nlanguage-javascript, v0.119.0 (active)\r\nlanguage-json, v0.18.0 (active)\r\nlanguage-less, v0.29.3 (active)\r\nlanguage-make, v0.22.2 (active)\r\nlanguage-mustache, v0.13.0 (active)\r\nlanguage-objective-c, v0.15.1 (active)\r\nlanguage-perl, v0.35.0 (active)\r\nlanguage-php, v0.37.0 (active)\r\nlanguage-property-list, v0.8.0 (active)\r\nlanguage-python, v0.45.0 (active)\r\nlanguage-ruby, v0.68.5 (active)\r\nlanguage-ruby-on-rails, v0.25.0 (active)\r\nlanguage-sass, v0.52.0 (active)\r\nlanguage-shellscript, v0.22.3 (active)\r\nlanguage-source, v0.9.0 (active)\r\nlanguage-sql, v0.21.1 (active)\r\nlanguage-text, v0.7.1 (active)\r\nlanguage-todo, v0.28.0 (active)\r\nlanguage-toml, v0.18.0 (active)\r\nlanguage-xml, v0.34.8 (active)\r\nlanguage-yaml, v0.26.0 (active)\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/victor-torres/atom-hg/issues/comments/240898472","html_url":"https://github.com/victor-torres/atom-hg/issues/23#issuecomment-240898472","issue_url":"https://api.github.com/repos/victor-torres/atom-hg/issues/23","id":240898472,"user":{"login":"victor-torres","id":3674112,"avatar_url":"https://avatars.githubusercontent.com/u/3674112?v=3","gravatar_id":"","url":"https://api.github.com/users/victor-torres","html_url":"https://github.com/victor-torres","followers_url":"https://api.github.com/users/victor-torres/followers","following_url":"https://api.github.com/users/victor-torres/following{/other_user}","gists_url":"https://api.github.com/users/victor-torres/gists{/gist_id}","starred_url":"https://api.github.com/users/victor-torres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victor-torres/subscriptions","organizations_url":"https://api.github.com/users/victor-torres/orgs","repos_url":"https://api.github.com/users/victor-torres/repos","events_url":"https://api.github.com/users/victor-torres/events{/privacy}","received_events_url":"https://api.github.com/users/victor-torres/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T00:44:49Z","updated_at":"2016-08-19T00:44:49Z","body":"```\r\n$ apm publish 2.0.7                                                                                                                                                                              [21:44:13]\r\nPreparing and tagging a new version ✓\r\nPushing v2.0.7 tag ✓\r\nPublishing atom-hg@v2.0.7 ✓\r\n```"}}
{"actor":{"display_login":"victor-torres"}}