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
Describe the bug
Starting or restarting the IDE when project uses remote interpreter results in this error logged in the notificatons pane and an alert bubble. It does not seem to affect the IDE itself, just the plugin.
To Reproduce
Code or Steps to reproduce the behavior:
Set Python interpreter to remote docker container (settings > Project > Python Interpreter > Add > Docker Compose)
Ensure containers are down (docker compose down)
Update IDE to v2022.1.2 (this may not even be necessary)
Update plugins (nor, is this specifically necessary)
Restart IDE (I did not close project, nor did I bring up docker containers afterwards)
See error automatically after indexing and other PC background processes run
Expected behavior
Expected the plugin to execute its code without exceptions or errors, and report results in notifications pane, bubble, or other standard manner for the IDE.
Stacktrace from plugin
The following command was executed:
/usr/local/bin/docker-compose -f /Users/<redacted>/docker/compose.yaml -f /Users/<redacted>/Library/Caches/JetBrains/PyCharm2022.1/tmp/docker-compose.override.2.yml run --rm --no-deps airflow-webserver
The exit code: 1
The error output of the command:
Error response from daemon: 2 matches found based on name: network docker_default is ambiguous
Docker Compose executable finished with exit code 1
at com.jetbrains.python.docker.compose.PyDockerComposeProcessUtil.assertSuccessfulExecution(PyDockerComposeProcessUtil.java:113)
at com.jetbrains.python.docker.compose.PyDockerComposeProcessUtil.executeRemoteProcess(PyDockerComposeProcessUtil.java:86)
at com.jetbrains.python.docker.compose.packaging.PyDockerComposePackageManager.getPythonProcessOutput(PyDockerComposePackageManagers.kt:53)
at com.jetbrains.python.packaging.PyPackageManagerImpl.getPythonProcessResult(PyPackageManagerImpl.java:233)
at com.jetbrains.python.packaging.PyPackageManagerImpl.getPythonProcessResult(PyPackageManagerImpl.java:226)
at com.jetbrains.python.packaging.PyPackageManagerImpl.getHelperResult(PyPackageManagerImpl.java:220)
at com.jetbrains.python.packaging.PyPackageManagerImpl.getHelperResult(PyPackageManagerImpl.java:209)
at com.jetbrains.python.packaging.PyPackageManagerImpl.collectPackages(PyPackageManagerImpl.java:159)
at com.jetbrains.python.packaging.PyPackageManagerImplBase.refreshAndGetPackages(PyPackageManagerImplBase.java:210)
at security.packaging.PyPackageSecurityScan.checkPackagesInSdks(PyPackageSecurityScan.kt:47)
at security.packaging.PyPackageSecurityScan.checkPackages(PyPackageSecurityScan.kt:30)
at security.packaging.PythonPackageVulnerabilityStartupTask$runActivity$1.run(PythonPackageVulnerabilityStartupTask.kt:16)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:442)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:114)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$5(CoreProgressManager.java:493)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:244)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:189)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:176)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:244)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
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)
Additional context
The compose.yaml file is valid, and creates several local containers to mimic a small distributed Airflow installation with several services networked with default docker settings and mapped directories.
Plugin Version: 1.25.0
Docker Desktop 4.9.0 (80466)
Docker Engine: 20.10.16
Compose: v2.6.0
Credential Helper: v0.6.4
Snyk: v1.827.0
Kubernetes: v1.24.0
PyCharm 2022.1.2 (Professional Edition)
Build #PY-221.5787.24, built on May 30, 2022
Runtime version: 11.0.15+10-b2043.56 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.6.6
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 8
Registry:
ide.balloon.shadow.size=0
Non-Bundled Plugins:
org.rust.lang (0.4.171.4656-221)
org.intellij.RegexpTester (1.0.8)
net.seesharpsoft.intellij.plugins.csv (2.18.2)
name.kropp.intellij.makefile (221.5787.15)
manjaro.mpb (1.7)
de.netnexus.camelcaseplugin (3.0.12)
com.perl5 (2022.1.1)
com.ivanovych666.intellij.plugin.jsonsorter (1.0.0-beta.3.4)
com.intellij.ideolog (203.0.30.0)
com.godwin.json.parser (1.4.1)
com.github.novotnyr.jwt-intellij-plugin (0.11)
Key Promoter X (2022.1.2)
mobi.hsz.idea.gitignore (4.4.0)
MetricsReloaded (1.12)
ru.meanmail.plugin.requirements (2022.3-2022.1)
org.tonybaloney.security.pycharm-security (1.25.0)
com.leinardi.pycharm.mypy (0.14.0)
ru.adelf.idea.dotenv (2022.1)
aws.toolkit (1.44-221)
AWSCloudFormation (221.5787.15)
The text was updated successfully, but these errors were encountered:
Describe the bug
Starting or restarting the IDE when project uses remote interpreter results in this error logged in the
notificatons
pane and an alert bubble. It does not seem to affect the IDE itself, just the plugin.To Reproduce
Code or Steps to reproduce the behavior:
docker compose down
)Expected behavior
Expected the plugin to execute its code without exceptions or errors, and report results in
notifications
pane, bubble, or other standard manner for the IDE.Stacktrace from plugin
Additional context
The compose.yaml file is valid, and creates several local containers to mimic a small distributed Airflow installation with several services networked with default docker settings and mapped directories.
The text was updated successfully, but these errors were encountered: