PyCharm overwrites externally modified jupyter notebook with an older version
已回答
After I updated PyCharm to 2017.3, a very sad feature (or a bug?) appeared:
if a jupyter notebook, belonging to some PyCharm project, was modified externally, PyCharm opens its local copy containing the old version and overwrites it.
It happened to me in two cases:
- I closed PyCharm, opened the notebook in browser, edited it, saved. Opened PyCharm -- and there were no external changes applied, the notebook was in the same state as when PyCharm wa closed.
- The project is located in the Dropbox folder, therefore all local project settings are synchronized. I opened PyCharm at machine_1, closed, waited for the Dropbox synchronization. Opened PyCharm at machine_2, edited the file, closed PyCharm, waited for the Dropbox synchronization. Opened it at machine_1, and no changes made on machine_2 and existing in the text version of the notebook file in Dropbox were seen. After I closed PyCharm, the notebook file lost all the changes made on the machine_2.
请先登录再写评论。
Hi!
Big thanks for pointing out, I reproduced the problem and create an issue on our tracker https://youtrack.jetbrains.com/issue/PY-28484
Valentina Kiryushkina
Same issue here almost ruins my project. Hope this can be sorted.