jayk / minimap-autohide

Atom package to automatically hide the mini-map when you aren't using it.
MIT License
8 stars 6 forks source link

Error when installing 'Cannot read property 'minimapForEditor' of null' #10

Open matthieuheitz opened 8 years ago

matthieuheitz commented 8 years ago

I had previously uninstalled that package because the minimap had completely disappeared, and when I tried to reinstall it, I got this error :

Atom Version: 1.5.4 System: Ubuntu 14.04.4 Thrown From: 'minimap-hide' package, vundefined

Stack Trace

Uncaught TypeError: Cannot read property 'minimapForEditor' of null

At /home/matthieu/.atom/packages/minimap-hide/lib/minimap-hide.coffee:40

TypeError: Cannot read property 'minimapForEditor' of null
    at Object.module.exports.show (/home/matthieu/.atom/packages/minimap-hide/lib/minimap-hide.coffee:40:49)
    at /home/matthieu/.atom/packages/minimap-hide/lib/minimap-hide.coffee:29:8
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /usr/share/atom/resources/app.asar/src/pane-container.js:333:27
    at Pane.module.exports.Pane.observeActiveItem (/usr/share/atom/resources/app.asar/src/pane.js:196:7)
    at /usr/share/atom/resources/app.asar/src/pane-container.js:331:42
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at PaneContainer.module.exports.PaneContainer.setActivePane (/usr/share/atom/resources/app.asar/src/pane-container.js:196:22)
    at Pane.module.exports.Pane.activate (/usr/share/atom/resources/app.asar/src/pane.js:634:15)
    at Pane.module.exports.Pane.focus (/usr/share/atom/resources/app.asar/src/pane.js:207:21)
    at atom-pane.<anonymous> (/usr/share/atom/resources/app.asar/src/pane-element.js:50:23)

Commands

     -2:18.5.0 timecop:view (ul.list-inline.tab-bar.inset-panel)
     -1:19.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:31.4.0 core:move-left (atom-text-editor.editor.mini.is-focused)
     -0:31.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:30.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "line-ending-selector",
      "autocomplete-cmake",
      "linter-clang",
      "linter-gcc",
      "linter"
    ],
    "ignoredNames": [
      ".git",
      ".idea"
    ],
    "openEmptyEditorOnStart": false,
    "themes": [
      "atom-light-ui",
      "one-light-syntax"
    ]
  }
}

Installed Packages

# User
autocomplete-clang, v0.8.9
file-icons, v1.6.17
language-cmake, v0.1.4
minimap, v4.19.0
minimap-autohide, v0.10.1
minimap-bookmarks, v0.2.0
minimap-cursorline, v0.1.0
minimap-find-and-replace, v4.4.0
minimap-git-diff, v4.1.8

# Dev
No dev packages