-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spyder is sometimes not detecting file changes from external editors #836
Comments
From pierre.raybaut on 2011-11-15T01:07:37Z I agree this is a critical issue but I can't reproduce this behavior on any of machines. Is anyone else able to reproduce this bug? Labels: -Priority-Medium Priority-Critical Milestone-Release2.1 |
From techtonik@gmail.com on 2011-11-15T08:00:40Z Well, I had another problem that Spyder was reloading file automatically losing my changes. To me there should be at least some popup dialog with warning. |
From techtonik@gmail.com on 2011-11-15T08:02:08Z Steve, do you see anything in internal console? |
From steve.f....@gmail.com on 2011-11-17T17:12:42Z The issue appears to have resolved itself. Maybe it was an OS work or |
From pierre.raybaut on 2011-11-18T05:26:06Z It's using this Qt method: http://doc.qt.nokia.com/latest/qfileinfo.html#lastModified here: https://code.google.com/p/spyderlib/source/browse/spyderlib/widgets/editor.py#1525 |
From ccordoba12 on 2011-11-20T22:19:28Z Labels: Cat-Editor |
From steve.f....@gmail.com on 2011-11-22T09:53:23Z I've recreated this issue today. I've got a file open in spyder and I've checked it out from VCS and I'm not getting any notification that the file has changed. There's nothing in the internal console. |
From pierre.raybaut on 2011-11-22T09:59:25Z I think I've reproduced it too in the same situation. I'll try to reproduce it again to understand what's going on. Summary: Spyder not detecting file changes from external editors |
From steve.f....@gmail.com on 2011-12-22T11:23:22Z What's the status on this? I just almost lost some work again but luckily still had the compare app open and was able to resave my merged data after I had saved over it from Spyder... |
From pierre.raybaut on 2011-12-23T06:05:58Z I didn't have the time to investigate this further and I can't reproduce it. Would you be able to make a procedure on how to reproduce this bug? |
From steve.f....@gmail.com on 2012-02-07T11:15:02Z I have not figured out a specific way to reproduce this issue, but it continues to persist. Maybe it's an OS specific issue? Can we (or at least have an option) to leave the Revert menu item always enabled? I have to close and re-open the file to get the latest contents of a file. |
From pierre.raybaut on 2012-02-15T13:45:17Z This last proposition seems a good compromise. And I see that other editors (like SciTE) are never disabling this option, even if file state is not "modified". So, let's always enable this action. |
From pierre.raybaut on 2012-02-22T12:52:28Z This issue was updated by revision 146510776f3a . Status: Fixed |
From steve.f....@gmail.com on 2012-02-22T13:42:03Z Thanks for making this short term fix. Do you have any ideas for investigating the core issue? I sure wish I did! |
From pierre.raybaut on 2012-03-17T07:56:32Z Unfortunately, I'm stuck with this issue. |
From pierre.raybaut on 2013-02-12T12:22:04Z Summary: Spyder is sometimes not detecting file changes from external editors (was: Spyder not detecting file changes from external editors) |
From pierre.raybaut on 2013-02-12T12:26:37Z issue #1268 has been merged into this issue. |
From pierre.raybaut on 2013-02-12T12:29:01Z @-contrebasse: are you able to reproduce this issue? |
From steve.f....@gmail.com on 2013-02-12T12:31:44Z I still haven't found a way to specifically reproduce this issue, but it happens to me on almost daily basis now that I'm using git for version control (constantly swapping files on disk). |
From pierre.raybaut on 2013-02-12T12:43:07Z Unfortunately, this is the only way to fix this issue: we have to know how to reproduce the chain of events that lead to this bug. Otherwise, I won't be able to fix it. Moreover, these days, I'm writing code very occasionally... |
From contrebasse on 2013-02-14T00:15:57Z It happens everytime for me, using the exact same steps as the original post. I've never seen the file being reloaded. Also, where is the revert option int he menus ? I can't find it. |
From ccordoba12 on 2013-02-18T07:54:15Z I must say that I develop Spyder with Spyder and I haven't seen this issue before. I use mercurial bookmarks and constantly move back and forth between our history too, and Spyder always reloads the changes correctly. But I just tested the steps from comment |
From philipp....@googlemail.com on 2013-02-27T04:39:18Z I have this issue all the time. Spyder has never reloaded a file, I have to manually use "revert" to get the updated file. I guess it's because all my files are on an NFS filesystem which seems to be difficult with detecting file changes (Dropbox client for example has to be restartet when the files have been changed on a different machine). OS: Linux Mint 14 [Ubuntu 12.10 derivative] A simple workaround would be a "revert all" button. |
From pierre.raybaut on 2013-03-14T01:15:13Z This issue was updated by revision 242d45e6c68e . Status: Fixed |
From pierre.raybaut on 2013-03-14T01:16:18Z At last, I have been able to reproduce the issue (was occuring only after creating a new file inside Spyder) and fix it. |
From pierre.raybaut on 2013-03-21T01:10:36Z issue #1328 has been merged into this issue. |
From steve.f....@gmail.com on 2011-11-14T13:43:04Z
Spyder Version: 2.1.1
Python Version: 2.6.1
Qt Version: 4.7.3, PyQt4 (API v1) 4.8.5 on Windows (XP SP3)
What steps will reproduce the problem?
Please provide any additional information below
. I consider this a critical issue. I can't use an editor that results in losing work.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=836
The text was updated successfully, but these errors were encountered: