atom-sonic icon indicating copy to clipboard operation
atom-sonic copied to clipboard

Uncaught TypeError: Cannot read property 'getText' of undefined

Open higordiego opened this issue 9 years ago • 0 comments

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.19 System: elementary OS Thrown From: atom-sonic package, v0.3.2

Stack Trace

Uncaught TypeError: Cannot read property 'getText' of undefined

At /home/higor/.atom/packages/atom-sonic/lib/atom-sonic.coffee:21

TypeError: Cannot read property 'getText' of undefined
  at Object.module.exports.AtomSonic.play (/home/higor/.atom/packages/atom-sonic/lib/atom-sonic.coffee:21:21)
  at atom-workspace.subscriptions.add.atom.commands.add.atom-sonic:play-file (/home/higor/.atom/packages/atom-sonic/lib/atom-sonic.coffee:12:40)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:245:29)
  at /opt/atom/resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/opt/atom/resources/app.asar/src/window-event-handler.js:184:20)

Commands

     -1:27.2.0 auto-indent:apply (atom-text-editor.editor.is-focused)
     -1:25.8.0 core:undo (atom-text-editor.editor.is-focused)
     -1:24.7.0 core:select-all (atom-text-editor.editor.is-focused)
     -1:24.4.0 editor:auto-indent (atom-text-editor.editor.is-focused)
     -1:23.5.0 auto-indent:apply (atom-text-editor.editor.is-focused)
     -1:22.4.0 atom-sonic:stop (atom-text-editor.editor.is-focused)
  2x -0:19.4.0 editor:delete-line (atom-pane.pane.active)
     -0:09.8.0 window:focus-pane-above (atom-pane.pane.active)
  2x -0:09.4.0 core:move-up (atom-pane.pane.active)
     -0:09.1.0 core:move-down (atom-pane.pane.active)
     -0:08.9.0 core:move-up (atom-pane.pane.active)
     -0:06.7.0 editor:delete-line (atom-pane.pane.active)
  2x -0:05.2.0 window:focus-pane-above (atom-pane.pane.active)
     -0:02.3.0 window:focus-pane-below (atom-pane.pane.active)
     -0:02.0 core:move-down (atom-pane.pane.active)
     -0:01.0 atom-sonic:play-file (atom-pane.pane.active)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "themes": [
      "one-light-ui",
      "one-dark-syntax"
    ],
    "disabledPackages": [
      "fuzzy-finder"
    ]
  }
}

Installed Packages

# User
angular-jonpapa-snippets, v0.6.0
angularjs, v0.3.0
angularjs-boilerplate-snippets, v0.3.1
angularjs-snippets, v0.10.18
angularjs-styleguide-snippets, v0.7.2
atom-bootstrap4, v1.2.11
atom-sonic, v0.3.2
auto-indent, v0.5.0
autocomplete-angular-material, v0.4.0
autocomplete-ionic-framework, v0.2.1
autocomplete-modules, v1.3.0
bootstrap-3-snippetset, v0.0.6
bootstrap3-snippets, v0.1.2
change-case, v0.6.0
express-complete, v0.2.0
ionide-fsi, v1.0.7
ionide-paket, v2.1.0
ionide-webview, v1.0.0
javascript-snippets, v1.0.0
language-coffee-script-angular, v2.2.0
language-ejs, v0.2.0
language-jsoniq, v1.7.6
linter, v1.7.2
linter-node-markdownlint, v0.1.0
node-debugger, v1.1.8
node-on-fire, v0.1.0
nodejs-snippets, v1.0.3
tabular, v0.1.0
underscorejs-snippets, v0.2.2

# Dev
No dev packages

higordiego avatar Oct 03 '15 22:10 higordiego