I met an error message when doing experiments. When I set value for glbl['dk_window'] by typing:
glbl['dk_window'] = 20 in xpdui terminal. It shows an error -- "ERROR:asyncio:Task was destroyed but it is pending!" as below. Then I hit Enter, type glbl['dk_window'] = 20 again, it works without any error message. This error doesn't affect my measurement, just posting here in case this might result in a potential issue.
In [217]: save_last_tiff()
start pipeline configuration
/home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/site-packages/databroker/_core.py:315: UserWarning: The 'stream' method been renamed to 'documents'. The old name will be removed in the future.
warn("The 'stream' method been renamed to 'documents'. The old name "
file saved at /direct/XF28ID1/pe2_data/xpdUser/tiff_base/bc-3-03/dark_sub/bc-3-03_20171024-193719_b8c239_001.tiff
In [218]: glbl['dk_window'] = 20
ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending coro=<Event.wait() done, defined at /home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/asyncio/locks.py:257> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f6547646078>()]> cb=[_wait.<locals>._on_completion() at /home/xf28id1/conda_envs/17Q3-dev/lib/python3.6/asyncio/tasks.py:380]>
In [219]: glbl['dk_window'] = 20