donkirkby / live-py-plugin

Live coding in Python with PyCharm, Emacs, Sublime Text, or even a browser
https://donkirkby.github.io/live-py-plugin
MIT License
289 stars 57 forks source link

`ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. #612

Closed BTWS2 closed 2 months ago

BTWS2 commented 2 months ago

What I did

If I start PyCharm 2024.1 there is a red icon in the lower right hand corner. This button opens the window with internal errors. The error happens every time I start PyCharm 2024.1, even without interacting with the plugin. image

What happened

image

com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'io.github.donkirkby.livepycharm.StartActionNewUI' must override `getActionUpdateThread` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: io.github.donkirkby.livepycharm]
    at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
    at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:90)
    at com.intellij.diagnostic.PluginException.reportDeprecatedUsage(PluginException.java:125)
    at com.intellij.openapi.actionSystem.ActionUpdateThreadAware.getActionUpdateThread(ActionUpdateThreadAware.java:21)
    at com.intellij.openapi.actionSystem.AnAction.getActionUpdateThread(AnAction.java:199)

My environment

Describe the versions of everything you were using: