I am running 48 workchains from an aiida-core-with-services container. One of the calculations in the workchain is excepted for some of the 48 workchains but finished for the others. The cause of exception is
| File "/opt/conda/lib/python3.9/site-packages/aiormq/channel.py", line 121, in rpc
| raise ChannelInvalidStateError("writer is None")
| aiormq.exceptions.ChannelInvalidStateError: writer is None
+-> ERROR at 2024-02-26 09:00:47.123195+00:00
| Traceback (most recent call last):
| File "/opt/conda/lib/python3.9/site-packages/aiida/engine/utils.py", line 202, in exponential_backoff_retry
| result = await coro()
| File "/opt/conda/lib/python3.9/site-packages/aiida/engine/processes/calcjobs/tasks.py", line 145, in do_submit
| return execmanager.submit_calculation(node, transport)
| File "/opt/conda/lib/python3.9/site-packages/aiida/engine/daemon/execmanager.py", line 378, in submit_calculation
| calculation.set_job_id(result)
| File "/opt/conda/lib/python3.9/site-packages/aiida/orm/nodes/process/calculation/calcjob.py", line 306, in set_job_id
| return self.base.attributes.set(self.SCHEDULER_JOB_ID_KEY, str(job_id))
| File "/opt/conda/lib/python3.9/site-packages/aiida/orm/nodes/attributes.py", line 117, in set
| self._node._check_mutability_attributes([key])
| File "/opt/conda/lib/python3.9/site-packages/aiida/orm/utils/mixins.py", line 207, in _check_mutability_attributes
| raise exceptions.ModificationNotAllowed('attributes of a sealed node are immutable')
| aiida.common.exceptions.ModificationNotAllowed: attributes of a sealed node are immutable
I am running 4 daemons to avoid overwhelming of daemons. My environment has
aiida-core 2.5.1
plumpy 0.21.10
kiwipy 0.7.7
This issue seems similar to the one in this thread. I was wondering if a solution was finalized for it?