PyCharm Reload from disk destroyed my changes:(
Answered
I stepped away from my keyboard and PyCharm worked some of her magic then when I returned I pushed my code and discovered all my recent changes were undone because PyCharm did a "Reload from disk."
Is there some way for me to recover my work? File Edit does not have an Undo:(
Please sign in to leave a comment.
I'm minimizing activity on that system, hoping that someone knowledgeable in PyCharm "Reload from disk" can suggest a way to get back all my hard work... Any thoughts are appreciated!
I had the same problem today. I start to modify the file, and Pycharm reloads from disk the file every time.At first, I thought the problem was the PCloud service I always used. However after consulting the data on the web (my.pcloud.com), I verified that the changes I made were saved on the internet, but not in my disk.
So after uninstall and reinstall everything, I gave up and got the Visual Studio Community. I like the Pycharm IDE, but this kind of problem drives me nuts! I do not know if the problem is the Windows 10 itself or just problems that happens every time with a new update. So, I will get a chance with VS for a while.
(I had some performance problems with my system using PyQT5 in Pycharm just to know).
I am having the same issue. Has anyone found a resolution?
Hi,
Could it be triggered by some shortcut? (you can check it in Keymap settings)
Please also try without custom plugins.
Thanks @Sergey,
The solution was a bit embarrassing. I had set my log path to the path of my main script file, which meant that as the log was written, it overwrote the script. Pycharm occasionally reloads from the disk, so every so often it would overwrite my code with the log output. So, the good news is that the problem is solved, and it was not a Pycharm issue. Thanks for your help!