josa42 / atom-blame

Show git blame as a gutter in Atom editor
https://atom.io/packages/blame
MIT License
22 stars 18 forks source link

Uncaught Error: Tried to create a gutter with a name that is already in use. #9

Closed jlgeering closed 9 years ago

jlgeering commented 9 years ago

[Enter steps to reproduce below:]

  1. install blame
  2. uninstall blame (empty gutter)
  3. install blame and git-blame
  4. hit ctrl + b (while git-blame still installing?)

Atom Version: 1.0.13 System: Mac OS X 10.10.5 Thrown From: blame package, v0.5.1

Stack Trace

Uncaught Error: Tried to create a gutter with a name that is already in use.

At /opt/homebrew-cask/Caskroom/atom/1.0.7/Atom.app/Contents/Resources/app.asar/src/gutter-container.js:36

Error: Tried to create a gutter with a name that is already in use.
  at GutterContainer.module.exports.GutterContainer.addGutter (/opt/homebrew-cask/Caskroom/atom/1.0.7/Atom.app/Contents/Resources/app.asar/src/gutter-container.js:36:15)
  at TextEditor.module.exports.TextEditor.addGutter (/opt/homebrew-cask/Caskroom/atom/1.0.7/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2613:35)
  at new BlameGutterView (/Users/jluf/.atom/packages/blame/lib/blame-gutter-view.coffee:15:23)
  at Object.module.exports.toggleBlameGutter (/Users/jluf/.atom/packages/blame/lib/init.coffee:34:20)
  at atom-workspace.atom.commands.add.blame:toggle (/Users/jluf/.atom/packages/blame/lib/init.coffee:22:27)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/1.0.7/Atom.app/Contents/Resources/app.asar/src/command-registry.js:240:29)
  at /opt/homebrew-cask/Caskroom/atom/1.0.7/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/homebrew-cask/Caskroom/atom/1.0.7/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/homebrew-cask/Caskroom/atom/1.0.7/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/opt/homebrew-cask/Caskroom/atom/1.0.7/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:184:20)

Commands

  4x -1:58.8.0 blame:toggle (atom-text-editor.editor.is-focused)
     -1:37.2.0 settings-view:open (atom-text-editor.editor.is-focused)
     -1:32.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:01.1.0 blame:toggle (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "copy-config-info",
      "copy-config-info",
      "autocomplete-css"
    ],
    "themes": [
      "atom-light-ui",
      "atom-light-syntax"
    ]
  },
  "blame": {}
}

Installed Packages

# User
blame, v0.5.1
color-picker, v2.0.11
editorconfig, v1.2.0
emmet, v2.3.12
lisp-paredit, v0.4.6
minimap, v4.13.3
pigments, v0.15.0
sync-settings, v0.6.0

# Dev
No dev packages