Are you using the Pigment.O plugin? If you are, the developer @EyeOdin said in this post to uninstall the plugin before updating to Krita 5.2 as the new python version breaks the plugin and there hasen’t been a bug fix for it yet. The creator also stated all bug reports pertaining to that will be ignored.