@sphuber , so I did two test, one is in my personal computer and submitting the job in verdi shell, and the other one using the aiidalab-container, in both i am using aiida-core AiiDA v2.4β¦ In my personal computer the workchain completes, but in the container i have the same issue
"023-11-17 10:05:11 [10042 | REPORT]: [33693|PwBaseWorkChain|on_terminated]: remote folders will not be cleaned
2023-11-17 10:06:11 [10043 | WARNING]: Process<33660>: no connection available to broadcast state change from waiting to running
2023-11-17 10:06:11 [10044 | WARNING]: Process<33660>: no connection available to broadcast state change from running to running
2023-11-17 10:06:11 [10045 | REPORT]: [33660|DielectricWorkChain|on_except]: Traceback (most recent call last):
File "/opt/conda/lib/python3.9/site-packages/plumpy/process_states.py", line 228, in execute
result = self.run_fn(*self.args, **self.kwargs)
File "/opt/conda/lib/python3.9/site-packages/aiida/engine/processes/workchains/workchain.py", line 314, in _do_step
finished, stepper_result = self._stepper.step()
File "/opt/conda/lib/python3.9/site-packages/plumpy/workchains.py", line 295, in step
finished, result = self._child_stepper.step()
File "/opt/conda/lib/python3.9/site-packages/plumpy/workchains.py", line 538, in step
finished, result = self._child_stepper.step()
File "/opt/conda/lib/python3.9/site-packages/plumpy/workchains.py", line 295, in step
finished, result = self._child_stepper.step()
File "/opt/conda/lib/python3.9/site-packages/plumpy/workchains.py", line 246, in step
return True, self._fn(self._workchain)
File "/home/jovyan/aiida-vibroscopy/src/aiida_vibroscopy/workflows/dielectric/base.py", line 690, in run_electric_field_scfs
node = self.submit(PwBaseWorkChain, **inputs)
File "/opt/conda/lib/python3.9/site-packages/aiida/engine/processes/process.py", line 544, in submit
return self.runner.submit(process, **kwargs)
File "/opt/conda/lib/python3.9/site-packages/aiida/engine/runners.py", line 183, in submit
process_inited = self.instantiate_process(process, **inputs)
File "/opt/conda/lib/python3.9/site-packages/aiida/engine/runners.py", line 169, in instantiate_process
return instantiate_process(self, process, **inputs)
File "/opt/conda/lib/python3.9/site-packages/aiida/engine/utils.py", line 64, in instantiate_process
process = process_class(runner=runner, inputs=inputs)
File "/opt/conda/lib/python3.9/site-packages/plumpy/base/state_machine.py", line 195, in __call__
call_with_super_check(inst.init)
File "/opt/conda/lib/python3.9/site-packages/plumpy/base/utils.py", line 31, in call_with_super_check
wrapped(*args, **kwargs)
File "/opt/conda/lib/python3.9/site-packages/aiida/engine/processes/process.py", line 188, in init
super().init()
File "/opt/conda/lib/python3.9/site-packages/plumpy/base/utils.py", line 16, in wrapper
wrapped(self, *args, **kwargs)
File "/opt/conda/lib/python3.9/site-packages/plumpy/processes.py", line 309, in init
identifier = self._communicator.add_rpc_subscriber(self.message_receive, identifier=str(self.pid))
File "/opt/conda/lib/python3.9/site-packages/plumpy/communications.py", line 141, in add_rpc_subscriber
return self._communicator.add_rpc_subscriber(converted, identifier)
File "/opt/conda/lib/python3.9/site-packages/kiwipy/rmq/threadcomms.py", line 215, in add_rpc_subscriber
return self._loop_scheduler.await_(
File "/opt/conda/lib/python3.9/site-packages/pytray/aiothreads.py", line 164, in await_
return self.await_submit(awaitable).result(timeout=self.task_timeout)
File "/opt/conda/lib/python3.9/concurrent/futures/_base.py", line 446, in result
return self.__get_result()
File "/opt/conda/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
File "/opt/conda/lib/python3.9/asyncio/tasks.py", line 258, in __step
result = coro.throw(exc)
File "/opt/conda/lib/python3.9/site-packages/pytray/aiothreads.py", line 178, in coro
res = await awaitable
File "/opt/conda/lib/python3.9/site-packages/kiwipy/rmq/communicator.py", line 483, in add_rpc_subscriber
identifier = await msg_subscriber.add_rpc_subscriber(subscriber, identifier)
File "/opt/conda/lib/python3.9/site-packages/kiwipy/rmq/communicator.py", line 124, in add_rpc_subscriber
rpc_queue = await self._channel.declare_queue(exclusive=True, arguments=self._rmq_queue_arguments)
File "/opt/conda/lib/python3.9/site-packages/aio_pika/robust_channel.py", line 173, in declare_queue
queue = await super().declare_queue(
File "/opt/conda/lib/python3.9/site-packages/aio_pika/channel.py", line 325, in declare_queue
await queue.declare(timeout=timeout)
File "/opt/conda/lib/python3.9/site-packages/aio_pika/queue.py", line 92, in declare
self.declaration_result = await asyncio.wait_for(
File "/opt/conda/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
return await fut
File "/opt/conda/lib/python3.9/site-packages/aiormq/channel.py", line 703, in queue_declare
return await self.rpc(
File "/opt/conda/lib/python3.9/site-packages/aiormq/base.py", line 168, in wrap
return await self.create_task(func(self, *args, **kwargs))
File "/opt/conda/lib/python3.9/site-packages/aiormq/base.py", line 25, in __inner
return await self.task
File "/opt/conda/lib/python3.9/asyncio/futures.py", line 284, in __await__
yield self # This tells Task to wait for completion.
File "/opt/conda/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
future.result()
File "/opt/conda/lib/python3.9/asyncio/futures.py", line 201, in result
raise self._exception
File "/opt/conda/lib/python3.9/asyncio/tasks.py", line 256, in __step
result = coro.send(None)
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
2023-11-17 10:06:11 [10046 | WARNING]: Process<33660>: no connection available to broadcast state change from running to excepted
2023-11-17 10:06:11 [10047 | ERROR]: Traceback (most recent call last):
File "/opt/conda/lib/python3.9/site-packages/plumpy/processes.py", line 888, in on_close
cleanup()
File "/opt/conda/lib/python3.9/site-packages/plumpy/communications.py", line 144, in remove_rpc_subscriber
return self._communicator.remove_rpc_subscriber(identifier)
File "/opt/conda/lib/python3.9/site-packages/kiwipy/rmq/threadcomms.py", line 221, in remove_rpc_subscriber
return self._loop_scheduler.await_(self._communicator.remove_rpc_subscriber(identifier))
File "/opt/conda/lib/python3.9/site-packages/pytray/aiothreads.py", line 164, in await_
return self.await_submit(awaitable).result(timeout=self.task_timeout)
File "/opt/conda/lib/python3.9/concurrent/futures/_base.py", line 446, in result
return self.__get_result()
File "/opt/conda/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
raise self._exception
File "/opt/conda/lib/python3.9/asyncio/tasks.py", line 258, in __step
result = coro.throw(exc)
File "/opt/conda/lib/python3.9/site-packages/pytray/aiothreads.py", line 178, in coro
res = await awaitable
File "/opt/conda/lib/python3.9/site-packages/kiwipy/rmq/communicator.py", line 488, in remove_rpc_subscriber
await msg_subscriber.remove_rpc_subscriber(identifier)
File "/opt/conda/lib/python3.9/site-packages/kiwipy/rmq/communicator.py", line 141, in remove_rpc_subscriber
await rpc_queue.cancel(identifier)
File "/opt/conda/lib/python3.9/site-packages/aio_pika/robust_queue.py", line 140, in cancel
result = await super().cancel(consumer_tag, timeout, nowait)
File "/opt/conda/lib/python3.9/site-packages/aio_pika/queue.py", line 264, in cancel
return await asyncio.wait_for(
File "/opt/conda/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
return await fut
File "/opt/conda/lib/python3.9/site-packages/aiormq/channel.py", line 395, in basic_cancel
return await self.rpc(
File "/opt/conda/lib/python3.9/site-packages/aiormq/base.py", line 168, in wrap
return await self.create_task(func(self, *args, **kwargs))
File "/opt/conda/lib/python3.9/site-packages/aiormq/base.py", line 25, in __inner
return await self.task
File "/opt/conda/lib/python3.9/asyncio/futures.py", line 284, in __await__
yield self # This tells Task to wait for completion.
File "/opt/conda/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
future.result()
File "/opt/conda/lib/python3.9/asyncio/futures.py", line 201, in result
raise self._exception
File "/opt/conda/lib/python3.9/asyncio/tasks.py", line 256, in __step
result = coro.send(None)
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
2023-11-17 10:06:22 [10048 | REPORT]: [33660|DielectricWorkChain|on_terminated]: cleaned remote folders of calculations: 33668 33679 33696"