bh / atom-python-isort

Atom.io plugin to sort Python imports
https://atom.io/packages/python-isort
MIT License
19 stars 10 forks source link

Uncaught Error: spawn EACCES #24

Open noblejasper opened 8 years ago

noblejasper commented 8 years ago

[Enter steps to reproduce below:]

  1. ... exec 'SortImports'
  2. ...

Atom Version: 1.3.2 System: Mac OS X 10.10.5 Thrown From: python-isort package, v0.0.7

Stack Trace

Uncaught Error: spawn EACCES

At internal/child_process.js:298

Error: spawn EACCES
    at exports._errnoException (util.js:837:11)
    at ChildProcess.spawn (internal/child_process.js:298:11)
    at Object.exports.spawn (child_process.js:351:9)
    at PythonIsort.module.exports.PythonIsort.sortImports (/Users/jasper/git/noblejasper/dotfiles/macosx/atom/packages/python-isort/lib/python-isort.coffee:76:20)
    at atom-workspace.<anonymous> (/Users/jasper/git/noblejasper/dotfiles/macosx/atom/packages/python-isort/lib/index.coffee:22:10)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -0:34.2.0 core:paste (input.hidden-input)
     -0:30.4.0 core:move-down (input.hidden-input)
     -0:30.1.0 core:backspace (input.hidden-input)
     -0:29.6.0 core:move-left (input.hidden-input)
  5x -0:27.7.0 core:backspace (input.hidden-input)
     -0:23.5.0 core:copy (input.hidden-input)
  2x -0:21.1.0 core:paste (input.hidden-input)
     -0:17.1.0 core:save (input.hidden-input)
     -0:13 pane:show-item-1 (input.hidden-input)
     -0:11.4.0 pane:show-next-item (input.hidden-input)
     -0:10.4.0 core:move-to-top (input.hidden-input)
     -0:07.3.0 command-palette:toggle (input.hidden-input)
     -0:01.7.0 core:confirm (input.hidden-input)
     -0:01.7.0 python-isort:sortImports (input.hidden-input)

Config

{
  "core": {
    "followSymlinks": true,
    "themes": [
      "seti-ui",
      "monokai"
    ],
    "ignoredNames": [
      ".git",
      ".bundle",
      ".sass-cache",
      "vendor"
    ],
    "disabledPackages": [
      "atom-alignment",
      "sort-lines",
      "atom-color-highlight",
      "linter-elixirc",
      "autocomplete-elixir",
      "color-picker",
      "pigments",
      "wercker-status",
      "alignment",
      "japanese-wrap"
    ]
  },
  "python-isort": {
    "isortPath": "/usr/local/opt/pyenv/versions/global2.7.9/bin/"
  }
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.3.0
aligner, v0.17.4
aligner-css, v1.2.0
aligner-python, v1.0.1
aligner-scss, v1.1.0
atom-jinja2, v0.5.0
autocomplete-python, v1.2.4
clipboard-plus, v0.5.1
compass, v0.9.1
disable-keybindings, v0.6.0
emacs-plus, v0.9.10
emmet, v2.3.17
gist-it, v0.8.0
javascript-snippets, v1.0.0
language-actionscript, v0.2.0
language-actionscript3, v0.3.0
language-csharp, v0.11.0
language-elixir, v0.5.2
linter, v1.11.3
linter-coffeescript, v1.0.0
linter-jshint, v1.2.1
linter-python-pep8, v0.2.0
linter-python-pyflakes, v0.1.0
monokai, v0.18.0
project-manager, v2.6.5
python-isort, v0.0.7
python-tools, v0.6.7
seti-ui, v0.8.1
symbols-tree-view, v0.11.0
visual-bell, v1.0.0

# Dev
No dev packages