file/dir backend does not create top-level atoms directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
taskflow |
Won't Fix
|
High
|
Unassigned |
Bug Description
I am creating a simple flow and using the 'file' backend to persist to /tmp/taskflow, code is like this:
backend = backends.
'path': file_backend_path, # /tmp/taskflow
})
store = { ... }
flow = get_my_flow()
engine = engines.load(flow,
When running, it fails as follows:
2014-08-04 16:14:49,977 taskflow.
2014-08-04 16:14:49,983 stevedore.extension DEBUG found extension EntryPoint.
2014-08-04 16:14:49,983 stevedore.extension DEBUG found extension EntryPoint.
2014-08-04 16:14:49,983 stevedore.extension DEBUG found extension EntryPoint.
2014-08-04 16:14:49,983 stevedore.extension DEBUG found extension EntryPoint.
2014-08-04 16:14:49,983 stevedore.extension DEBUG found extension EntryPoint.
2014-08-04 16:14:49,986 stevedore.extension DEBUG found extension EntryPoint.
2014-08-04 16:14:49,987 stevedore.extension DEBUG found extension EntryPoint.
2014-08-04 16:14:49,987 taskflow.
e.
2014-08-04 16:14:49,987 taskflow.
2014-08-04 16:14:49,988 taskflow.
2014-08-04 16:14:49,988 taskflow.
2014-08-04 16:14:49,988 taskflow.
2014-08-04 16:14:49,989 taskflow.
2014-08-04 16:14:49,989 taskflow.
2014-08-04 16:14:49,989 stevedore.extension DEBUG found extension EntryPoint.
2014-08-04 16:14:49,989 stevedore.extension DEBUG found extension EntryPoint.
2014-08-04 16:14:49,996 stevedore.extension DEBUG found extension EntryPoint.
2014-08-04 16:14:49,996 stevedore.extension DEBUG found extension EntryPoint.
2014-08-04 16:14:49,997 taskflow.
2014-08-04 16:14:49,997 taskflow.
2014-08-04 16:14:49,997 taskflow.
Traceback (most recent call last):
File "/home/
return functor(*args, **kwargs)
File "/home/
self.
File "/home/
self.
File "/home/
with open(filename, 'wb') as fp:
IOError: [Errno 2] No such file or directory: '/tmp/taskflow/
2014-08-04 16:14:49,998 taskflow.
2014-08-04 16:14:49,998 taskflow.
inotifywait shows that /tmp/taskflow/atoms is never created.
If I manually create /tmp/taskflow/atoms before running the engine, it works
Changed in taskflow: | |
status: | Confirmed → Triaged |
I am running from trunk
commit e72a02d97043120 195c237b567d83e 39c3c3feda
Merge: 6da7782 2405bd8
Author: Jenkins <email address hidden>
Date: Fri Jul 25 01:26:40 2014 +0000
Merge "Enable hacking checks H305 and H307 in tox.ini template"