mikehoyio / atom-python-black

Python Black for Atom editor
MIT License
20 stars 7 forks source link

Uncaught Error: spawn ENOTDIR #20

Open spotify2junkie opened 5 years ago

spotify2junkie commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.38.2 x64 Electron: 2.0.18 OS: Mac OS X 10.14.5 Thrown From: python-black package 0.7.0

Stack Trace

Uncaught Error: spawn ENOTDIR

At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14

Error: spawn ENOTDIR
    at _errnoException (util.js:1024:11)
    at ChildProcess.spawn (internal/child_process.js:323:11)
    at Object.exports.spawn (child_process.js:514:9)
    at BufferedProcess.spawn (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1119191)
    at BufferedProcess.start (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1117366)
    at new BufferedProcess (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1117162)
    at Object.formatFile (/packages/python-black/lib/python-black.js:121:5)
    at /packages/python-black/lib/python-black.js:56:22
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1206583)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1208024)
    at TextBuffer.saveTo (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:496237)
    at <anonymous>

Commands

     -2:50.2.0 python-black:format (input.hidden-input)
     -2:38.4.0 editor:move-to-first-character-of-line (input.hidden-input)
     -2:37 core:select-all (input.hidden-input)
     -2:33.5.0 python-black:format (input.hidden-input)
     -1:43.6.0 find-and-replace:show (input.hidden-input)
     -1:41.8.0 core:confirm (input.hidden-input)
  3x -1:38.5.0 core:backspace (input.hidden-input)
     -1:29.3.0 core:move-right (input.hidden-input)
     -1:29 core:backspace (input.hidden-input)
     -1:20 find-and-replace:show (input.hidden-input)
     -0:11 core:cut (input.hidden-input)
     -0:09.1.0 editor:newline (input.hidden-input)
     -0:08.6.0 core:paste (input.hidden-input)
     -0:08.6.0 core:copy (input.hidden-input)
     -0:07.0 editor:newline (input.hidden-input)
     -0:06.6.0 core:save (input.hidden-input)

Non-Core Packages

ide-python 1.4.1 
python-black 0.7.0