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

pylint plugin incompatible with IntelliJ IDEA v. 2020.2 on Catalina #71

Open
jgoldste opened this issue Sep 9, 2020 · 4 comments
Open

Comments

@jgoldste
Copy link

jgoldste commented Sep 9, 2020

pylint can be executed from the command line but not within IntelliJ. Please see the bug report I submitted to JetBrains, who sent me to you. Thank you.

@phazebroek
Copy link

I'm on IntelliJ ultimate 2020.3 beta but also unable to run this plugin.
I'm getting the following error when I hit the test button:
Pylint Plugin: Failure: executable "/Users/pim/projects/personal/rcm/venv/bin/pylint" not found

Also tried the /usr/local/bin/pylint executable but doesn't work either.

I'm certain the path is fine because:

$ where pylint
/Users/pim/projects/personal/rcm/venv/bin/pylint
/usr/local/bin/pylint
/usr/local/bin/pylint

And yes, the file is executable:

 ~/projects/personal/rcm/venv/bin $ ls -al | grep pylint
-rwxr-xr-x   1 pim  staff    251 Nov 24 20:07 epylint
-rwxr-xr-x   1 pim  staff    249 Nov 24 20:07 pylint

@schapsl
Copy link

schapsl commented Jan 26, 2021

Same here:
IntelliJ IDEA 2020.3.1 (Ultimate Edition)
Build #IU-203.6682.168, built on December 29, 2020
[...]
Runtime version: 11.0.9.1+11-b1145.63 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.8.0-36-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 1919M
Cores: 8
...

18:08 Pylint Plugin (Unable to run Pylint)
Pylint is installed inside the project environment but the plugin is not able to run it. If you just installed it try to run File -> Synchronize or restart your IDE. If the problem persists you may need to manually enter the path to the Pylint executable inside the Plugin settings.
18:08 Pylint Plugin: Failure: executable "<path to project here>/venv/bin/pylint" not found

@schapsl
Copy link

schapsl commented Jan 26, 2021

com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "/home/lars/.jdks/adopt-openj9-1.8.0_282": error=13, Permission denied
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:380)
at com.leinardi.pycharm.pylint.plapi.PylintRunner.isPylintPathValid(PylintRunner.java:94)

The "/home/lars/.jdks/adopt-openj9-1.8.0_282" is just the directory. Might that be the problem? You can't run a directory?

@schapsl
Copy link

schapsl commented Jan 26, 2021

Yes.... project SDK was a JDK, needs to be Python interpreter...
No it's working!

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