question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught Error: spawn EACCES

See original GitHub issue

[Enter steps to reproduce below:]

Atom Version: 1.0.4 System: "Funtoo Linux Thrown From: linter-flake8 package, v1.6.0

Stack Trace

Uncaught Error: spawn EACCES

At /usr/share/atom/resources/app.asar/src/buffered-process.js:260

Error: spawn EACCES
  at exports._errnoException (util.js:734:11)
  at ChildProcess.spawn (child_process.js:1145:11)
  at Object.exports.spawn (child_process.js:977:9)
  at BufferedProcess.module.exports.BufferedProcess.spawn (/usr/share/atom/resources/app.asar/src/buffered-process.js:188:44)
  at new BufferedProcess (/usr/share/atom/resources/app.asar/src/buffered-process.js:52:14)
  at /home/arkhan/.atom/packages/linter-flake8/node_modules/atom-linter/lib/helpers.coffee:40:30
  at Object.module.exports.Helpers._exec (/home/arkhan/.atom/packages/linter-flake8/node_modules/atom-linter/lib/helpers.coffee:22:16)
  at Object.module.exports.Helpers.exec (/home/arkhan/.atom/packages/linter-flake8/node_modules/atom-linter/lib/helpers.coffee:13:13)
  at Object.provider.lint (/home/arkhan/.atom/packages/linter-flake8/lib/main.coffee:65:24)
  at Promise.then._this.emitter.emit.linter (/home/arkhan/.atom/packages/linter/lib/linter-registry.coffee:55:22)
  at LinterRegistry.triggerLinter (/home/arkhan/.atom/packages/linter/lib/linter-registry.coffee:54:16)
  at /home/arkhan/.atom/packages/linter/lib/linter-registry.coffee:48:17
  at Array.map (native)
  at /home/arkhan/.atom/packages/linter/lib/linter-registry.coffee:46:27

Commands

     -0:20.2.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:19.4.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -0:19 editor:newline (atom-text-editor.editor.is-focused)
  7x -0:14.1.0 core:move-left (atom-text-editor.editor.is-focused)
     -0:12 core:backspace (atom-text-editor.editor.is-focused)
  6x -0:11.6.0 core:move-right (atom-text-editor.editor.is-focused)
  8x -0:10.6.0 core:select-left (atom-text-editor.editor.is-focused)
     -0:09.6.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -0:09.1.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:08.5.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:08.2.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:03.1.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
  3x -0:02.3.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:00.9.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "autoHideMenuBar": true
  },
  "linter-flake8": {
    "executablePath": "/usr/bin/"
  }
}

Installed Packages

# User
autocomplete-plus-python-jedi, v0.3.6
linter, v1.3.1
linter-flake8, v1.6.0
minimap, v4.12.2
odoo-snippets, v0.1.0
project-manager, v1.15.11
python-isort, v0.0.7

# Dev
No dev packages

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
Arcanemaguscommented, Aug 6, 2015

Actually it looks like you have configured an executablePath, but specified a directory instead of the full path to the flake8 executable. Please specify the full path to flake8 (eg: /usr/bin/flake8) in there and this should be fixed.

1reaction
badraycommented, Aug 7, 2015

Just like @Arcanemagus @arkhan please run in terminal $ which flake8 and place output to executablePath setting.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running node (express) on linux produces Error: spawn ...
I solved it by setting the file permissions correctly. It works by settings read/write and execute permissions.
Read more >
spawn EACCES (different variants of this error) · Issue #3886 ...
Hey all, I've been having this issue for a few weeks now with NodeJS with modules that specifically need to spawn child processes....
Read more >
How to fix this Error: spawn EACCES - Ionic Forum
go to your project folder, right click and get Info ( be sure to aply read & write to all the folders/sub folders...
Read more >
[RESOLVED] Error: spawn EACCES - Glitch Support
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not...
Read more >
Shiny Server Error: spawn R EACCES (version v1.5.14.948)
[2020-08-25T13:20:26.444] [ERROR] shiny-server - Uncaught exception: Error: spawn R EACCES [2020-08-25T13:20:26.444] [ERROR] shiny-server ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found