AtomLinter / linter-javac

Lint Java on save, with javac
https://atom.io/packages/linter-javac
MIT License
23 stars 17 forks source link

spawn ENAMETOOLONG #64

Closed SoundBot closed 8 years ago

SoundBot commented 8 years ago

Saving any java file triggers following error:

Atom Version: 1.4.3 System: Microsoft Windows 7 Enterprise Thrown From: linter-javac package, v1.5.0

Stack Trace

Uncaught Error: spawn ENAMETOOLONG

At [my dir here]\atom\app-1.4.3\resources\app.asar\src\buffered-process.js:260

Error: spawn ENAMETOOLONG
    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 BufferedProcess.module.exports.BufferedProcess.spawn ([my dir here]\atom\app-1.4.3\resources\app.asar\src\buffered-process.js:188:44)
    at new BufferedProcess ([my dir here]\atom\app-1.4.3\resources\app.asar\src\buffered-process.js:50:14)
    at C:\Users\username\.atom\packages\linter-javac\node_modules\atom-linter\lib\helpers.js:97:81
    at _exec (C:\Users\username\.atom\packages\linter-javac\node_modules\atom-linter\lib\helpers.js:63:10)
    at Object.exec (C:\Users\username\.atom\packages\linter-javac\node_modules\atom-linter\lib\helpers.js:152:10)
    at file:///C:/Users/username/.atom/packages/linter-javac/lib/init.coffee:69:19
    at process._tickCallback (node.js:368:9)

Commands

     -1:18.9.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -1:18.9.0 snippets:expand (atom-text-editor.editor.is-focused)
     -1:18.9.0 docblockr:parse-tab (atom-text-editor.editor.is-focused)
     -1:18.9.0 editor:indent (atom-text-editor.editor.is-focused)
     -1:18.7.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -1:18.7.0 snippets:expand (atom-text-editor.editor.is-focused)
     -1:18.7.0 docblockr:parse-tab (atom-text-editor.editor.is-focused)
     -1:18.7.0 editor:indent (atom-text-editor.editor.is-focused)
     -1:18.3.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:11.5.0 core:move-right (atom-text-editor.editor.is-focused.autocomplete-active)
     -1:02.0 core:copy (atom-text-editor.editor.is-focused)
     -0:35.8.0 core:paste (atom-text-editor.editor.is-focused)
     -0:34.8.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:33.5.0 core:paste (atom-text-editor.editor.is-focused)
     -0:32.5.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:30.4.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "metrics",
      "open-on-github",
      "atom-terminal-panel"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.28.22
atom-ternjs, v0.13.2
autoclose-html, v0.20.0
autocomplete-paths, v1.0.2
color-picker, v2.1.1
docblockr, v0.7.3
editorconfig, v1.2.4
file-icons, v1.6.14
highlight-selected, v0.11.2
jshint, v1.8.3
language-jsoniq, v1.7.8
linter, v1.11.3
linter-javac, v1.5.0

# Dev
No dev packages
steelbrain commented 8 years ago

Can you try adding path to java in this package's executable path and retry?

florianb commented 8 years ago

Thanks for reporting @SoundBot.

I think the issue belongs to https://github.com/AtomLinter/linter-javac/issues/58.

SoundBot commented 8 years ago

Can you try adding path to java in this package's executable path and retry?

I've tried, it didn't help.

Closing this, since it duplicates #58