Tiling: all motors are not ready
Trying the timing scan at BM05 on Nov 2, 2022
Was not working cause some motors was not ready.
Traceback (most recent call last):
File "/users/blissadm/local/daiquiri.git/daiquiri/core/components/__init__.py", line 859, in execute
**self.initkwargs
File "/users/blissadm/local/daiquiri.git/daiquiri/implementors/tomo/tilingscan.py", line 228, in method
tomoconfig=tomo_config,
File "/users/blissadm/conda/miniconda/envs/daiquiri/lib/python3.7/site-packages/typeguard/__init__.py", line 1033, in wrapper
retval = func(*args, **kwargs)
File "/users/blissadm/local/ebs-tomo.git/tomo/sequence/tiling.py", line 224, in tiling
scan.run()
File "/users/blissadm/local/bliss.git/bliss/scanning/scan.py", line 1625, in run
self._execute_scan_runner(runner)
File "/users/blissadm/conda/miniconda/envs/daiquiri/lib/python3.7/contextlib.py", line 524, in __exit__
raise exc_details[1]
File "/users/blissadm/conda/miniconda/envs/daiquiri/lib/python3.7/contextlib.py", line 509, in __exit__
if cb(*exc_details):
File "/users/blissadm/conda/miniconda/envs/daiquiri/lib/python3.7/contextlib.py", line 377, in _exit_wrapper
return cm_exit(cm, exc_type, exc, tb)
File "/users/blissadm/conda/miniconda/envs/daiquiri/lib/python3.7/contextlib.py", line 119, in __exit__
next(self.gen)
File "/users/blissadm/local/bliss.git/bliss/common/cleanup.py", line 290, in capture_exceptions
raise value
File "/users/blissadm/local/bliss.git/bliss/common/cleanup.py", line 266, in capture
yield
File "/users/blissadm/local/bliss.git/bliss/scanning/scan.py", line 1670, in wrapper
yield
File "/users/blissadm/local/bliss.git/bliss/scanning/scan.py", line 1625, in run
self._execute_scan_runner(runner)
File "/users/blissadm/local/bliss.git/bliss/scanning/scan.py", line 1638, in _execute_scan_runner
self._execute_preset("_prepare")
File "/users/blissadm/local/bliss.git/bliss/scanning/scan.py", line 1550, in _execute_preset
gevent.joinall(preset_tasks, raise_error=True)
File "src/gevent/greenlet.py", line 1057, in gevent._gevent_cgreenlet.joinall
File "src/gevent/greenlet.py", line 1073, in gevent._gevent_cgreenlet.joinall
File "src/gevent/greenlet.py", line 371, in gevent._gevent_cgreenlet.Greenlet._raise_exception
File "/users/blissadm/conda/miniconda/envs/daiquiri/lib/python3.7/site-packages/gevent/_compat.py", line 65, in reraise
raise value.with_traceback(tb)
File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
File "/users/blissadm/local/bliss.git/bliss/scanning/scan.py", line 395, in _prepare
return self.prepare(scan)
File "/users/blissadm/local/ebs-tomo.git/tomo/scan/presets/move_axis.py", line 61, in prepare
move(*self._mv_args)
File "/users/blissadm/local/bliss.git/bliss/common/utils.py", line 902, in wrapped_function
return function(*args, **kwargs)
File "/users/blissadm/local/bliss.git/bliss/common/utils.py", line 1011, in wrapped_function
return function(*args, **kwargs)
File "/users/blissadm/local/bliss.git/bliss/common/utils.py", line 992, in wrapped_function
return function(*args, **kwargs)
File "/users/blissadm/local/bliss.git/bliss/common/standard.py", line 330, in move
_move(list(grouped(args, 2)), **kwargs)
File "/users/blissadm/local/bliss.git/bliss/common/standard.py", line 349, in _move
group.move(motor_pos, wait=wait, relative=relative)
File "/users/blissadm/local/bliss.git/bliss/common/motor_group.py", line 232, in move
polling_time=polling_time,
File "/users/blissadm/local/bliss.git/bliss/common/axis.py", line 160, in move
self.wait()
File "/users/blissadm/local/bliss.git/bliss/common/axis.py", line 167, in wait
self.stop()
File "/users/blissadm/local/bliss.git/bliss/common/axis.py", line 176, in stop
self._move_task.get()
File "/users/blissadm/local/bliss.git/bliss/common/greenlet_utils.py", line 200, in get
return super().get(*args, **keys)
File "src/gevent/greenlet.py", line 803, in gevent._gevent_cgreenlet.Greenlet.get
File "src/gevent/greenlet.py", line 371, in gevent._gevent_cgreenlet.Greenlet._raise_exception
File "/users/blissadm/conda/miniconda/envs/daiquiri/lib/python3.7/site-packages/gevent/_compat.py", line 65, in reraise
raise value.with_traceback(tb)
File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
File "/users/blissadm/local/bliss.git/bliss/common/axis.py", line 400, in _move
hook.post_move(motions)
File "/users/blissadm/conda/miniconda/envs/daiquiri/lib/python3.7/contextlib.py", line 119, in __exit__
next(self.gen)
File "/users/blissadm/local/bliss.git/bliss/common/cleanup.py", line 290, in capture_exceptions
raise value
File "/users/blissadm/local/bliss.git/bliss/common/cleanup.py", line 266, in capture
yield
File "/users/blissadm/local/bliss.git/bliss/common/axis.py", line 329, in _move
motions_dict, start_motion, stop_motion, move_func, started_event
File "/users/blissadm/local/bliss.git/bliss/common/axis.py", line 318, in _do_move
self._monitor_move(motions_dict, move_func, stop_motion)
File "/users/blissadm/conda/miniconda/envs/daiquiri/lib/python3.7/contextlib.py", line 119, in __exit__
next(self.gen)
File "/users/blissadm/local/bliss.git/bliss/common/cleanup.py", line 290, in capture_exceptions
raise value
File "/users/blissadm/local/bliss.git/bliss/common/cleanup.py", line 266, in capture
yield
File "/users/blissadm/local/bliss.git/bliss/common/axis.py", line 295, in _do_move
gevent.joinall(start, raise_error=True)
File "src/gevent/greenlet.py", line 1057, in gevent._gevent_cgreenlet.joinall
File "src/gevent/greenlet.py", line 1073, in gevent._gevent_cgreenlet.joinall
File "src/gevent/greenlet.py", line 371, in gevent._gevent_cgreenlet.Greenlet._raise_exception
File "/users/blissadm/conda/miniconda/envs/daiquiri/lib/python3.7/site-packages/gevent/_compat.py", line 65, in reraise
raise value.with_traceback(tb)
File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
File "/users/blissadm/local/bliss.git/bliss/common/axis.py", line 77, in _start_one_controller_motions
return controller.start_all(*motions)
File "/users/blissadm/local/bliss.git/bliss/controllers/motor.py", line 838, in start_all
self._reals_group.move(move_dict, wait=False)
File "/users/blissadm/local/bliss.git/bliss/common/motor_group.py", line 178, in move
self._check_ready()
File "/users/blissadm/local/bliss.git/bliss/common/motor_group.py", line 157, in _check_ready
raise RuntimeError("all motors are not ready")
RuntimeError: all motors are not ready
Edited by Valentin Valls