Python refactorings don't work sometimes


When I press "Refactoring/Rename" shortcut nothing happens. A hint message, however, appears in the status bar

"Refactor this" menu doesn't contain "rename" entry

Of course I call this when the caret is under a renamable python symbol

However, in some cases renaming feature does work well

I tried to invalidate caches and it didn't help

I don't know if it's reproducible on another machine/IDE version. I use CLion 2022.1.1
I don't want to use PyCharm or any kind of another IDE, it worked earlier in CLion

Ask for any logs that can help you get what is happening, as I said, I can't provide you any repro steps