Closed yousung closed 7 years ago
I made an update and solved it.
Still having the problem... even after update.
Atom Version: 1.13.0 Electron Version: 1.3.13 System: HPAVDEAN Thrown From: minimap-highlight-selected package, v4.5.0
Failed to activate the minimap-highlight-selected package
At this.highlightSelected.onDidAddSelectedMarker is not a function
TypeError: this.highlightSelected.onDidAddSelectedMarker is not a function
at MinimapHighlightSelected.init (file:///C:/Users/dean/.atom/packages/minimap-highlight-selected/lib/minimap-highlight-selected.coffee:38:24)
at MinimapHighlightSelected.init (file:///C:/Users/dean/.atom/packages/minimap-highlight-selected/lib/minimap-highlight-selected.coffee:1:1)
at MinimapHighlightSelected.consumeHighlightSelectedServiceV1 (file:///C:/Users/dean/.atom/packages/minimap-highlight-selected/lib/minimap-highlight-selected.coffee:14:6)
at Provider.module.exports.Provider.provide (C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\service-hub\lib\provider.js:29:52)
at ServiceHub.module.exports.ServiceHub.consume (C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\service-hub\lib\service-hub.js:50:18)
at Package.module.exports.Package.activateServices (C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:377:75)
at Package.module.exports.Package.activateNow (C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:194:16)
at C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:164:32
at Package.module.exports.Package.measure (C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:94:15)
at C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:157:26
at Package.module.exports.Package.activate (C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:154:34)
at PackageManager.module.exports.PackageManager.activatePackage (C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package-manager.js:550:34)
at C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package-manager.js:531:29
at Config.module.exports.Config.transactAsync (C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\config.js:337:18)
at PackageManager.module.exports.PackageManager.activatePackages (C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package-manager.js:526:19)
at PackageManager.module.exports.PackageManager.activate (C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package-manager.js:508:46)
at C:\Users\dean\AppData\Local\atom\app-1.13.0\resources\app.asar\src\atom-environment.js:831:28
-0:00.7.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-gloom.theme-clean-ui)
{
"core": {
"disabledPackages": [
"Remote-FTP",
"atom-beautify"
],
"packagesWithKeymapsDisabled": [],
"projectHome": "G:\\work\\development",
"restorePreviousWindowsOnStart": false,
"telemetryConsent": "limited",
"themes": [
"clean-ui",
"gloom"
]
}
}
# User
an-old-hope-syntax, v0.5.0 (inactive)
atom-material-syntax, v0.4.6 (inactive)
atom-material-ui, v1.3.9 (inactive)
atom-panda-syntax, v0.16.0 (inactive)
bezier-curve-editor, v0.7.2 (inactive)
change-tabs, v0.2.0 (inactive)
clean-ui, v1.8.2 (inactive)
color-picker, v2.2.4 (inactive)
docblockr, v0.9.1 (inactive)
duotone-dark-sea-syntax, v2.0.1 (inactive)
duotone-dark-space-syntax, v2.0.1 (inactive)
duotone-dark-syntax, v2.0.1 (inactive)
editorconfig, v2.1.0 (inactive)
emmet, v2.4.3 (inactive)
file-icons, v2.0.8 (inactive)
firewatch-syntax, v1.0.1 (inactive)
git-plus, v7.0.7 (inactive)
gloom, v0.4.0 (inactive)
hacking-the-kernel, v1.6.1 (inactive)
hacking-the-kernel-ui, v1.6.0 (inactive)
highlight-line, v0.11.2 (inactive)
highlight-selected, v0.11.2 (inactive)
iceberg-syntax, v0.2.2 (inactive)
language-blade, v0.26.3 (inactive)
language-pug, v0.0.19 (inactive)
language-twig, v1.6.3 (inactive)
language-vue, v0.21.1 (inactive)
linter, v1.11.18 (inactive)
linter-eslint, v8.0.0 (inactive)
linter-php, v1.3.1 (inactive)
linter-pug, v1.3.0 (inactive)
linter-sass-lint, v1.7.4 (inactive)
minimap, v4.25.7 (inactive)
minimap-highlight-selected, v4.5.0 (inactive)
one-dark-vivid-syntax, v1.5.0 (inactive)
pigments, v0.37.0 (inactive)
project-plus, v0.9.0 (inactive)
sync-settings, v0.8.1 (inactive)
tabs-to-spaces, v1.0.3 (inactive)
todo-show, v1.9.0 (inactive)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (inactive)
one-light-ui, v1.8.2 (inactive)
one-dark-syntax, v1.6.0 (inactive)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (inactive)
archive-view, v0.62.0 (inactive)
autocomplete-atom-api, v0.10.0 (inactive)
autocomplete-css, v0.14.1 (inactive)
autocomplete-html, v0.7.2 (inactive)
autocomplete-plus, v2.33.1 (inactive)
autocomplete-snippets, v1.11.0 (inactive)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (inactive)
background-tips, v0.26.1 (inactive)
bookmarks, v0.43.2 (inactive)
bracket-matcher, v0.85.1 (inactive)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (inactive)
dev-live-reload, v0.47.0 (inactive)
encoding-selector, v0.22.0 (inactive)
exception-reporting, v0.40.0 (inactive)
find-and-replace, v0.204.5 (inactive)
fuzzy-finder, v1.4.0 (inactive)
git-diff, v1.2.0 (inactive)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (inactive)
image-view, v0.60.0 (inactive)
incompatible-packages, v0.26.1 (inactive)
keybinding-resolver, v0.35.0 (inactive)
line-ending-selector, v0.5.1 (inactive)
link, v0.31.2 (inactive)
markdown-preview, v0.159.1 (inactive)
metrics, v1.1.2 (inactive)
notifications, v0.65.1 (inactive)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (inactive)
snippets, v1.0.4 (inactive)
spell-check, v0.68.5 (inactive)
status-bar, v1.6.0 (inactive)
styleguide, v0.48.0 (inactive)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (inactive)
timecop, v0.33.2 (inactive)
tree-view, v0.211.1 (inactive)
update-package-dependencies, v0.10.0 (inactive)
welcome, v0.35.1 (inactive)
whitespace, v0.35.0 (inactive)
wrap-guide, v0.39.0 (inactive)
language-c, v0.54.0 (inactive)
language-clojure, v0.22.1 (inactive)
language-coffee-script, v0.48.1 (inactive)
language-csharp, v0.13.0 (inactive)
language-css, v0.40.1 (inactive)
language-gfm, v0.88.0 (inactive)
language-git, v0.15.0 (inactive)
language-go, v0.43.0 (inactive)
language-html, v0.47.1 (inactive)
language-hyperlink, v0.16.1 (inactive)
language-java, v0.24.0 (inactive)
language-javascript, v0.122.0 (inactive)
language-json, v0.18.3 (inactive)
language-less, v0.29.6 (inactive)
language-make, v0.22.2 (inactive)
language-mustache, v0.13.0 (inactive)
language-objective-c, v0.15.1 (inactive)
language-perl, v0.37.0 (inactive)
language-php, v0.37.3 (inactive)
language-property-list, v0.8.0 (inactive)
language-python, v0.45.1 (inactive)
language-ruby, v0.70.2 (inactive)
language-ruby-on-rails, v0.25.1 (inactive)
language-sass, v0.57.0 (inactive)
language-shellscript, v0.23.0 (inactive)
language-source, v0.9.0 (inactive)
language-sql, v0.25.0 (inactive)
language-text, v0.7.1 (inactive)
language-todo, v0.29.1 (inactive)
language-toml, v0.18.1 (inactive)
language-xml, v0.34.12 (inactive)
language-yaml, v0.27.1 (inactive)
# Dev
No dev packages
You need to update highlight-selected
@richrace Yeah, works now. :)
I have the same issue and all my packages are updated :/
Nevermind, was not updated to 1.13
Atom throws this error, but minimap-highlight-selected works fine
@dutch92: Updating Atom manually (by clicking "Install updates and restart" or similar from the menu), checking for outdated packages, updating and restarting Atom solved this issue for me.
I get this error every time and reinstalling the package or updating does not solve it. Sometimes I wish Atom development froze so I don't have to deal with breakage so much..
Thanks for addressing the issue!
Comment - I have 0.11.2 and I can't update to anything newer. I guess I should update atom..
Same here ...
plugin is updated to the last version but still crash
@jlojosnegros I had the same confusion but the confusing thing here is that you need to update to the latest atom (1.13), not the version of this plugin.
my OS is Elementary based on Ubuntu and the latest version of atom is 1.12.6. Atom does not suggest me to upgrade to the version 1.13
Being highlight-selected
didn't fully update until I had Atom 1.13 it would probably be beneficial to do the same thing with this update being it is dependent. (Unless it was just a fluke I didn't get the update until after having 1.13.)
I am also running Linux and the latest version of Atom is 1.12.7 (i.e. 1.13 is not available on Linux yet). I don't see how you can mark this closed when it is still throws errors on one platform.
To solve this I first upgraded Atom (I have 1.13.0 now), then update all the packages. Only after the update and a restart of Atom this error is gone.
Same error after Atom update.
I solve the problem by updating Atom IDE to the most current one which is 1.13.0, then update minimap to 4.26.7, and finally update the minimap-highlight-selected to 4.5.0. Hope this helps.
I'm on Windows 10 btw.
Atom Version: 1.13.0 Electron Version: 1.3.13 System: Mac OS X 10.12.2 Thrown From: minimap package, v4.26.7
Uncaught TypeError: Cannot read property 'pixelPositionForScreenPosition' of null
At /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:298
TypeError: Cannot read property 'pixelPositionForScreenPosition' of null
at atom-text-editor.TextEditorElement.pixelPositionForScreenPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:298:28)
at StableAdapter.computeScrollTop (/Users/ashtonmeuser/.atom/packages/minimap/lib/adapters/stable-adapter.js:60:42)
at StableAdapter.getScrollTop (/Users/ashtonmeuser/.atom/packages/minimap/lib/adapters/stable-adapter.js:51:17)
at Minimap.getTextEditorScrollRatio (/Users/ashtonmeuser/.atom/packages/minimap/lib/minimap.js:532:25)
at Minimap.getCapedTextEditorScrollRatio (/Users/ashtonmeuser/.atom/packages/minimap/lib/minimap.js:544:29)
at Minimap.getScrollTopFromEditor (/Users/ashtonmeuser/.atom/packages/minimap/lib/minimap.js:867:12)
at Minimap.getScrollTop (/Users/ashtonmeuser/.atom/packages/minimap/lib/minimap.js:821:14)
at Minimap.getLastVisibleScreenRow (/Users/ashtonmeuser/.atom/packages/minimap/lib/minimap.js:799:13)
at Minimap.emitRangeChanges (/Users/ashtonmeuser/.atom/packages/minimap/lib/mixins/decoration-management.js:503:38)
at Minimap.emitDecorationChanges (/Users/ashtonmeuser/.atom/packages/minimap/lib/mixins/decoration-management.js:488:10)
at Minimap.decorateMarker (/Users/ashtonmeuser/.atom/packages/minimap/lib/mixins/decoration-management.js:418:10)
at MinimapGitDiffBinding.module.exports.MinimapGitDiffBinding.markRange (/Users/ashtonmeuser/.atom/packages/minimap-git-diff/lib/minimap-git-diff-binding.coffee:66:14)
at MinimapGitDiffBinding.module.exports.MinimapGitDiffBinding.addDecorations (/Users/ashtonmeuser/.atom/packages/minimap-git-diff/lib/minimap-git-diff-binding.coffee:55:10)
at MinimapGitDiffBinding.module.exports.MinimapGitDiffBinding.updateDiffs (/Users/ashtonmeuser/.atom/packages/minimap-git-diff/lib/minimap-git-diff-binding.coffee:44:8)
at Immediate.<anonymous> (/Users/ashtonmeuser/.atom/packages/minimap-git-diff/lib/minimap-git-diff-binding.coffee:1:1)
at runCallback (timers.js:574:20)
at tryOnImmediate (timers.js:554:5)
at processImmediate [as _immediateCallback] (timers.js:533:5)
-0:57.9.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
-0:06.9.0 project-plus:toggle-project-finder (input.hidden-input)
-0:05.2.0 core:confirm (input.hidden-input)
-0:04.9.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
-0:02.9.0 project-plus:toggle-project-finder (input.hidden-input)
-0:01.3.0 core:confirm (input.hidden-input)
{
"core": {
"automaticallyUpdate": false,
"destroyEmptyPanes": false,
"disabledPackages": [
"language-hyperlink"
],
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"._*",
"Thumbs.db",
"*.pyc",
"node_modules"
],
"packagesWithKeymapsDisabled": [
"highlight-selected",
"activate-power-mode"
],
"telemetryConsent": "no"
},
"minimap": {
"plugins": {
"git-diff": true,
"git-diffDecorationsZIndex": 0,
"highlight-selected": true,
"highlight-selectedDecorationsZIndex": 0
}
}
}
# User
atom-jade, v0.3.0 (active)
export-html, v3.1.0 (inactive)
expose, v0.13.0 (inactive)
file-icons, v2.0.12 (active)
highlight-selected, v0.12.0 (active)
minimap, v4.26.7 (active)
minimap-git-diff, v4.3.1 (active)
minimap-highlight-selected, v4.5.0 (active)
project-plus, v0.9.0 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (active)
one-light-ui, v1.8.2 (inactive)
one-dark-syntax, v1.6.0 (active)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.204.5 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.1 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (inactive)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)
# Dev
No dev packages
On Linux 1.13.1 is available on atom.io website, just download the latest .deb (I did not test the .rpm, I'm on Ubuntu) Edit: But still, this package should have had the same behaviour as the highlight-selected one : not being available for atom < 1.13.
[Enter steps to reproduce below:]
Atom Version: 1.13.0 Electron Version: 1.3.13 System: Unknown Windows Version Thrown From: minimap-highlight-selected package, v4.5.0
Stack Trace
Failed to activate the minimap-highlight-selected package
Commands
Config
Installed Packages