Closed kool79 closed 2 months ago
Thanks, I will take a look
Hi @kool79
I was not able to reproduce this issue using latest version of IDEA EAP.
Hi @kool79,
Could you please try to use new version 1.24
?
@kool79 Any updates?
Same error with 2024.1 beta
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
com.intellij.diagnostic.PluginException: com.jetbrains.python.console.PythonConsoleRunnerFactory -> com.uriyyo.evaluate_async_code.AsyncPyDebugConsoleRunnerFactory [Plugin: com.uriyyo.evaluate_async_code] at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:572) at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:333) at com.intellij.openapi.client.ClientAwareComponentManager.registerComponents(ClientAwareComponentManager.kt:58) at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents$default(ComponentManagerImpl.kt:315) at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invokeSuspend(ApplicationLoader.kt:101) at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invoke(ApplicationLoader.kt) at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invoke(ApplicationLoader.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:56) at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:49) at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1.invokeSuspend(ApplicationLoader.kt:100) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:270) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) Caused by: com.intellij.platform.instanceContainer.InstanceNotRegisteredException: com.jetbrains.python.console.PythonConsoleRunnerFactory -> com.uriyyo.evaluate_async_code.AsyncPyDebugConsoleRunnerFactory at com.intellij.platform.instanceContainer.internal.InstanceRegistrarImpl.overrideInitializer(InstanceRegistrarImpl.kt:47) at com.intellij.serviceContainer.ComponentManagerImpl.registerServices2Inner(ComponentManagerImpl.kt:609) at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:565) ... 21 more
Hi @kool79,
New version of both PyCharm and this plugin has been released. Could you please check if this issue still exists on your side?
Still not working for me, even worse its causing a crash at startup, need to delete the plugin dir manually to resolve.
Internal error
com.intellij.diagnostic.PluginException: com.jetbrains.python.console.PythonConsoleRunnerFactory -> com.uriyyo.evaluate_async_code.AsyncPyDebugConsoleRunnerFactory [Plugin: com.uriyyo.evaluate_async_code]
at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:564)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:325)
at com.intellij.openapi.client.ClientAwareComponentManager.registerComponents(ClientAwareComponentManager.kt:58)
at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents$default(ComponentManagerImpl.kt:307)
at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invokeSuspend(ApplicationLoader.kt:105)
at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invoke(ApplicationLoader.kt)
at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invoke(ApplicationLoader.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:56)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:49)
at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1.invokeSuspend(ApplicationLoader.kt:104)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Caused by: com.intellij.platform.instanceContainer.InstanceNotRegisteredException: com.jetbrains.python.console.PythonConsoleRunnerFactory -> com.uriyyo.evaluate_async_code.AsyncPyDebugConsoleRunnerFactory
at com.intellij.platform.instanceContainer.internal.InstanceRegistrarImpl.overrideInitializer(InstanceRegistrarImpl.kt:56)
at com.intellij.serviceContainer.ComponentManagerImpl.registerServices2Inner(ComponentManagerImpl.kt:601)
at com.intellij.serviceContainer.ComponentManagerImpl.registerServices(ComponentManagerImpl.kt:557)
... 18 more
-----
JRE: 21.0.3+13-b509.4 aarch64 (JetBrains s.r.o.)
/Applications/PyCharm 2024.2 EAP.app/Contents/jbr/Contents/Home
I just upgraded from 2024.1 to 2024.2 which made the error appear on IntelliJ IDEA Ultimate
same stacktrace, disabling the plugin worked via adding to /Library/Application Support/JetBrains/IntelliJIdea2024/disabled_plugins.txt the id "com.uriyyo.evaluate_async_code"
Plugin Evaluate Async Code is version 1.25
Uninstall, restart, re-install makes it fail again.
Happens to me as well in the newly released Pycharm 2024.2. Crash on startup while using the latest version of the plugin (1.25).
Crashing the Pycharm IDE @ 2024.2 with the only solution to remove the plugin folder.
X2 after upgrading to the latest version, 2024.2
I've noticed this comment in Jetbrains' issue tracker. Hopefully it can help the plugin's author resolve the issue faster.
I've forked the source code and managed to make it not crash using the suggestion in the comment. However, when trying to evalutate an asynchronous code, the evaluation itself still failed with an error (though the process didn't crash so that's a start).
Hi @UltimateLobster,
This is super helpful, I will take a look!
Hi all,
I just uploaded a new plugin version that should fix this issue. I will ping you when it will be reviewed and publicly available.
cc @kool79 @cetguyrenard @ciarancourtney @UltimateLobster @lewkoo @AndreMPCosta
Hi all,
The new version 1.26
is now publicly available.
Hi all,
I'm closing this issue, please reopen it in case of any questions