You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified there are no duplicate active or recent bugs, questions, or requests
I have verified that I am using the latest version of the plugin.
Step 2: Describe your environment
Plugin version: 0.14.0
PyCharm/IDEA version: 2022.1
Mypy version: 0.910
Step 3: Describe the problem:
Steps to reproduce:
install this plugin
open a file with this plugin on
Observed Results:
I see this from mypy widget:
The scan failed due to an error - please see the event log for more information
and this in the logs
The scan failed due to an exception: Error creating Mypy process Rootcause: error=2, No such file or directory java.io.IOException: error=2, No such file or directory
at java.base/java.lang.ProcessImpl.forkAndExec(NativeMethod)
at java.base/java.lang.ProcessImpl. (ProcessImpl.java:340 undefined)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271 undefined)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107 undefined)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071 undefined)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:438 undefined)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:352 undefined)
at com.leinardi.pycharm.mypy.mpapi.MypyRunner.runMypy(MypyRunner.java:307 undefined)
at com.leinardi.pycharm.mypy.mpapi.MypyRunner.scan(MypyRunner.java:266 undefined)
at com.leinardi.pycharm.mypy.checker.ScanFiles.scan(ScanFiles.java:109 undefined)
at com.leinardi.pycharm.mypy.checker.ScanFiles.checkFiles(ScanFiles.java:100 undefined)
at com.leinardi.pycharm.mypy.checker.ScanFiles.call(ScanFiles.java:74 undefined)
at com.leinardi.pycharm.mypy.MypyAnnotator.doAnnotate(MypyAnnotator.java:131 undefined)
at com.leinardi.pycharm.mypy.MypyAnnotator.doAnnotate(MypyAnnotator.java:62 undefined)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.doAnnotate(ExternalToolPass.java:218 undefined)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.doAnnotate(ExternalToolPass.java:212 undefined)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.lambda$run$0(ExternalToolPass.java:190 undefined)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass.runChangeAware(ExternalToolPass.java:287 undefined)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.lambda$run$2(ExternalToolPass.java:190 undefined)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:189 undefined)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608 undefined)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683 undefined)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639 undefined)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607 undefined)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60 undefined)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:176 undefined)
at com.intellij.openapi.progress.util.BackgroundTaskUtil.runUnderDisposeAwareIndicator(BackgroundTaskUtil.java:365 undefined)
at com.intellij.openapi.progress.util.BackgroundTaskUtil.runUnderDisposeAwareIndicator(BackgroundTaskUtil.java:343 undefined)
at com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.run(ExternalToolPass.java:189 undefined)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:332 undefined)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:322 undefined)
at com.intellij.util.ui.update.MergingUpdateQueue.lambda$flush$1(MergingUpdateQueue.java:271 undefined)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:285 undefined)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:240 undefined)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:241 undefined)
at com.intellij.util.Alarm$Request.runSafely(Alarm.java:388 undefined)
at com.intellij.util.Alarm$Request.run(Alarm.java:377 undefined)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515 undefined)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264 undefined)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:223 undefined)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:241 undefined)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:31 undefined)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:214 undefined)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:212 undefined)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:203 undefined)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128 undefined)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628 undefined)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668 undefined)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665 undefined)
at java.base/java.security.AccessController.doPrivileged(NativeMethod)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665 undefined)
at java.base/java.lang.Thread.run(Thread.java:829 undefined)
Expected Results:
Successful typecheck
Relevant Code:
It will fail regardless of file content.
using mypy separately will work.
I have tried 0.12.1 and also failed in the same way.
The text was updated successfully, but these errors were encountered:
Step 1: Are you in the right place?
Step 2: Describe your environment
0.14.0
2022.1
0.910
Step 3: Describe the problem:
Steps to reproduce:
Observed Results:
I see this from mypy widget:
and this in the logs
Expected Results:
Successful typecheck
Relevant Code:
It will fail regardless of file content.
using mypy separately will work.
I have tried 0.12.1 and also failed in the same way.
The text was updated successfully, but these errors were encountered: