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

NameError from mode_USAXS() #90

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

NameError from mode_USAXS() #90

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 [17]: summarize_plan(mode_USAXS())
user_data_state -> Moving USAXS to USAXS mode
ccd_shutter -> close
usaxs_shutter -> close
monochromator_feedback_on -> 1
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-17-1de9224e6c94> in <module>()
----> 1 summarize_plan(mode_USAXS())

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/simulators.py in summarize_plan(plan)
     70         Must yield `Msg` objects
     71     """
---> 72     for msg in print_summary_wrapper(plan):
     73         ...
     74 

/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in print_summary_wrapper(plan)
    286 
    287     read_cache = []
--> 288     for msg in plan:
    289         cmd = msg.command
    290         if cmd == 'open_run':

/home/beams11/USAXS/.ipython/profile_bluesky/startup/43-procedures.py in mode_USAXS()
     39 
     40     if not confirm_instrument_mode("USAXS in beam"):
---> 41         print("Found UsaxsSaxsMode = {}".format(UsaxsSaxsMode.value))
     42         print("Moving to proper USAXS mode")
     43         yield from move_WAXSOut()

NameError: name 'UsaxsSaxsMode' is not defined
@prjemian prjemian self-assigned this Dec 7, 2018
@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 pushed a commit that referenced this issue 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