Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('i... #149

Closed
RoNiN1384 opened this issue Jul 4, 2016 · 1 comment

Comments

@RoNiN1384
Copy link

[Enter steps to reproduce below:]

  1. start atom

Atom Version: 1.8.0
System: Ubuntu 16.04
Thrown From: tool-bar package, v1.0.0

Stack Trace

Uncaught InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('icon-ion ion-hammer') contains HTML space characters, which are not valid in tokens.

At /home/mhermeth/.atom/packages/tool-bar/lib/tool-bar-button-view.js:36

Error: Failed to execute 'add' on 'DOMTokenList': The token provided ('icon-ion ion-hammer') contains HTML space characters, which are not valid in tokens.
    at Error (native)
    at new ToolBarButtonView (/home/mhermeth/.atom/packages/tool-bar/lib/tool-bar-button-view.js:36:31)
    at ToolBarManager.addButton (/home/mhermeth/.atom/packages/tool-bar/lib/tool-bar-manager.js:14:20)
    at Object.module.exports.Tokamak.consumeToolBar (/home/mhermeth/.atom/packages/tokamak/lib/tokamak.coffee:124:14)
    at Provider.module.exports.Provider.provide (/usr/share/atom/resources/app.asar/node_modules/service-hub/lib/provider.js:30:52)
    at /usr/share/atom/resources/app.asar/node_modules/service-hub/lib/service-hub.js:55:26
    at doNTCallback0 (node.js:443:9)
    at process._tickCallback (node.js:372:13)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "rustfmt",
      "language-rust"
    ],
    "openEmptyEditorOnStart": false,
    "projectHome": "/home/mhermeth/Dokumente/Programmieren/"
  }
}

Installed Packages

# User
linter, v1.11.14
linter-rust, v0.4.6
racer, v0.20.0
rust-api-docs-helper, v0.5.1
tokamak, v0.2.7
tokamak-terminal, v0.1.1
tool-bar, v1.0.0

# Dev
No dev packages
@jerone
Copy link
Contributor

jerone commented Jul 4, 2016

Duplicate of #148. Please read #148 (comment) how this can be fixed for the tokamak package too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants