Run/Debug configurations are lost in Pycharm 2016.3 after upgrade

Answered

I've upgraded from Pycharm 2016.2.3, I selected import existing configuration but new version of Pycharm lost all of my Run/Debug configurations.

I checked the system/config folder and found the same archives. Is this a bug or I'm missing something?

3
2 comments

If your Run/Debug Configurations had Shared option enabled, they are saved in .idea/runConfigurations project configuration folder. This way you can include them into version control (https://intellij-support.jetbrains.com/hc/en-us/articles/206544839) or backup. Make sure .idea/workspace.xml is not added to Git.

Otherwise they are stored in workspace.xml file, which, it seems, was corrupted, and that's the reason of the problem. Please also vote for the related request: https://youtrack.jetbrains.com/issue/IDEA-89424.

1
Avatar
Permanently deleted user

I also ran into this. The Pycharm update totally erased my entire runConfigurations folder from the .idea folder in the project (with zero notification of doing it). The settings for Pycharm are also default to NOT track versioning for the idea folder, so I lost everything.

Luckily I keep all of my projects on DropBox, so I was able to restore therunConfigurations folder and the old workspace.xml file, which restored the missing run configurations.

This is a REAL problem and needs to be fixed for developers to trust product updates...

3

Please sign in to leave a comment.