No ctime for symlinks
Check for symlink and use proper call
Traceback (most recent call last):
File "/home/cloud/.virtualenvs/storage/local/lib/python2.7/site-packages/celery/task/trace.py", line 233, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/cloud/.virtualenvs/storage/local/lib/python2.7/site-packages/celery/task/trace.py", line 420, in __protected_call__
return self.run(*args, **kwargs)
File "/home/cloud/storagedriver/storagedriver.py", line 104, in make_free_space
key=lambda x: path.getctime(path.join(trash_path, x)))
File "/home/cloud/storagedriver/storagedriver.py", line 104, in <lambda>
key=lambda x: path.getctime(path.join(trash_path, x)))
File "/home/cloud/.virtualenvs/storage/lib/python2.7/genericpath.py", line 64, in getctime
return os.stat(filename).st_ctime
None: [Errno 2] No such file or directory: '/datastore/trash/dc0f3ab0-5b71-4ed7-8a04-076ee36a08dd'
-
Owner
@gubasandor ping
-
Status changed to closed
Toggle commit list
Please
register
or
sign in
to comment