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

java.io.IOException: CreateProcess error=206, The filename or extension is too long #76

Open
fabiopedrosa opened this issue Nov 9, 2020 · 2 comments

Comments

@fabiopedrosa
Copy link

fabiopedrosa commented Nov 9, 2020

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?

@gpcimino
Copy link

Any update on this?

@heidenbloed
Copy link

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.

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

3 participants