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

Fails to find pylint.exe on relative path since PyCharm 2023.2.1 #99

Open
f-pa-u-li opened this issue Sep 21, 2023 · 0 comments
Open

Fails to find pylint.exe on relative path since PyCharm 2023.2.1 #99

f-pa-u-li opened this issue Sep 21, 2023 · 0 comments

Comments

@f-pa-u-li
Copy link

Step 1: Are you in the right place?

  • [ x] I have verified there are no duplicate active or recent bugs, questions, or requests
  • [x ] I have verified that I am using the latest version of the plugin.

Step 2: Describe your environment

  • Plugin version: 0.16.0
  • PyCharm/IDEA version: 2023.2.1
  • Pylint version: 2.15.0

Step 3: Describe the problem:

Relative prodce an error log (see below) if I try to run pylint and its location is defined by a relative path even though clicken on the "test"-button in the Pylint-configuration returns a "success-message". This occurs since I updated to pyCharm 2023.2.1

Steps to reproduce:

  1. Enter a (correct) rrelative path into the textbox "path to pylint executable"
  2. click Apply and Ok
  3. Run "check current file

error Log :
The scan failed due to an exception: Error creating Pylint process Root cause: CreateProcess error=2, Das System kann die angegebene Datei nicht finden java.io.IOException: CreateProcess error=2, Das System kann die angegebene Datei nicht finden   at java.base/java.lang.ProcessImpl.create(Native Method)   at java.base/java.lang.ProcessImpl. (ProcessImpl.java:499)   at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)   at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:432)   at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:346)   at com.leinardi.pycharm.pylint.plapi.PylintRunner.scan(PylintRunner.java:270)   at com.leinardi.pycharm.pylint.checker.ScanFiles.scan(ScanFiles.java:109)   at com.leinardi.pycharm.pylint.checker.ScanFiles.checkFiles(ScanFiles.java:100)   at com.leinardi.pycharm.pylint.checker.ScanFiles.call(ScanFiles.java:74)   at com.leinardi.pycharm.pylint.checker.ScanFiles.call(ScanFiles.java:46)   at com.intellij.openapi.application.impl.ApplicationImpl$3.call(ApplicationImpl.java:303)   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)   at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)   at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)   at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)   at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)   at java.base/java.lang.Thread.run(Thread.java:833

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

1 participant