uriyyo / pycharm-evaluate-async-code

Finally, you can use await in evaluate expression 💪
https://plugins.jetbrains.com/plugin/14476-evaluate-async-code
44 stars 2 forks source link

Doesn't work #66

Closed Goury closed 7 months ago

Goury commented 1 year ago

RuntimeError: this event loop is already running.

uriyyo commented 1 year ago

Hi @Goury,

Did you try to restart PyCharm?

Goury commented 1 year ago

Hi @uriyyo, Yup, did that, didn't help T_T

uriyyo commented 1 year ago

Could you please share PyCharm version, python version, and a code snippet that I can use to reproduce issue also line in which you have breakpoint and expr that you are trying to evaluate.

uriyyo commented 1 year ago

@Goury Any updates?

Goury commented 1 year ago

Hi, sorry, 'twas a busy week.

Pycharm says it's

PyCharm 2023.1.2 (Community Edition)
Build #PC-231.9011.38, built on May 17, 2023
Runtime version: 17.0.6+10-b829.9 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.14.0-1054-oem

Python is 3.6.15

Legacy stuff, such is enterprise.

I don't currently have a snippet on hand that is not under NDA. I'll code some in the near future.

uriyyo commented 1 year ago

Oh, I see. Plugin requires to have at least python version 3.7. It will take some time to bring python 3.6 support.

uriyyo commented 1 year ago

@Goury Unfortunately, it's not possible to bring back python 3.6 version cause async-eval depends on packages that no longer support version 3.6.

I would recommend you use an older version of plugin that supports 3.6 version.

Last plugin version that supports 3.6 version - https://plugins.jetbrains.com/plugin/14476-evaluate-async-code/versions/stable/139720

Goury commented 1 year ago

Thanks, will try that and also migrate that enterprise thing to something less obsolete.

uriyyo commented 1 year ago

@Goury Can I close this issue?

uriyyo commented 7 months ago

I guess we can close this issue)