Hello,
This is a fairly serious problem which happened to me now for the second time. It seems intermittent, so I am sorry that I cannot provide the exact steps for replicating it. I can tell you what happened in both cases though:
I edit a file called "data.py", which is saved to disk. I run it, edit and save several times without problems. Then - without doing anything I can pinpoint as special - when I press F5 to run the file, Spyder asks me to save the file and brings up a dialog for it. I had saved the file just a moment before and not changed anything inbetween.In the saving dialog, I select the file it's already saved under ('data.py'), get asked if I want to overwrite the old file and accept this. Here is where the bug occurs: Upon saving, the contents of the file change to something entirely different, seemingly an old version of the same file. The file contents are changed both on disk and in the editor, and so they are gone for good.
Best wishes
Martin Gustafsson
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/spyderlib/-/gx5CzNUATW8J.
To post to this group, send email to
spyd...@googlegroups.com.
To unsubscribe from this group, send email to
spyderlib+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.