abe33 / atom-pigments

An Atom package to display colors in project and files.
MIT License
522 stars 68 forks source link

Failed to activate the pigments package #17

Closed bobrocke closed 9 years ago

bobrocke commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.199.0 System: Mac OS X 10.10.3 Thrown From: pigments package, v0.3.0

Stack Trace

Failed to activate the pigments package

At Cannot read property 'length' of undefined

TypeError: Cannot read property 'length' of undefined
    at ColorProject.module.exports.ColorProject.getVariableByName (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:382:33)
    at /Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-buffer.coffee:133:36
    at Array.map (native)
    at ColorBuffer.module.exports.ColorBuffer.restoreMarkersState (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-buffer.coffee:125:10)
    at new ColorBuffer (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-buffer.coffee:88:14)
    at ColorProject.module.exports.ColorProject.colorBufferForEditor (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:227:57)
    at /Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:196:26
    at Workspace.module.exports.Workspace.observeTextEditors (/Applications/Development/Atom.app/Contents/Resources/app.asar/src/workspace.js:267:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:193:52)
    at new ColorProject (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:71:12)
    at Function.module.exports.ColorProject.deserialize (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/color-project.coffee:35:14)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Development/Atom.app/Contents/Resources/app.asar/src/deserializer-manager.js:42:29)
    at Object.module.exports.activate (/Users/bob/Dropbox/Application Support/.atom/packages/pigments/lib/pigments.coffee:80:82)
    at Package.module.exports.Package.activateNow (/Applications/Development/Atom.app/Contents/Resources/app.asar/src/package.js:238:19)
    at /Applications/Development/Atom.app/Contents/Resources/app.asar/src/package.js:219:30
    at Package.module.exports.Package.measure (/Applications/Development/Atom.app/Contents/Resources/app.asar/src/package.js:163:15)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "language-make",
      "language-c",
      "language-clojure",
      "language-csharp",
      "language-go",
      "language-java",
      "language-objective-c",
      "language-mustache",
      "language-perl",
      "language-python",
      "language-ruby",
      "language-ruby-on-rails",
      "language-sql",
      "language-toml",
      "linter-tidy",
      "linter-scss-lint",
      "atom-terminal-panel",
      "terminal-status",
      "terminal-panel"
    ],
    "themes": [
      "atom-dark-ui",
      "bob-tomorrow-night"
    ],
    "ignoredNames": [
      "bin"
    ]
  },
  "pigments": {
    "ignoredScopes": [
      ".source.gfm"
    ]
  }
}

Installed Packages

# User
bob-tomorrow-night, v0.6.1
color-picker, v1.7.0
editorconfig, v1.0.0
file-icons, v1.5.5
highlight-line, v0.10.2
language-gitignore, v0.2.0
linter, v0.12.2
linter-coffeelint, v0.2.3
linter-csslint, v0.0.12
linter-htmlhint, v0.0.15
linter-js-yaml, v1.0.1
linter-jshint, v0.1.4
open-recent, v2.2.2
php-twig, v3.0.0
pigments, v0.3.0
tabs-to-spaces, v0.10.0

# Dev
No dev packages
v3ss0n commented 9 years ago

that is happening again after latest update!

v3ss0n commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.2.0-dev-f2aeb63 System: "Sabayon Linux Thrown From: pigments package, v0.16.1

Stack Trace

Failed to activate the pigments package

At this.editorElement.onDidChangeScrollLeft is not a function

TypeError: this.editorElement.onDidChangeScrollLeft is not a function
    at pigments-markers.ColorBufferElement.setModel (/home/v3ss/.atom/packages/pigments/lib/color-buffer-element.coffee:44:39)
    at Object.createView (/home/v3ss/.atom/packages/pigments/lib/color-buffer-element.coffee:207:13)
    at ViewRegistry.module.exports.ViewRegistry.createView (/opt/atom/resources/app.asar/src/view-registry.js:80:72)
    at ViewRegistry.module.exports.ViewRegistry.getView (/opt/atom/resources/app.asar/src/view-registry.js:65:21)
    at /home/v3ss/.atom/packages/pigments/lib/color-project.coffee:252:36
    at Workspace.module.exports.Workspace.observeTextEditors (/opt/atom/resources/app.asar/src/workspace.js:276:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (/home/v3ss/.atom/packages/pigments/lib/color-project.coffee:249:39)
    at new ColorProject (/home/v3ss/.atom/packages/pigments/lib/color-project.coffee:144:6)
    at Function.module.exports.ColorProject.deserialize (/home/v3ss/.atom/packages/pigments/lib/color-project.coffee:104:9)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (/opt/atom/resources/app.asar/src/deserializer-manager.js:42:29)
    at Object.module.exports.activate (/home/v3ss/.atom/packages/pigments/lib/pigments.coffee:90:43)
    at Package.module.exports.Package.activateNow (/opt/atom/resources/app.asar/src/package.js:245:19)
    at /opt/atom/resources/app.asar/src/package.js:226:30
    at Package.module.exports.Package.measure (/opt/atom/resources/app.asar/src/package.js:169:15)
    at Package.module.exports.Package.activate (/opt/atom/resources/app.asar/src/package.js:218:14)
    at PackageManager.module.exports.PackageManager.activatePackage (/opt/atom/resources/app.asar/src/package-manager.js:486:21)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "language-ruby-on-rails",
      "mobile-preview",
      "atom-html-preview",
      "color-picker",
      "run-command",
      "runcoderun",
      "whitespace",
      "autosave",
      "autocomplete-jedi",
      "autocomplete-plus-async",
      "cute-cursor",
      "pulsing-cursor",
      "neon-selection",
      "atom-lint",
      "animation-showcase",
      "tree-view-open-files",
      "autocomplete",
      "ease-blink",
      "highlight-line",
      "minimap-highlight-selected",
      "markdown-writer",
      "atom-alignment",
      "autocomplete-atom-api",
      "fancy-input",
      "sublime-tabs",
      "spell-check",
      "tool-bar-main",
      "tool-bar",
      "flex-tool-bar",
      "gutter-shadow",
      "local-history",
      "tab-rename",
      "goto",
      "cursor-blink-interval",
      "auto-reveal-in-sidebar",
      "language-javascript-better",
      "block-cursor",
      "block-travel",
      "nuclide-file-tree",
      "vim-mode",
      "autohide-tree-view"
    ],
    "ignoredNames": [
      "*.pyc",
      "/home/v3ss/workspace/phwa.be/condaenv",
      "/home/v3ss/workspace/phwa.be/pypyenv",
      "*.zip",
      "*.tar",
      ".hg",
      "./node_modules",
      "node_modules"
    ],
    "autoHideMenuBar": true,
    "themes": [
      "steam-pirate-ui",
      "steam-pirate-syntax"
    ]
  },
  "pigments": {
    "groupPaletteColors": "by file",
    "extendAutocompleteToVariables": true,
    "mergeColorDuplicates": true,
    "sortPaletteColors": "by name"
  }
}

Installed Packages

# User
atom-ternjs, v0.8.1
autocomplete-plus-python-jedi, v0.3.6
browser-plus, v0.0.34
build, v0.47.0
editorconfig, v1.2.0
ember-tabs, v2.0.1
emmet, v2.3.13
file-icons, v1.6.9
file-type-icons, v0.7.3
highlight-column, v0.5.0
highlight-selected, v0.10.1
language-ember-htmlbars, v0.3.0
language-nim, v0.2.2
linter, v1.7.2
linter-coffeelint, v1.1.0
linter-csslint, v1.0.7
linter-flake8, v1.7.0
linter-jshint, v1.2.1
linter-tidy, v1.0.1
linter-xmllint, v0.0.7
minimap, v4.13.4
minimap-bookmarks, v0.1.0
minimap-find-and-replace, v4.3.0
minimap-selection, v4.3.1
nuclide-diff-view, v0.0.32
nuclide-hg-repository, v0.0.32
pdf-view, v0.28.0
pigments, v0.16.1
script-runner, v1.8.4
steam-pirate-syntax, v0.3.0
steam-pirate-ui, v0.6.1
svg-preview, v0.6.1
symbols-tree-view, v0.10.0
synced-sidebar, v0.4.0
tabs-to-spaces, v0.11.1
web-browser, v1.5.0

# Dev
No dev packages
abe33 commented 9 years ago

@v3ss0n I think you got bitten by the fact that custom elements aren't updated unless you reload Atom, do you still get this error after a reload/restart?

v3ss0n commented 9 years ago

ah i gonna try that

Otterpocket commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.1.0-beta.0 System: "openSUSE 13.2 Thrown From: pigments package, v0.16.2

Stack Trace

Failed to activate the pigments package

At this.editorElement.onDidChangeScrollLeft is not a function

TypeError: this.editorElement.onDidChangeScrollLeft is not a function
  at pigments-markers.ColorBufferElement.setModel (/home/ben/.atom/packages/pigments/lib/color-buffer-element.coffee:44:39)
  at Object.createView (/home/ben/.atom/packages/pigments/lib/color-buffer-element.coffee:227:13)
  at ViewRegistry.module.exports.ViewRegistry.createView (/usr/share/atom/resources/app.asar/src/view-registry.js:80:72)
  at ViewRegistry.module.exports.ViewRegistry.getView (/usr/share/atom/resources/app.asar/src/view-registry.js:65:21)
  at /home/ben/.atom/packages/pigments/lib/color-project.coffee:252:36
  at Workspace.module.exports.Workspace.observeTextEditors (/usr/share/atom/resources/app.asar/src/workspace.js:276:9)
  at ColorProject.module.exports.ColorProject.initializeBuffers (/home/ben/.atom/packages/pigments/lib/color-project.coffee:249:39)
  at new ColorProject (/home/ben/.atom/packages/pigments/lib/color-project.coffee:144:6)
  at Function.module.exports.ColorProject.deserialize (/home/ben/.atom/packages/pigments/lib/color-project.coffee:104:9)
  at DeserializerManager.module.exports.DeserializerManager.deserialize (/usr/share/atom/resources/app.asar/src/deserializer-manager.js:42:29)
  at Object.module.exports.activate (/home/ben/.atom/packages/pigments/lib/pigments.coffee:90:43)
  at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:245:19)
  at /usr/share/atom/resources/app.asar/src/package.js:226:30
  at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:169:15)
  at Package.module.exports.Package.activate (/usr/share/atom/resources/app.asar/src/package.js:218:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:486:21)
  at /usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-manager.js:371:29
  at exit (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-manager.js:60:16)
  at triggerExitCallback (/usr/share/atom/resources/app.asar/src/buffered-process.js:213:47)
  at /usr/share/atom/resources/app.asar/src/buffered-process.js:220:18
  at Socket.<anonymous> (/usr/share/atom/resources/app.asar/src/buffered-process.js:98:18)
  at emitOne (events.js:82:20)
  at Socket.emit (events.js:169:7)
  at Pipe._onclose (net.js:467:12)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "remote-edit",
      "metrics",
      "travis-ci-status",
      "slack-atom",
      "auto-detect-indentation",
      "indent-guide-improved",
      "erb-snippets",
      "neon-cursor",
      "atom-color-highlight",
      "silverstripe-bundle",
      "git-tab-status",
      "linter-rubocop"
    ],
    "autoHideMenuBar": true,
    "projectHome": "/home/ben/prj"
  }
}

Installed Packages

# User
Stylus, v1.2.1
auto-indent, v0.5.0
autocomplete-elixir, v1.3.12
autocomplete-paths, v1.0.2
autocomplete-sass, v0.1.0
blackspace, v1.1.0
build, v0.47.0
build-elixir, v0.2.0
build-gulp, v0.2.0
coffee-compile, v0.19.1
color-picker, v2.0.13
css-snippets, v0.9.0
docblockr, v0.7.3
elixir-cmd, v0.2.9
file-icons, v1.6.9
git-log, v0.4.1
highlight-selected, v0.10.1
iex, v0.9.18
indentation-indicator, v0.6.0
language-arduino, v0.3.1
language-blade, v0.16.0
language-elixir, v0.5.2
language-spec, v0.1.0
language-stylus, v0.2.0
laravel, v0.7.0
linter, v1.8.1
linter-coffeelint, v1.1.0
linter-elixirc, v0.2.2
linter-erb, v0.1.1
linter-js-yaml, v1.1.2
linter-php, v1.0.5
linter-ruby, v1.2.0
pigments, v0.16.2
project-manager, v2.6.1
pulsing-cursor, v0.3.1
resize-indent, v0.2.1
ruby-block, v0.3.5
ruby-syntax-replacer, v0.5.1
sass-autocompile, v0.10.3
silverstripe-syntax-and-snippets, v0.4.0
symbols-tree-view, v0.10.0
tab-control, v0.6.8
tabs-to-spaces, v0.11.1
terminal-panel, v1.14.1
tualo-git-context, v0.6.16
up2date, v0.0.7
useful-context-menu, v0.3.0

# Dev
No dev packages
abe33 commented 9 years ago

@Otterpocket I just pushed a patch that should fix this error by reintroducing the support for the now deprecated API.

Otterpocket commented 9 years ago

@abe33 :+1:

montogeek commented 8 years ago

Hello!

I just got this error, the package got an update, when reactivating it the error appears.

broneks commented 8 years ago

I'm also seeing this error when reactivating the package.

rudiruhl commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.4.0 System: Ubuntu 15.10 Thrown From: pigments package, v0.23.1

Stack Trace

Failed to activate the pigments package

At unmatched ] in /home/devgrizzlies/.atom/packages/pigments/lib/color-expression.coffee:2:41

SyntaxError: unmatched ]
  at /home/devgrizzlies/.atom/packages/pigments/lib/color-expression.coffee:2:41

Commands

Config

{
  "core": {
    "disabledPackages": [
      "emmet",
      "minimap"
    ],
    "themes": [
      "one-dark-ui",
      "spacegray-atom-dark-syntax"
    ]
  },
  "pigments": {
    "markerType": "dot"
  }
}

Installed Packages

# User
pigments, v0.23.1
spacegray-atom-dark-syntax, v1.1.1

# Dev
No dev packages
abe33 commented 8 years ago

@devgrizzlies Looks like some weird compilation issue you got there.

As you can see here there's not ] at line two. Do you mind trying to uninstall/reinstall Pigments to check if you stil get this issue?

rudiruhl commented 8 years ago

@abe33 i reinstalled it and now it works.

morgaan commented 8 years ago

I'm still getting it after reinstall. I can't do New File or New Window as pigments is enable :(

c0m3tx commented 8 years ago

Getting this error since today's update

Atom Version: 1.8.0-beta2 System: Archlinux 64-bit Thrown From: pigments package, v0.26.1

Stack trace:

TypeError: this.editor.onDidTokenize is not a function
    at new ColorBuffer (/home/c0m3tx/.atom/packages/pigments/lib/color-buffer.coffee:21:32)
    at ColorProject.module.exports.ColorProject.colorBufferForEditor (/home/c0m3tx/.atom/packages/pigments/lib/color-project.coffee:306:55)
    at /home/c0m3tx/.atom/packages/pigments/lib/color-project.coffee:283:17
    at Workspace.module.exports.Workspace.observeTextEditors (/usr/share/atom-beta/resources/app.asar/src/workspace.js:307:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (/home/c0m3tx/.atom/packages/pigments/lib/color-project.coffee:280:39)
    at new ColorProject (/home/c0m3tx/.atom/packages/pigments/lib/color-project.coffee:170:6)
    at Function.module.exports.ColorProject.deserialize (/home/c0m3tx/.atom/packages/pigments/lib/color-project.coffee:102:9)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (/usr/share/atom-beta/resources/app.asar/src/deserializer-manager.js:45:29)
    at Object.module.exports.activate (/home/c0m3tx/.atom/packages/pigments/lib/pigments.coffee:105:26)
    at Package.module.exports.Package.activateNow (/usr/share/atom-beta/resources/app.asar/src/package.js:183:20)
    at /usr/share/atom-beta/resources/app.asar/src/package.js:156:32
    at Package.module.exports.Package.measure (/usr/share/atom-beta/resources/app.asar/src/package.js:92:15)
    at /usr/share/atom-beta/resources/app.asar/src/package.js:149:26
    at Package.module.exports.Package.activate (/usr/share/atom-beta/resources/app.asar/src/package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom-beta/resources/app.asar/src/package-manager.js:538:21)
    at /usr/share/atom-beta/resources/app.asar/node_modules/settings-view/lib/package-manager.js:452:29
    at exit (/usr/share/atom-beta/resources/app.asar/node_modules/settings-view/lib/package-manager.js:73:16)
    at triggerExitCallback (/usr/share/atom-beta/resources/app.asar/src/buffered-process.js:215:47)
    at /usr/share/atom-beta/resources/app.asar/src/buffered-process.js:229:18
    at Socket.<anonymous> (/usr/share/atom-beta/resources/app.asar/src/buffered-process.js:100:18)
    at emitOne (events.js:82:20)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)
DdZ-Fred commented 8 years ago

Same as @c0m3tx , package activation fails since last update. And uninstalling/reinstalling it doesn't help.

Atom Version: 1.7.3 System: Microsoft Windows 10 Home Thrown From: pigments package, v0.26.1

Stack Trace

Failed to activate the pigments package

At this.editor.onDidTokenize is not a function

TypeError: this.editor.onDidTokenize is not a function
    at new ColorBuffer (file:///C:/Users/ddz-temp/.atom/packages/pigments/lib/color-buffer.coffee:21:32)
    at ColorProject.module.exports.ColorProject.colorBufferForEditor (file:///C:/Users/ddz-temp/.atom/packages/pigments/lib/color-project.coffee:306:55)
    at file:///C:/Users/ddz-temp/.atom/packages/pigments/lib/color-project.coffee:283:17
    at Workspace.module.exports.Workspace.observeTextEditors (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\workspace.js:307:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (file:///C:/Users/ddz-temp/.atom/packages/pigments/lib/color-project.coffee:280:39)
    at new ColorProject (file:///C:/Users/ddz-temp/.atom/packages/pigments/lib/color-project.coffee:170:6)
    at Function.module.exports.ColorProject.deserialize (file:///C:/Users/ddz-temp/.atom/packages/pigments/lib/color-project.coffee:102:9)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\deserializer-manager.js:45:29)
    at Object.module.exports.activate (file:///C:/Users/ddz-temp/.atom/packages/pigments/lib/pigments.coffee:105:26)
    at Package.module.exports.Package.activateNow (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:183:20)
    at C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:156:32
    at Package.module.exports.Package.measure (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:92:15)
    at C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:149:26
    at Package.module.exports.Package.activate (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package-manager.js:538:21)
    at C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package-manager.js:342:19
    at C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\config.js:631:20
    at Function.module.exports.Emitter.simpleDispatch (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
    at Config.module.exports.Config.emitChangeEvent (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\config.js:816:29)
    at Config.module.exports.Config.setRawValue (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\config.js:608:19)
    at Config.module.exports.Config.set (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\config.js:227:14)
    at Config.module.exports.Config.removeAtKeyPath (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\config.js:377:12)
    at Package.module.exports.Package.enable (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:77:26)
    at PackageManager.module.exports.PackageManager.enablePackage (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package-manager.js:169:14)
    at HTMLButtonElement.<anonymous> (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\settings-view\lib\package-card.js:328:27)
    at HTMLButtonElement.jQuery.event.dispatch (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\jquery\dist\jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (C:\Users\ddz-temp\AppData\Local\atom\app-1.7.3\resources\app.asar\node_modules\jquery\dist\jquery.js:4121:28)

Commands

     -8:07.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "turbo-javascript"
    ],
    "themes": [
      "atom-material-ui",
      "atom-material-syntax"
    ]
  }
}

Installed Packages

# User
atom-material-syntax, v0.4.6
atom-material-ui, v1.2.11
atom-typescript, v8.9.1
color-picker, v2.1.1
docblockr, v0.7.3
emmet, v2.4.3
file-icons, v1.7.9
highlight-line, v0.11.1
highlight-selected, v0.11.2
language-babel, v2.19.4
linter, v1.11.4
linter-eslint, v7.2.2
linter-tslint, v0.9.3
minimap, v4.23.3
minimap-find-and-replace, v4.5.1
minimap-highlight-selected, v4.4.0
pigments, v0.26.1
platformio-ide-terminal, v2.0.9
react, v0.15.0
sync-settings, v0.7.2
tidy-markdown, v3.0.0

# Dev
No dev packages
remcohaszing commented 8 years ago

I'm having the same issue as @c0m3tx .

This seems to make tabs not show up properly and show that error message all the time.

I've disabled pigments for now, because it's in an unusable state.

distantnative commented 8 years ago

Same here:

Atom Version: 1.7.3 System: Mac OS X 10.11.4 Thrown From: pigments package, v0.26.1

Stack Trace

Failed to activate the pigments package

At this.editor.onDidTokenize is not a function

TypeError: this.editor.onDidTokenize is not a function
    at new ColorBuffer (/Users/nhoffmann/.atom/packages/pigments/lib/color-buffer.coffee:21:32)
    at ColorProject.module.exports.ColorProject.colorBufferForEditor (/Users/nhoffmann/.atom/packages/pigments/lib/color-project.coffee:306:55)
    at /Users/nhoffmann/.atom/packages/pigments/lib/color-project.coffee:283:17
    at Workspace.module.exports.Workspace.observeTextEditors (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:307:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (/Users/nhoffmann/.atom/packages/pigments/lib/color-project.coffee:280:39)
    at new ColorProject (/Users/nhoffmann/.atom/packages/pigments/lib/color-project.coffee:170:6)
    at Function.module.exports.ColorProject.deserialize (/Users/nhoffmann/.atom/packages/pigments/lib/color-project.coffee:102:9)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Atom.app/Contents/Resources/app.asar/src/deserializer-manager.js:45:29)
    at Object.module.exports.activate (/Users/nhoffmann/.atom/packages/pigments/lib/pigments.coffee:105:26)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:183:20)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:156:32
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:149:26
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:538:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:519:29
    at Config.module.exports.Config.transactAsync (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:514:19)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:497:46)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:754:28

Commands

Config

{
  "core": {
    "disabledPackages": [
      "language-c",
      "language-clojure",
      "language-csharp",
      "language-git",
      "language-go",
      "language-java",
      "language-make",
      "language-mustache",
      "language-objective-c",
      "language-perl",
      "language-property-list",
      "language-python",
      "language-ruby",
      "language-ruby-on-rails",
      "language-shellscript",
      "language-todo",
      "language-toml",
      "open-on-github",
      "archive-view",
      "autocomplete-atom-api",
      "background-tips",
      "exception-reporting",
      "spell-check",
      "release-notes",
      "metrics",
      "link",
      "filesize"
    ],
    "ignoredNames": [
      ".DS_Store",
      "._*",
      ".git",
      ".sass-cache",
      "config.codekit",
      ".codekit-cache",
      "node_modules",
      ".tx"
    ],
    "packagesWithKeymapsDisabled": [
      "highlight-selected",
      "aligner"
    ],
    "projectHome": "/Users/nhoffmann/Sites"
  },
  "pigments": {
    "groupPaletteColors": "by file",
    "markerType": "square-dot"
  }
}

Installed Packages

# User
aligner, v0.22.0
aligner-css, v1.2.0
aligner-php, v1.0.0
aligner-scss, v1.1.0
autoclose-html, v0.23.0
autocomplete-php, v0.3.7
color-picker, v2.1.1
docblockr, v0.7.3
emmet, v2.4.3
file-icons, v1.7.9
highlight-selected, v0.11.2
javascript-snippets, v1.2.1
jquery-snippets, v11.0.0
language-htaccess, v0.1.1
linter, v1.11.4
linter-htmlhint, v1.1.4
linter-jshint, v2.1.0
linter-php, v1.2.0
linter-sass-lint, v1.4.2
merge-conflicts, v1.4.2
minimap, v4.23.4
minimap-bookmarks, v0.3.0
minimap-linter, v1.1.1
minimap-pigments, v0.2.0
minimap-selection, v4.4.0
pigments, v0.26.1
project-manager, v2.9.7
sync-settings, v0.7.2

# Dev
No dev packages
kessiacastro commented 8 years ago

Same issue above. I tried to uninstall but the error persists.

camel-chased commented 8 years ago

after update same error

valpinkman commented 8 years ago

Same after update to 0.26.2

Atom Version: 1.7.3 System: Mac OS X 10.11.5 Thrown From: pigments package, v0.26.2

Stack Trace

Failed to activate the pigments package

At this.editor.onDidTokenize is not a function

TypeError: this.editor.onDidTokenize is not a function
  at new ColorBuffer (/Volumes/Arista/valpinkman/.atom/packages/pigments/lib/color-buffer.coffee:22:17)
  at ColorProject.module.exports.ColorProject.colorBufferForEditor (/Volumes/Arista/valpinkman/.atom/packages/pigments/lib/color-project.coffee:306:55)
  at /Volumes/Arista/valpinkman/.atom/packages/pigments/lib/color-project.coffee:283:17
  at Workspace.module.exports.Workspace.observeTextEditors (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:307:9)
  at ColorProject.module.exports.ColorProject.initializeBuffers (/Volumes/Arista/valpinkman/.atom/packages/pigments/lib/color-project.coffee:280:39)
  at new ColorProject (/Volumes/Arista/valpinkman/.atom/packages/pigments/lib/color-project.coffee:170:6)
  at Function.module.exports.ColorProject.deserialize (/Volumes/Arista/valpinkman/.atom/packages/pigments/lib/color-project.coffee:102:9)
  at DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Atom.app/Contents/Resources/app.asar/src/deserializer-manager.js:45:29)
  at Object.module.exports.activate (/Volumes/Arista/valpinkman/.atom/packages/pigments/lib/pigments.coffee:105:26)
  at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:183:20)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:156:32
  at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:149:26
  at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:146:34)
  at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:538:21)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:342:19
  at /Applications/Atom.app/Contents/Resources/app.asar/src/config.js:631:20
  at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
  at Config.module.exports.Config.emitChangeEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:816:29)
  at Config.module.exports.Config.setRawValue (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:608:19)
  at Config.module.exports.Config.set (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:227:14)
  at Config.module.exports.Config.removeAtKeyPath (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:377:12)
  at Package.module.exports.Package.enable (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:77:26)
  at PackageManager.module.exports.PackageManager.enablePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:169:14)
  at HTMLButtonElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-card.js:328:27)
  at HTMLButtonElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLButtonElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -7:37.3.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -7:36.4.0 core:save (atom-text-editor.editor.is-focused)
     -7:17.5.0 nuclide-code-format:format-code (atom-text-editor.editor.is-focused)
  3x -6:21.3.0 core:close (atom-text-editor.editor.is-focused)
  2x -2:13.4.0 editor:log-cursor-scope (atom-text-editor.editor.is-focused)
     -2:11.3.0 command-palette:toggle (atom-text-editor.editor.is-focused)
 14x -2:08.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -2:07.3.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -2:07.3.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:11.7.0 settings-view:open (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "customFileTypes": {
      "source.ini": [
        ".buckconfig",
        ".flowconfig"
      ],
      "source.json": [
        ".arcconfig",
        "BUCK.autodeps"
      ],
      "source.python": [
        "BUCK"
      ]
    },
    "disabledPackages": [
      "linter-jshint",
      "autocomplete-ruby",
      "autocomplete-php",
      "atom-typescript",
      "build-grunt",
      "gulp-snippets",
      "ionic-framework-snippets",
      "language-javascript",
      "angularjs",
      "php-twig",
      "react",
      "language-javascript-jsx"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      ".sass-cache"
    ],
    "openEmptyEditorOnStart": false,
    "packagesWithKeymapsDisabled": [
      "nuclide-file-tree"
    ],
    "themes": [
      "atom-material-ui",
      "one-dark-syntax"
    ]
  },
  "pigments": {
    "extendAutocompleteToColorValue": true,
    "extendAutocompleteToVariables": true
  }
}

Installed Packages

# User
angularjs-styleguide-snippets-es6, v1.0.3
atom-beautify, v0.29.7
atom-material-ui, v1.2.11
autoclose-html, v0.23.0
autocomplete-emojis, v2.3.0
autocomplete-ionic-framework, v0.2.2
autocomplete-modules, v1.4.1
autocomplete-paths, v1.0.2
autocomplete-sass, v0.1.0
build, v0.61.0
build-gulp, v0.8.0
build-npm-apm, v0.12.0
chary-tree-view, v0.2.3
css-snippets, v0.9.0
docblockr, v0.7.3
editorconfig, v1.4.1
egghead-react-snippets, v1.1.1
file-icons, v1.7.9
goto-definition, v1.1.15
haskell-grammar, v0.4.0
highlight-selected, v0.11.2
javascript-snippets, v1.2.1
language-babel, v2.19.4
language-ini, v1.16.0
language-ocaml, v1.1.2
language-svg, v0.9.0
language-thrift, v1.0.2
line-diff-details, v1.2.0
linter, v1.11.4
linter-eslint, v7.2.2
linter-sass-lint, v1.4.2
linter-scss-lint, v2.5.1
merge-conflicts, v1.4.2
nuclide, v0.135.0
pigments, v0.26.2
project-manager, v2.9.7
svg-preview, v0.7.4
sync-settings, v0.7.2
tool-bar, v0.4.0
tree-view-git-status, v0.2.3

# Dev
No dev packages
ghost commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.3 System: "Manjaro Linux" Thrown From: pigments package, v0.26.1

Stack Trace

Failed to activate the pigments package

At this.editor.onDidTokenize is not a function

TypeError: this.editor.onDidTokenize is not a function
    at new ColorBuffer (/home/sanheir/.atom/packages/pigments/lib/color-buffer.coffee:21:32)
    at ColorProject.module.exports.ColorProject.colorBufferForEditor (/home/sanheir/.atom/packages/pigments/lib/color-project.coffee:306:55)
    at /home/sanheir/.atom/packages/pigments/lib/color-project.coffee:283:17
    at Workspace.module.exports.Workspace.observeTextEditors (/usr/share/atom/resources/app.asar/src/workspace.js:307:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (/home/sanheir/.atom/packages/pigments/lib/color-project.coffee:280:39)
    at new ColorProject (/home/sanheir/.atom/packages/pigments/lib/color-project.coffee:170:6)
    at Function.module.exports.ColorProject.deserialize (/home/sanheir/.atom/packages/pigments/lib/color-project.coffee:102:9)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (/usr/share/atom/resources/app.asar/src/deserializer-manager.js:45:29)
    at Object.module.exports.activate (/home/sanheir/.atom/packages/pigments/lib/pigments.coffee:105:26)
    at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:183:20)
    at /usr/share/atom/resources/app.asar/src/package.js:156:32
    at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:92:15)
    at /usr/share/atom/resources/app.asar/src/package.js:149:26
    at Package.module.exports.Package.activate (/usr/share/atom/resources/app.asar/src/package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:538:21)
    at /usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-manager.js:452:29
    at exit (/usr/share/atom/resources/app.asar/node_modules/settings-view/lib/package-manager.js:73:16)
    at triggerExitCallback (/usr/share/atom/resources/app.asar/src/buffered-process.js:215:47)
    at /usr/share/atom/resources/app.asar/src/buffered-process.js:229:18
    at Socket.<anonymous> (/usr/share/atom/resources/app.asar/src/buffered-process.js:100:18)
    at emitOne (events.js:82:20)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "emacs-plus"
    ],
    "themes": [
      "genesis-ui",
      "genesis-syntax"
    ]
  }
}

Installed Packages

# User
Jude, v0.2.8
activate-power-mode, v0.5.2
atom-jade, v0.3.0
atom-language-rust, v0.7.0
atom-notifier, v0.5.0
atomic-chrome, v0.3.0
autocomplete-swift, v1.0.2
coffee-refactor, v0.7.0
color-picker, v2.1.1
elm-format, v1.2.0
emacs-core-keys, v0.2.2
emmet, v2.4.3
file-type-icons, v1.2.0
genesis-syntax, v1.0.7
genesis-ui, v0.5.0
haxe, v0.8.14
ide-haskell-cabal, v1.2.2
ide-haskell-stack, v0.0.3
ink, v0.4.4
js-hyperclick, v1.4.2
js-refactor, v0.6.0
julia-client, v0.4.7
language-elm, v1.3.4
language-haskell, v1.7.15
language-haxe, v0.4.3
language-julia, v0.6.0
language-purescript, v0.7.0
language-rust, v0.4.6
language-srt, v0.1.1
language-swift, v0.4.0
latex-completions, v0.3.1
linter, v1.11.4
linter-elm-make, v0.4.0
linter-js-standard, v3.3.2
linter-rust, v0.4.6
minimap, v4.23.4
pigments, v0.26.1
preview-plus, v1.2.6
racer, v0.20.0
refactor, v0.6.0
tokamak, v0.2.7
tokamak-terminal, v0.1.1
tool-bar, v0.4.0
uber-juno, v0.1.1

# Dev
No dev packages
abe33 commented 8 years ago

@sackery I pushed v0.26.2 which has the fix for that issue

smlombardi commented 8 years ago

just updated to 0.26.2 and immediately get this error:

Tried to create a gutter with a name that is already in use.
Hide Stack Trace
Error: Tried to create a gutter with a name that is already in use.
    at GutterContainer.module.exports.GutterContainer.addGutter (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/gutter-container.js:36:15)
    at TextEditor.module.exports.TextEditor.addGutter (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/text-editor.js:2805:35)
    at pigments-markers.ColorBufferElement.initializeGutter (/Users/stevelombardi/.atom/packages/pigments/lib/color-buffer-element.coffee:6:3)
    at /Users/stevelombardi/.atom/packages/pigments/lib/color-buffer-element.coffee:81:7
    at Config.module.exports.Config.observeKeyPath (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/config.js:612:7)
    at Config.module.exports.Config.observe (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/config.js:141:21)
    at pigments-markers.ColorBufferElement.setModel (/Users/stevelombardi/.atom/packages/pigments/lib/color-buffer-element.coffee:78:8)
    at Object.createView (/Users/stevelombardi/.atom/packages/pigments/lib/color-buffer-element.coffee:5:34)
    at ViewRegistry.module.exports.ViewRegistry.createView (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/view-registry.js:119:78)
    at ViewRegistry.module.exports.ViewRegistry.getView (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/view-registry.js:86:21)
    at /Users/stevelombardi/.atom/packages/pigments/lib/color-project.coffee:285:36
    at Workspace.module.exports.Workspace.observeTextEditors (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/workspace.js:307:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (/Users/stevelombardi/.atom/packages/pigments/lib/color-project.coffee:280:39)
    at new ColorProject (/Users/stevelombardi/.atom/packages/pigments/lib/color-project.coffee:170:6)
    at Function.module.exports.ColorProject.deserialize (/Users/stevelombardi/.atom/packages/pigments/lib/color-project.coffee:102:9)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/deserializer-manager.js:45:29)
    at Object.module.exports.activate (/Users/stevelombardi/.atom/packages/pigments/lib/pigments.coffee:105:26)
    at Package.module.exports.Package.activateNow (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/package.js:183:20)
    at /Applications/Atom Beta.app/Contents/Resources/app.asar/src/package.js:156:32
    at Package.module.exports.Package.measure (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/package.js:92:15)
    at /Applications/Atom Beta.app/Contents/Resources/app.asar/src/package.js:149:26
    at Package.module.exports.Package.activate (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/package-manager.js:538:21)
    at /Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:389:60
    at exit (/Applications/Atom Beta.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:73:16)
    at triggerExitCallback (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/buffered-process.js:215:47)
    at /Applications/Atom Beta.app/Contents/Resources/app.asar/src/buffered-process.js:222:18
    at Socket.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app.asar/src/buffered-process.js:100:18)
    at emitOne (events.js:82:20)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)
skyuplam commented 8 years ago

Get this error right after updating to pigments 0.26.2

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.3 System: Mac OS X 10.11.4 Thrown From: pigments package, v0.26.2

Stack Trace

Failed to activate the pigments package

At this.editor.onDidTokenize is not a function

TypeError: this.editor.onDidTokenize is not a function
    at new ColorBuffer (/Users/terrencelam/.atom/packages/pigments/lib/color-buffer.coffee:22:17)
    at ColorProject.module.exports.ColorProject.colorBufferForEditor (/Users/terrencelam/.atom/packages/pigments/lib/color-project.coffee:306:55)
    at /Users/terrencelam/.atom/packages/pigments/lib/color-project.coffee:283:17
    at Workspace.module.exports.Workspace.observeTextEditors (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:307:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (/Users/terrencelam/.atom/packages/pigments/lib/color-project.coffee:280:39)
    at new ColorProject (/Users/terrencelam/.atom/packages/pigments/lib/color-project.coffee:170:6)
    at Function.module.exports.ColorProject.deserialize (/Users/terrencelam/.atom/packages/pigments/lib/color-project.coffee:102:9)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Atom.app/Contents/Resources/app.asar/src/deserializer-manager.js:45:29)
    at Object.module.exports.activate (/Users/terrencelam/.atom/packages/pigments/lib/pigments.coffee:105:26)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:183:20)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:156:32
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:149:26
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:538:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:389:60
    at exit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:73:16)
    at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:215:47)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:222:18
    at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:100:18)
    at emitOne (events.js:82:20)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands

     -0:27.5.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.seti-ui-no-icons.theme-atom-material-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "disabledPackages": [
      "atom-language-rust"
    ],
    "themes": [
      "one-dark-ui",
      "atom-material-syntax"
    ]
  }
}

Installed Packages

# User
atom-material-syntax, v0.4.6
atom-ternjs, v0.14.1
autocomplete-python, v1.7.2
build-cargo, v0.15.0
editorconfig, v1.4.1
file-icons, v1.7.9
highlight-selected, v0.11.2
language-rust, v0.4.6
linter, v1.11.4
linter-eslint, v7.2.2
linter-rust, v0.4.6
minimap, v4.23.4
minimap-bookmarks, v0.3.0
minimap-cursorline, v0.1.0
minimap-git-diff, v4.3.0
minimap-highlight-selected, v4.4.0
minimap-linter, v1.1.1
minimap-pigments, v0.2.0
minimap-selection, v4.4.0
pigments, v0.26.2
racer, v0.20.0
react, v0.15.0
vim-mode, v0.65.0

# Dev
No dev packages
Wilkolicious commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.3 System: Mac OS X 10.11.4 Thrown From: pigments package, v0.26.2

Stack Trace

Failed to activate the pigments package

At this.editor.onDidTokenize is not a function

TypeError: this.editor.onDidTokenize is not a function
    at new ColorBuffer (/Users/philwilkinson/.atom/packages/pigments/lib/color-buffer.coffee:21:32)
    at ColorProject.module.exports.ColorProject.colorBufferForEditor (/Users/philwilkinson/.atom/packages/pigments/lib/color-project.coffee:306:55)
    at /Users/philwilkinson/.atom/packages/pigments/lib/color-project.coffee:283:17
    at Workspace.module.exports.Workspace.observeTextEditors (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:307:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (/Users/philwilkinson/.atom/packages/pigments/lib/color-project.coffee:280:39)
    at new ColorProject (/Users/philwilkinson/.atom/packages/pigments/lib/color-project.coffee:170:6)
    at Function.module.exports.ColorProject.deserialize (/Users/philwilkinson/.atom/packages/pigments/lib/color-project.coffee:102:9)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Atom.app/Contents/Resources/app.asar/src/deserializer-manager.js:45:29)
    at Object.module.exports.activate (/Users/philwilkinson/.atom/packages/pigments/lib/pigments.coffee:105:26)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:183:20)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:156:32
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:149:26
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:538:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:389:60
    at exit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:73:16)
    at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:215:47)
    at ChildProcess.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:237:18)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

Commands

     -0:34.4.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.use-animations.theme-an-old-hope-syntax.theme-atom-material-ui)

Config

{
  "core": {
    "allowPendingPaneItems": false,
    "audioBeep": false,
    "disabledPackages": [
      "minimap"
    ],
    "themes": [
      "atom-material-ui",
      "an-old-hope-syntax"
    ]
  },
  "pigments": {}
}

Installed Packages

# User
activate-power-mode, v0.5.2
an-old-hope-syntax, v0.5.0
atom-material-ui, v1.2.11
highlight-line, v0.11.1
highlight-selected, v0.11.2
linter, v1.11.4
linter-csslint, v1.3.2
linter-htmlhint, v1.1.4
linter-js-standard, v3.3.2
linter-jshint, v2.1.0
linter-php, v1.2.0
merge-conflicts, v1.4.2
pigments, v0.26.2
project-manager, v2.9.7
symbol-gen, v1.3.0
symbols-tree-view, v0.12.0
tabs-to-spaces, v1.0.2

# Dev
No dev packages
denysdovhan commented 8 years ago

I have the same issue.

vladshcherbin commented 8 years ago

Same here.

karamfd commented 8 years ago

I get the same error as everyone else.

cristian-sima commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.3 System: Microsoft Windows 10 Pro Thrown From: pigments package, v0.26.3

Stack Trace

Failed to activate the pigments package

At Cannot read property 'split' of undefined

TypeError: Cannot read property 'split' of undefined
    at Minimatch.match (C:\Users\Cristian\.atom\packages\pigments\node_modules\minimatch\minimatch.js:842:10)
    at minimatch (C:\Users\Cristian\.atom\packages\pigments\node_modules\minimatch\minimatch.js:129:42)
    at ColorProject.module.exports.ColorProject.isBufferIgnored (file:///C:/Users/Cristian/.atom/packages/pigments/lib/color-project.coffee:343:44)
    at file:///C:/Users/Cristian/.atom/packages/pigments/lib/color-project.coffee:281:18
    at Workspace.module.exports.Workspace.observeTextEditors (C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\workspace.js:307:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (file:///C:/Users/Cristian/.atom/packages/pigments/lib/color-project.coffee:280:39)
    at new ColorProject (file:///C:/Users/Cristian/.atom/packages/pigments/lib/color-project.coffee:170:6)
    at Function.module.exports.ColorProject.deserialize (file:///C:/Users/Cristian/.atom/packages/pigments/lib/color-project.coffee:102:9)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\deserializer-manager.js:45:29)
    at Object.module.exports.activate (file:///C:/Users/Cristian/.atom/packages/pigments/lib/pigments.coffee:105:26)
    at Package.module.exports.Package.activateNow (C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:183:20)
    at C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:156:32
    at Package.module.exports.Package.measure (C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:92:15)
    at C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:149:26
    at Package.module.exports.Package.activate (C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package-manager.js:538:21)
    at C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package-manager.js:519:29
    at Config.module.exports.Config.transactAsync (C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package-manager.js:514:19)
    at PackageManager.module.exports.PackageManager.activate (C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\package-manager.js:497:46)
    at C:\Users\Cristian\AppData\Local\atom\app-1.7.3\resources\app.asar\src\atom-environment.js:754:28

Commands

Config

{
  "core": {
    "autoHideMenuBar": true,
    "disabledPackages": [
      "spell-check",
      "language-csharp",
      "language-c",
      "language-ruby",
      "language-python",
      "language-ruby-on-rails",
      "atom-minify",
      "linter-jshint",
      "environment",
      "css-clean",
      "tester-go",
      "atom-ternjs"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      "staticp"
    ],
    "packagesWithKeymapsDisabled": [
      "spell-check",
      "markdown-preview-plus",
      "atom-minify",
      "highlight-line",
      "tree-view",
      "linter",
      "linter-sass-lint"
    ],
    "themes": [
      "atom-light-ui",
      "one-light-syntax"
    ]
  },
  "pigments": {
    "extendAutocompleteToColorValue": true,
    "ignoredBufferNames": [
      "*.es6",
      "*.jsx"
    ]
  }
}

Installed Packages

# User
auto-indent, v0.5.0
autocomplete-go, v1.1.0
autoupdate-packages, v1.3.1
builder-go, v1.0.0
docblockr, v0.7.3
emmet, v2.4.3
file-icons, v1.7.11
go-config, v1.1.4
go-get, v1.0.3
go-plus, v4.1.0
gofmt, v1.1.6
gometalinter-linter, v1.1.0
gorename, v1.0.2
highlight-selected, v0.11.2
linter, v1.11.4
linter-csslint, v1.3.2
linter-sass-lint, v1.5.0
markdown-preview-plus, v2.4.0
navigator-godef, v1.0.3
pigments, v0.26.3
source-preview-babel, v0.2.0

# Dev
No dev packages
cristian-sima commented 8 years ago

Again - when I start Atom

cristian-sima commented 8 years ago

@abe33 When I open Atom I get this error and then a lot of empty tabs (which I did not create)

image

cristian-sima commented 8 years ago

Can you really please fix this. it appears everytime I start Atom.

I will disable the package

vladshcherbin commented 8 years ago

I had to remove the package, currently it is unusable.

llanginger commented 8 years ago

I've tried uninstalling, that doesn't work. If there's a workaround for this I'd love to know it.

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.4 System: Mac OS X 10.11.5 Thrown From: pigments package, v0.27.1

Stack Trace

Failed to activate the pigments package

At Tried to create a gutter with a name that is already in use.

Error: Tried to create a gutter with a name that is already in use.
    at GutterContainer.module.exports.GutterContainer.addGutter (/Applications/Atom.app/Contents/Resources/app.asar/src/gutter-container.js:36:15)
    at TextEditor.module.exports.TextEditor.addGutter (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2751:35)
    at pigments-markers.ColorBufferElement.initializeGutter (/Users/llanginger/.atom/packages/pigments/lib/color-buffer-element.coffee:151:5)
    at /Users/llanginger/.atom/packages/pigments/lib/color-buffer-element.coffee:87:9
    at Config.module.exports.Config.observeKeyPath (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:612:7)
    at Config.module.exports.Config.observe (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:141:21)
    at pigments-markers.ColorBufferElement.setModel (/Users/llanginger/.atom/packages/pigments/lib/color-buffer-element.coffee:82:65)
    at Object.createView (/Users/llanginger/.atom/packages/pigments/lib/color-buffer-element.coffee:397:5)
    at ViewRegistry.module.exports.ViewRegistry.createView (/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:119:78)
    at ViewRegistry.module.exports.ViewRegistry.getView (/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:86:21)
    at /Users/llanginger/.atom/packages/pigments/lib/color-project.coffee:285:7
    at Workspace.module.exports.Workspace.observeTextEditors (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:307:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (/Users/llanginger/.atom/packages/pigments/lib/color-project.coffee:280:39)
    at new ColorProject (/Users/llanginger/.atom/packages/pigments/lib/color-project.coffee:170:6)
    at Function.module.exports.ColorProject.deserialize (/Users/llanginger/.atom/packages/pigments/lib/color-project.coffee:102:9)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (/Applications/Atom.app/Contents/Resources/app.asar/src/deserializer-manager.js:45:29)
    at Object.module.exports.activate (/Users/llanginger/.atom/packages/pigments/lib/pigments.coffee:116:5)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:183:20)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:156:32
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:92:15)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:149:26
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:538:21)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:342:19
    at /Applications/Atom.app/Contents/Resources/app.asar/src/config.js:631:20
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Config.module.exports.Config.emitChangeEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:816:29)
    at Config.module.exports.Config.setRawValue (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:608:19)
    at Config.module.exports.Config.set (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:227:14)
    at Config.module.exports.Config.removeAtKeyPath (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:377:12)
    at Package.module.exports.Package.enable (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:77:26)
    at PackageManager.module.exports.PackageManager.enablePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:169:14)
    at HTMLButtonElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-card.js:328:27)
    at HTMLButtonElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -6:15.1.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-one-light-syntax.theme-one-light-ui.find-visible)
     -3:56.1.0 settings-view:open (atom-text-editor.editor.is-focused)
  2x -1:57 core:cancel (atom-workspace.workspace.scrollbars-visible-always.theme-one-light-syntax.theme-one-light-ui.find-visible)
  2x -0:37 core:close (ul.list-inline.tab-bar.inset-panel)
  2x -0:23.4.0 tree-view:toggle (atom-text-editor.editor.is-focused)
     -0:20 settings-view:open (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "disabledPackages": [
      "terminal-plus",
      "minimap"
    ],
    "themes": [
      "one-light-ui",
      "one-light-syntax"
    ]
  },
  "pigments": {
    "markerType": "gutter"
  }
}

Installed Packages

# User
atom-bootstrap4, v1.4.0
atom-jade, v0.3.0
autoclose-html, v0.23.0
compare-files, v0.6.2
emmet, v2.4.3
jquery-snippets, v11.0.0
minimap-autohide, v0.10.1
minimap-find-and-replace, v4.5.1
pigments, v0.27.1

# Dev
No dev packages
emileber commented 8 years ago

[Enter steps to reproduce below:]

  1. Everytime I update the pigment package
  2. ...

Atom Version: 1.7.1 System: Windows 10 Thrown From: pigments package, v0.29.2

Stack Trace

Failed to activate the pigments package

At Tried to create a gutter with a name that is already in use.

Error: Tried to create a gutter with a name that is already in use.
    at GutterContainer.module.exports.GutterContainer.addGutter (C:\Program Files (x86)\Atom\resources\app.asar\src\gutter-container.js:36:15)
    at TextEditor.module.exports.TextEditor.addGutter (C:\Program Files (x86)\Atom\resources\app.asar\src\text-editor.js:2751:35)
    at pigments-markers.ColorBufferElement.initializeGutter (file:///C:/Users/emile.bergeron.CAMINO/.atom/packages/pigments/lib/color-buffer-element.coffee:264:23)
    at pigments-markers.ColorBufferElement.initializeNativeDecorations (file:///C:/Users/emile.bergeron.CAMINO/.atom/packages/pigments/lib/color-buffer-element.coffee:167:10)
    at file:///C:/Users/emile.bergeron.CAMINO/.atom/packages/pigments/lib/color-buffer-element.coffee:90:10
    at Config.module.exports.Config.observeKeyPath (C:\Program Files (x86)\Atom\resources\app.asar\src\config.js:612:7)
    at Config.module.exports.Config.observe (C:\Program Files (x86)\Atom\resources\app.asar\src\config.js:141:21)
    at pigments-markers.ColorBufferElement.setModel (file:///C:/Users/emile.bergeron.CAMINO/.atom/packages/pigments/lib/color-buffer-element.coffee:85:36)
    at Object.createView (file:///C:/Users/emile.bergeron.CAMINO/.atom/packages/pigments/lib/color-buffer-element.coffee:573:3)
    at ViewRegistry.module.exports.ViewRegistry.createView (C:\Program Files (x86)\Atom\resources\app.asar\src\view-registry.js:119:78)
    at ViewRegistry.module.exports.ViewRegistry.getView (C:\Program Files (x86)\Atom\resources\app.asar\src\view-registry.js:86:21)
    at file:///C:/Users/emile.bergeron.CAMINO/.atom/packages/pigments/lib/color-project.coffee:288:36
    at Workspace.module.exports.Workspace.observeTextEditors (C:\Program Files (x86)\Atom\resources\app.asar\src\workspace.js:307:9)
    at ColorProject.module.exports.ColorProject.initializeBuffers (file:///C:/Users/emile.bergeron.CAMINO/.atom/packages/pigments/lib/color-project.coffee:282:39)
    at new ColorProject (file:///C:/Users/emile.bergeron.CAMINO/.atom/packages/pigments/lib/color-project.coffee:172:6)
    at Function.module.exports.ColorProject.deserialize (file:///C:/Users/emile.bergeron.CAMINO/.atom/packages/pigments/lib/color-project.coffee:104:9)
    at DeserializerManager.module.exports.DeserializerManager.deserialize (C:\Program Files (x86)\Atom\resources\app.asar\src\deserializer-manager.js:45:29)
    at Object.module.exports.activate (file:///C:/Users/emile.bergeron.CAMINO/.atom/packages/pigments/lib/pigments.coffee:119:26)
    at Package.module.exports.Package.activateNow (C:\Program Files (x86)\Atom\resources\app.asar\src\package.js:183:20)
    at C:\Program Files (x86)\Atom\resources\app.asar\src\package.js:156:32
    at Package.module.exports.Package.measure (C:\Program Files (x86)\Atom\resources\app.asar\src\package.js:92:15)
    at C:\Program Files (x86)\Atom\resources\app.asar\src\package.js:149:26
    at Package.module.exports.Package.activate (C:\Program Files (x86)\Atom\resources\app.asar\src\package.js:146:34)
    at PackageManager.module.exports.PackageManager.activatePackage (C:\Program Files (x86)\Atom\resources\app.asar\src\package-manager.js:538:21)
    at C:\Program Files (x86)\Atom\resources\app.asar\node_modules\settings-view\lib\package-manager.js:389:60
    at exit (C:\Program Files (x86)\Atom\resources\app.asar\node_modules\settings-view\lib\package-manager.js:73:16)
    at triggerExitCallback (C:\Program Files (x86)\Atom\resources\app.asar\src\buffered-process.js:215:47)
    at ChildProcess.<anonymous> (C:\Program Files (x86)\Atom\resources\app.asar\src\buffered-process.js:237:18)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

Commands

     -4:04.8.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
  2x -4:04.5.0 core:move-left (atom-text-editor.editor.is-focused)
  2x -4:02.2.0 core:backspace (atom-text-editor.editor.is-focused)
     -3:59.2.0 core:move-left (atom-text-editor.editor.is-focused)
  3x -3:57.3.0 core:backspace (atom-text-editor.editor.is-focused)
     -3:26 core:save (atom-text-editor.editor.is-focused)
 23x -2:57.4.0 core:move-right (atom-text-editor.editor.is-focused)
  9x -2:48.8.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:47.7.0 core:copy (atom-text-editor.editor.is-focused)
     -1:46.8.0 core:paste (atom-text-editor.editor.is-focused)
     -1:41.7.0 core:save (atom-text-editor.editor.is-focused)
     -1:28.2.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.theme-one-dark-syntax.theme-one-dark-ui)
     -1:19.5.0 temporary-root:enter-root-mode (span.name.icon.icon-file-directory)

Config

{
  "core": {
    "audioBeep": false,
    "autoHideMenuBar": true,
    "disabledPackages": [
      "sass-compiler"
    ],
    "packagesWithKeymapsDisabled": [
      "autoclose-html"
    ],
    "projectHome": "C:\\git"
  },
  "pigments": {
    "markerType": "gutter",
    "mergeColorDuplicates": true,
    "supportedFiletypes": [
      "**/*.styl",
      "**/*.stylus",
      "**/*.less",
      "**/*.sass",
      "**/*.scss",
      "**/*.css"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.29.7
autoclose-html, v0.23.0
color-picker, v2.1.1
docblockr, v0.7.3
emmet, v2.4.3
file-icons, v1.7.14
foldername-tabs, v0.1.11
highlight-selected, v0.11.2
linter, v1.11.6
linter-jshint, v2.1.0
linter-php, v1.2.0
merge-conflicts, v1.4.4
minimap, v4.24.4
minimap-highlight-selected, v4.4.0
open-recent, v5.0.0
pigments, v0.29.2
sass-compiler-autosave, v0.5.0
temporary-root, v1.0.0

# Dev
No dev packages
jethrolarson commented 8 years ago

Restarting atom fixed my issue