Catch exception on local out of space errors
This can happen with logging to ~/.umobj.log but also maybe if we are cpobj'ing a file down. This was reported in UMIACS-43745.
-bash-4.1$ lsobj
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib64/python2.6/logging/__init__.py", line 1517, in shutdown
h.close()
File "/usr/lib64/python2.6/logging/__init__.py", line 836, in close
self.stream.close()
IOError: [Errno 28] No space left on device
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib64/python2.6/logging/__init__.py", line 1517, in shutdown
h.close()
File "/usr/lib64/python2.6/logging/__init__.py", line 836, in close
self.stream.close()
IOError: [Errno 28] No space left on device