{"action":"opened","issue":{"url":"https://api.github.com/repos/APS-USAXS/ipython-usaxs/issues/90","repository_url":"https://api.github.com/repos/APS-USAXS/ipython-usaxs","labels_url":"https://api.github.com/repos/APS-USAXS/ipython-usaxs/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/APS-USAXS/ipython-usaxs/issues/90/comments","events_url":"https://api.github.com/repos/APS-USAXS/ipython-usaxs/issues/90/events","html_url":"https://github.com/APS-USAXS/ipython-usaxs/issues/90","id":388726502,"node_id":"MDU6SXNzdWUzODg3MjY1MDI=","number":90,"title":"NameError from mode_USAXS()","user":{"login":"prjemian","id":2279984,"node_id":"MDQ6VXNlcjIyNzk5ODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2279984?v=4","gravatar_id":"","url":"https://api.github.com/users/prjemian","html_url":"https://github.com/prjemian","followers_url":"https://api.github.com/users/prjemian/followers","following_url":"https://api.github.com/users/prjemian/following{/other_user}","gists_url":"https://api.github.com/users/prjemian/gists{/gist_id}","starred_url":"https://api.github.com/users/prjemian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prjemian/subscriptions","organizations_url":"https://api.github.com/users/prjemian/orgs","repos_url":"https://api.github.com/users/prjemian/repos","events_url":"https://api.github.com/users/prjemian/events{/privacy}","received_events_url":"https://api.github.com/users/prjemian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-07T16:33:43Z","updated_at":"2018-12-07T16:33:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"while [testing](https://github.com/APS-USAXS/ipython-usaxs/issues/59) `mode_USAXS()`, received this exception trace:\r\n\r\n```\r\nIn [17]: summarize_plan(mode_USAXS())\r\nuser_data_state -> Moving USAXS to USAXS mode\r\nccd_shutter -> close\r\nusaxs_shutter -> close\r\nmonochromator_feedback_on -> 1\r\n---------------------------------------------------------------------------\r\nNameError                                 Traceback (most recent call last)\r\n<ipython-input-17-1de9224e6c94> in <module>()\r\n----> 1 summarize_plan(mode_USAXS())\r\n\r\n/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/simulators.py in summarize_plan(plan)\r\n     70         Must yield `Msg` objects\r\n     71     \"\"\"\r\n---> 72     for msg in print_summary_wrapper(plan):\r\n     73         ...\r\n     74 \r\n\r\n/APSshare/anaconda3/BlueSky/lib/python3.6/site-packages/bluesky/preprocessors.py in print_summary_wrapper(plan)\r\n    286 \r\n    287     read_cache = []\r\n--> 288     for msg in plan:\r\n    289         cmd = msg.command\r\n    290         if cmd == 'open_run':\r\n\r\n/home/beams11/USAXS/.ipython/profile_bluesky/startup/43-procedures.py in mode_USAXS()\r\n     39 \r\n     40     if not confirm_instrument_mode(\"USAXS in beam\"):\r\n---> 41         print(\"Found UsaxsSaxsMode = {}\".format(UsaxsSaxsMode.value))\r\n     42         print(\"Moving to proper USAXS mode\")\r\n     43         yield from move_WAXSOut()\r\n\r\nNameError: name 'UsaxsSaxsMode' is not defined\r\n```"}}
{"actor":{"display_login":"prjemian"}}