I've been having this issue as well. I just realized that all the issues were occuring when the directory had a "#" in the name.
Delete the "#" in the directory name and the problem should be solved. This goes without saying, that if your file name has a "#" in it, then you should remove it