Today while processing some files in Jupyter Notebook, I found that the list of files in Jupyter Notebook was not keeping up with what I was seeing in my file browser.
A similar thing was happening when I was working on a script earlier, when I would change the code, and run it in Git Bash or Powershell, I would get the same syntax errors (even when I commented out the whole file).
If I open Git Bash from Explorer I am able to see the updated files, as I would expect, but if I open Explorer from Git Bash, the files are missing. I understand that this is because the child programs inherit the permissions of their parents, but there still seems to be two sources of files that are out of sync.
The only thing that I have done today that I can think would cause damage to my file system is ending my python script from task manager and leaving a file lock open, but I don't get any related errors.
What I have Tried:
Rebooting the system (Shutdown and Restart)
Symptoms don't match an open lock https://helpcenter.gsx.com/hc/en-us/articles/115015880627-How-to-Identify-which-Windows-Process-is-Locking-a-File-or-Folder
-
Changed the local group policy (and rebooting), no difference
Looked in C:\Users\ ******* \AppData\Local\VirtualStore, no files
System Details
- Windows 10
- Git Bash v4.4.23(1)-release (x86_64-pc-msys)
- Python 3.7.4
Here is a screenshot that shows one instance of Windows Explorer opened from command prompt and one opened from the GUI. Both the paths at the top of the windows are the same.
Documents
as a component of the path, but the left doesn't. That is, theuas
you're looking in on the left is directly inside the user profile folder, but theuas
on the right is in your Documents folder.uas
directory(usingln -s Documents/uas uas
). Turns out that windows did not handle that well, because following the symlink and traveling the path have different results. Thank you very much.