Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

FailedStatus from mode_USAXS() #94

Closed
prjemian opened this issue Dec 7, 2018 · 0 comments
Closed

FailedStatus from mode_USAXS() #94

prjemian opened this issue Dec 7, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@prjemian
Copy link
Contributor

prjemian commented Dec 7, 2018

while testing mode_USAXS(), received this exception trace:

In [4]: RE(mode_USAXS())
Found UsaxsSaxsMode = out of beam
Moving to proper USAXS mode
Moving WAXS out of beam
---------------------------------------------------------------------------
FailedStatus                              Traceback (most recent call last)
<ipython-input-4-125c5b6feaa6> in <module>()
----> 1 RE(mode_USAXS())

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/run_engine.py in __call__(self, *args, **metadata_kw)
    742                     # it (unless it is a canceled error)
    743                     if exc is not None:
--> 744                         raise exc
    745 
    746             if self._interrupted:

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/run_engine.py in _run(self)
   1251             self.log.error("Run aborted")
   1252             self.log.error("%r", err)
-> 1253             raise err
   1254         finally:
   1255             # Some done_callbacks may still be alive in other threads.

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/run_engine.py in _run(self)
   1115                         try:
   1116                             msg = self._plan_stack[-1].throw(
-> 1117                                 self._exception or resp)
   1118                         except Exception as e:
   1119                             # The current plan did not handle it,

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in __call__(self, plan)
   1292         plan = monitor_during_wrapper(plan, self.monitors)
   1293         plan = baseline_wrapper(plan, self.baseline)
-> 1294         return (yield from plan)

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in baseline_wrapper(plan, devices, name)
   1147         return (yield from plan)
   1148     else:
-> 1149         return (yield from plan_mutator(plan, insert_baseline))
   1150 
   1151 

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in plan_mutator(plan, msg_proc)
     75             # if we have a stashed exception, pass it along
     76             try:
---> 77                 msg = plan_stack[-1].throw(exception)
     78             except StopIteration as e:
     79                 # discard the exhausted generator

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in monitor_during_wrapper(plan, signals)
    788     plan1 = plan_mutator(plan, insert_after_open)
    789     plan2 = plan_mutator(plan1, insert_before_close)
--> 790     return (yield from plan2)
    791 
    792 

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in plan_mutator(plan, msg_proc)
     75             # if we have a stashed exception, pass it along
     76             try:
---> 77                 msg = plan_stack[-1].throw(exception)
     78             except StopIteration as e:
     79                 # discard the exhausted generator

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in plan_mutator(plan, msg_proc)
     75             # if we have a stashed exception, pass it along
     76             try:
---> 77                 msg = plan_stack[-1].throw(exception)
     78             except StopIteration as e:
     79                 # discard the exhausted generator

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in fly_during_wrapper(plan, flyers)
    846     plan1 = plan_mutator(plan, insert_after_open)
    847     plan2 = plan_mutator(plan1, insert_before_close)
--> 848     return (yield from plan2)
    849 
    850 

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in plan_mutator(plan, msg_proc)
     75             # if we have a stashed exception, pass it along
     76             try:
---> 77                 msg = plan_stack[-1].throw(exception)
     78             except StopIteration as e:
     79                 # discard the exhausted generator

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in plan_mutator(plan, msg_proc)
     75             # if we have a stashed exception, pass it along
     76             try:
---> 77                 msg = plan_stack[-1].throw(exception)
     78             except StopIteration as e:
     79                 # discard the exhausted generator

/home/beams11/USAXS/.ipython/profile_bluesky/startup/43-procedures.py in mode_USAXS()
     42         print("Found UsaxsSaxsMode = {}".format(mode_now))
     43         print("Moving to proper USAXS mode")
---> 44         yield from move_WAXSOut()
     45         yield from move_SAXSOut()
     46         yield from move_USAXSIn()

/home/beams11/USAXS/.ipython/profile_bluesky/startup/41-commands.py in move_WAXSOut()
     62     print("Moving WAXS out of beam")
     63     # in case there is an error in moving, it is NOT SAFE to start a scan
---> 64     yield from bps.mv(terms.SAXS.UsaxsSaxsMode, UsaxsSaxsModes["dirty"])
     65 
     66     # move the WAXS X away from sample

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/plan_stubs.py in mv(*args)
    245         ret = yield Msg('set', obj, val, group=group)
    246         status_objects.append(ret)
--> 247     yield Msg('wait', None, group=group)
    248     return tuple(status_objects)
    249 

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in plan_mutator(plan, msg_proc)
    192         try:
    193             # yield out the 'current message' and collect the return
--> 194             inner_ret = yield msg
    195         except GeneratorExit:
    196             # special case GeneratorExit.  We must clean up all of our plans

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in plan_mutator(plan, msg_proc)
    192         try:
    193             # yield out the 'current message' and collect the return
--> 194             inner_ret = yield msg
    195         except GeneratorExit:
    196             # special case GeneratorExit.  We must clean up all of our plans

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in plan_mutator(plan, msg_proc)
    192         try:
    193             # yield out the 'current message' and collect the return
--> 194             inner_ret = yield msg
    195         except GeneratorExit:
    196             # special case GeneratorExit.  We must clean up all of our plans

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in plan_mutator(plan, msg_proc)
    192         try:
    193             # yield out the 'current message' and collect the return
--> 194             inner_ret = yield msg
    195         except GeneratorExit:
    196             # special case GeneratorExit.  We must clean up all of our plans

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in plan_mutator(plan, msg_proc)
    192         try:
    193             # yield out the 'current message' and collect the return
--> 194             inner_ret = yield msg
    195         except GeneratorExit:
    196             # special case GeneratorExit.  We must clean up all of our plans

FailedStatus: Status(obj=EpicsSignal(read_pv='9idcLAX:USAXS_Pin:USAXSSAXSMode', name='terms_SAXS_UsaxsSaxsMode', parent='terms_SAXS', value=65535, timestamp=1544202004.110641, pv_kw={}, auto_monitor=False, string=False, write_pv='9idcLAX:USAXS_Pin:USAXSSAXSMode', limits=False, put_complete=False), done=True, success=False)
@prjemian prjemian added the bug Something isn't working label Dec 7, 2018
@prjemian prjemian added this to the 2018-3 operations milestone Dec 7, 2018
@prjemian prjemian self-assigned this Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant