Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Error running Pylint Error: Process execution timed out #204

Closed
nbonnotte opened this issue Mar 23, 2017 · 6 comments · Fixed by #205
Closed

Error running Pylint Error: Process execution timed out #204

nbonnotte opened this issue Mar 23, 2017 · 6 comments · Fixed by #205

Comments

@nbonnotte
Copy link

Error running Pylint Error: Process execution timed out
    at C:\Users\Nicolas\.atom\packages\linter-pylint\node_modules\sb-exec\lib\index.js:92:18

Is this related those others issues?

@willfrey
Copy link

I am also having this problem.

@fepegar
Copy link

fepegar commented Jun 15, 2017

Same here. Atom console:

linter-registry.js [sm]:144 [Linter] Error running Pylint Error: Process execution timed out
    at /home/fernando/.atom/packages/linter-pylint/node_modules/sb-exec/lib/index.js:89:18

@Arcanemagus
Copy link
Member

Arcanemagus commented Jun 15, 2017

@fepegar Please enable the "Disable execution timeout" option if you are running files that are legitimately hitting the limit.

@fepegar
Copy link

fepegar commented Jun 15, 2017

@Arcanemagus Done, thank you. Maybe it'd be a good idea to add that suggestion to the error message.

@Arcanemagus
Copy link
Member

Actually that option is just a stop-gap till a better way of handling it was implemented in the support library. That's actually been completed, it seems that it just hasn't been utilized here.

If you were interested in submitting a PR for that, you can find an example here. You just need to add a uniqueKey to the exec options, and set some really long time out to still catch runaway processes. (That example uses 5 minutes.

@rklarpit
Copy link

rklarpit commented Mar 4, 2019

I am still getting the issue. If I disable it, linter shows nothing. Is there a fix

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

Successfully merging a pull request may close this issue.

5 participants