Actions
Bug #5263
closedredux cachefs may attempt to remove root diskcache_path
Status:
Closed
Priority:
Normal
Assignee:
Sargis Dallakyan
Category:
-
Target version:
Start date:
10/12/2017
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 3.2
Show in known bugs:
No
Workaround:
Description
The removal of empty parent directory make this a possible situation.
The error message:
File "/Users/acheng/myami/redux/cachefs.py", line 142, in remove self.removedir(os.path.dirname(name), recursive=True) File "/Users/acheng/miniconda/lib/python2.7/site-packages/fs-0.5.1-py2.7.egg/fs/errors.py", line 257, in wrapper return func(self,*args,**kwds) File "/Users/acheng/miniconda/lib/python2.7/site-packages/fs-0.5.1-py2.7.egg/fs/osfs/__init__.py", line 291, in removedir raise RemoveRootError(path) RemoveRootError: Can't remove root dir
We don't want it to stop redux.
Actions