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

Mypy failed with code 2 #100

Closed
2 tasks done
Thoufak opened this issue Apr 11, 2022 · 1 comment
Closed
2 tasks done

Mypy failed with code 2 #100

Thoufak opened this issue Apr 11, 2022 · 1 comment

Comments

@Thoufak
Copy link

Thoufak commented Apr 11, 2022

Step 1: Are you in the right place?

  • 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: 2021.2.4
  • Mypy version: 0.942

Step 3: Describe the problem:

Steps to reproduce:

  1. Press "Check Project" in the mypy plugin panel.
  2. It says "A scan is in progress". Wait for a few seconds.
  3. It says "The scan failed due to an error - please see the event log for more information".
The scan failed due to an exception: Mypy failed with code 2 
com.leinardi.pycharm.mypy.exception.MypyToolException: Mypy failed with code 2   at 
com.leinardi.pycharm.mypy.mpapi.MypyRunner.runMypy(MypyRunner.java:324)   at 
com.leinardi.pycharm.mypy.mpapi.MypyRunner.scan(MypyRunner.java:266)   at 
com.leinardi.pycharm.mypy.checker.ScanFiles.scan(ScanFiles.java:109)   at 
com.leinardi.pycharm.mypy.checker.ScanFiles.checkFiles(ScanFiles.java:100)   at 
com.leinardi.pycharm.mypy.checker.ScanFiles.call(ScanFiles.java:74)   at 
com.leinardi.pycharm.mypy.checker.ScanFiles.call(ScanFiles.java:46)   at 
com.intellij.openapi.application.impl.ApplicationImpl$2.call(ApplicationImpl.java:296)   at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)   at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)   at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)   at 
java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)   at 
java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)   at 
java.base/java.security.AccessController.doPrivileged(Native Method)   at 
java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)   at 
java.base/java.lang.Thread.run(Thread.java:829)
@Thoufak
Copy link
Author

Thoufak commented Apr 11, 2022

Probably a duplicate of #97

@Thoufak Thoufak closed this as completed Apr 11, 2022
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