Error message when setting value for glbl['dk_window']

14 views
Skip to first unread message

Long Yang

unread,
Oct 25, 2017, 7:04:00 AM10/25/17
to xpd-users
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

Simon Billinge

unread,
Oct 25, 2017, 7:17:26 AM10/25/17
to Long Yang, xpd-users
Thanks for this Long
--
You received this message because you are subscribed to the Google Groups "xpd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xpd-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xpd-users/20d010cf-7299-4a3e-a3bd-02a1d7d46fe1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages