Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: spawn UnknownSystemError #447

Closed
thoughtassassin opened this issue Feb 25, 2015 · 2 comments
Closed

Uncaught Error: spawn UnknownSystemError #447

thoughtassassin opened this issue Feb 25, 2015 · 2 comments

Comments

@thoughtassassin
Copy link

[Enter steps to reproduce below:]

1.Save a file with .html extension

Atom Version: 0.182.0
System: Mac OS X 10.10.2
Thrown From: linter package, v0.11.1

Stack Trace

Uncaught Error: spawn UnknownSystemError

At child_process.js:1160

Error: spawn UnknownSystemError
  at exports._errnoException (util.js:753:11)
  at ChildProcess.spawn (child_process.js:1160:11)
  at Object.exports.spawn (child_process.js:993:9)
  at new BufferedProcess (/Applications/UX Apps/Atom.app/Contents/Resources/app/src/buffered-process.js:51:37)
  at LinterTidy.Linter.lintFile (/Users/david/.atom/packages/linter/lib/linter.coffee:152:19)
  at /Users/david/.atom/packages/linter/lib/linter-view.coffee:150:18
  at Array.forEach (native)
  at /Users/david/.atom/packages/linter/lib/linter-view.coffee:149:18
  at FSReqWrap.oncomplete (fs.js:100:15)

Commands

  3x -2:41.1 editor:newline (atom-text-editor.editor)
 37x -2:26.1 core:backspace (atom-text-editor.editor)
     -2:05.9 snippets:next-tab-stop (atom-text-editor.editor)
     -2:05.9 snippets:expand (atom-text-editor.editor)
     -2:05.9 editor:indent (atom-text-editor.editor)
  2x -2:03.3 editor:newline (atom-text-editor.editor)
     -1:56.7 snippets:next-tab-stop (atom-text-editor.editor)
     -1:56.7 snippets:expand (atom-text-editor.editor)
     -1:56.7 editor:indent (atom-text-editor.editor)
     -1:55.3 snippets:next-tab-stop (atom-text-editor.editor)
     -1:55.3 snippets:expand (atom-text-editor.editor)
     -1:55.3 editor:indent (atom-text-editor.editor)
     -1:54.1 snippets:next-tab-stop (atom-text-editor.editor)
     -1:54.1 snippets:expand (atom-text-editor.editor)
     -1:54.1 editor:indent (atom-text-editor.editor)
     -1:09.4 core:save-as (atom-text-editor.editor)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ],
    "disabledPackages": [
      "linter-phpmd",
      "linter-phpcs"
    ]
  },
  "linter": {
    "showInfoMessages": true
  }
}

Installed Packages

# User
linter, v0.11.1
linter-csslint, v0.0.11
linter-haml, v0.1.1
linter-htmlhint, v0.0.8
linter-jshint, v0.1.0
linter-php, v0.0.11
linter-scss-lint, v0.0.14
linter-tidy, v1.0.0

# Dev
No dev packages
@iam4x
Copy link
Contributor

iam4x commented Feb 25, 2015

Seems more an error with https://github.com/AtomLinter/linter-tidy

@corysimmons
Copy link

Agreed, this seems like a problem with Tidy.


Fixed mine. My tidy executable was garbage from 2004 or something. To fix:

  • Uninstall your previous tidy executable (you can find it with which tidy)
  • brew install tidy-html5
  • which tidy should return /usr/bin/tidy
  • Restart Atom

As long as you're not manually setting your tidy path in your linter-tidy settings, it should be able to find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants