Hi,
I am currently debugging a workflow, but when I try to rerun FIZZLED FWs, it raises errors : “RecursionError: maximum recursion depth exceeded”
Note that these FWs are in a workflow dynamically generated and append by a custom firetask.
Is there a way to rerun these fireworks without deleting and rebuilding the entire workflow ?
How can I avoid such problems ?
Best regards,
David
Here are some tracebacks :
$ lpad rerun_fws -s FIZZLED
Traceback (most recent call last):
File “/b/home/ipgs/dmichea/venv_a2s/bin/lpad”, line 11, in
load_entry_point(‘FireWorks==1.4.1’, ‘console_scripts’, ‘lpad’)()
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/scripts/lpad_run.py”, line 1053, in lpad
args.func(args)
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/scripts/lpad_run.py”, line 427, in rerun_fws
lp.rerun_fw(int(f), clear_recovery=args.clear_recovery)
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/launchpad.py”, line 1260, in rerun_fw
updated_ids = wf.rerun_fw(fw_id)
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/firework.py”, line 863, in rerun_fw
updated_ids = updated_ids.union(self.rerun_fw(child_id, updated_ids))
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/firework.py”, line 863, in rerun_fw
updated_ids = updated_ids.union(self.rerun_fw(child_id, updated_ids))
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/firework.py”, line 863, in rerun_fw
updated_ids = updated_ids.union(self.rerun_fw(child_id, updated_ids))
[Previous line repeated 986 more times]
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/firework.py”, line 858, in rerun_fw
m_fw._rerun()
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/launchpad.py”, line 1592, in _rerun
self.full_fw._rerun()
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/launchpad.py”, line 1692, in full_fw
self._get_launch_data(launch_field)
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/launchpad.py”, line 1707, in _get_launch_data
fw = self.partial_fw # assure stage 1
RecursionError: maximum recursion depth exceeded
$ lpad get_fws -s FIZZLED
[
{
“fw_id”: 165,
“created_on”: “2017-06-30T08:59:50.860965”,
“updated_on”: “2017-06-30T09:00:51.518826”,
“state”: “FIZZLED”,
“name”: “Pre-correlation: 8937 vs 8931”
},
{
“fw_id”: 166,
“created_on”: “2017-06-30T08:59:50.835693”,
“updated_on”: “2017-06-30T09:00:51.520577”,
“state”: “FIZZLED”,
“name”: “Pre-correlation: 8942 vs 8931”
},
{
“fw_id”: 171,
“created_on”: “2017-06-30T08:59:50.834089”,
“updated_on”: “2017-06-30T09:00:51.835825”,
“state”: “FIZZLED”,
“name”: “Pre-correlation: 8964 vs 8931”
},
{
“fw_id”: 177,
“created_on”: “2017-06-30T08:59:50.843329”,
“updated_on”: “2017-06-30T09:00:51.508829”,
“state”: “FIZZLED”,
“name”: “Pre-correlation: 8970 vs 8931”
},
{
“fw_id”: 178,
“created_on”: “2017-06-30T08:59:50.831047”,
“updated_on”: “2017-06-30T09:00:51.522512”,
“state”: “FIZZLED”,
“name”: “Pre-correlation: 8964 vs 8937”
},
{
“fw_id”: 181,
“created_on”: “2017-06-30T08:59:50.841427”,
“updated_on”: “2017-06-30T09:00:51.825738”,
“state”: “FIZZLED”,
“name”: “Pre-correlation: 8970 vs 8937”
}
]
$ lpad rerun_fws -i 181
Traceback (most recent call last):
File “/b/home/ipgs/dmichea/venv_a2s/bin/lpad”, line 11, in
load_entry_point(‘FireWorks==1.4.1’, ‘console_scripts’, ‘lpad’)()
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/scripts/lpad_run.py”, line 1053, in lpad
args.func(args)
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/scripts/lpad_run.py”, line 427, in rerun_fws
lp.rerun_fw(int(f), clear_recovery=args.clear_recovery)
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/launchpad.py”, line 1260, in rerun_fw
updated_ids = wf.rerun_fw(fw_id)
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/firework.py”, line 863, in rerun_fw
updated_ids = updated_ids.union(self.rerun_fw(child_id, updated_ids))
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/firework.py”, line 863, in rerun_fw
updated_ids = updated_ids.union(self.rerun_fw(child_id, updated_ids))
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/firework.py”, line 863, in rerun_fw
updated_ids = updated_ids.union(self.rerun_fw(child_id, updated_ids))
[Previous line repeated 986 more times]
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/firework.py”, line 858, in rerun_fw
m_fw._rerun()
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/launchpad.py”, line 1592, in _rerun
self.full_fw._rerun()
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/launchpad.py”, line 1692, in full_fw
self._get_launch_data(launch_field)
File “/b/home/ipgs/dmichea/venv_a2s/lib/python3.6/site-packages/fireworks/core/launchpad.py”, line 1707, in _get_launch_data
fw = self.partial_fw # assure stage 1
RecursionError: maximum recursion depth exceeded