pylint-pycharm
pylint-pycharm copied to clipboard
java.io.IOException: CreateProcess error=206, The filename or extension is too long
Whenever I try to run the plugin for the whole project, I always get this:
The scan failed due to an exception:
Error creating Pylint process
Root cause: CreateProcess error=206, The filename or extension is too long java.io.IOException: CreateProcess error=206, The filename or extension is too long
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl. (ProcessImpl.java:478)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:154)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:457)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:422)
at com.leinardi.pycharm.pylint.plapi.PylintRunner.scan(PylintRunner.java:274)
at com.leinardi.pycharm.pylint.checker.ScanFiles.scan(ScanFiles.java:108) at
...
Where can I find more info on this?
Any update on this?
I had the same problem. Marking a virtual environment folder as excluded dictionary solved the problem for me. Maybe your project contains files with a very long path that you need to exclude.