aelamspychron / pychron

Data acquisition and processing framework for Ar-Ar geochronology and noble gas mass spectrometry
http://pychron.readthedocs.org/en/latest/
Apache License 2.0
0 stars 0 forks source link

Broke Valve Ion Getter Pump #18

Closed ael-noblegas closed 3 years ago

ael-noblegas commented 3 years ago

active branch=dev/dc

active analyses=

description="Assigned it a query state, now it doesn't like either (true/false)"

Traceback

Traceback (most recent call last):
  File "C:\anaconda3\envs\pychron3\lib\site-packages\enable\qt4\base_window.py", line 237, in mousePressEvent
    self.handler.mousePressEvent(event)
  File "C:\anaconda3\envs\pychron3\lib\site-packages\enable\qt4\base_window.py", line 124, in mousePressEvent
    self._enable_window._handle_mouse_event(name + "_down", event)
  File "C:\anaconda3\envs\pychron3\lib\site-packages\enable\abstract_window.py", line 352, in _handle_mouse_event
    self.component.dispatch(mouse_event, event_name)
  File "C:\anaconda3\envs\pychron3\lib\site-packages\enable\component.py", line 921, in dispatch
    self._new_dispatch(event, suffix)
  File "C:\anaconda3\envs\pychron3\lib\site-packages\enable\component.py", line 961, in _new_dispatch
    self._dispatch_stateful_event(event, suffix)
  File "C:\anaconda3\envs\pychron3\lib\site-packages\enable\container.py", line 524, in _dispatch_stateful_event
    self._container_handle_mouse_event(event, suffix)
  File "C:\anaconda3\envs\pychron3\lib\site-packages\enable\container.py", line 427, in _container_handle_mouse_event
    Component._dispatch_stateful_event(self, event, suffix)
  File "C:\anaconda3\envs\pychron3\lib\site-packages\enable\interactor.py", line 110, in _dispatch_stateful_event
    handler(event)
  File "C:\Users\Science\.pychron.0\pychron\pychron\canvas\canvas2D\extraction_line_canvas2D.py", line 253, in select_left_down
    ok, change = self.manager.open_valve(item.name, mode=mode)
  File "C:\Users\Science\.pychron.0\pychron\pychron\extraction_line\extraction_line_manager.py", line 440, in open_valve
    return self._open_close_valve(name, 'open', **kw)
  File "C:\Users\Science\.pychron.0\pychron\pychron\extraction_line\extraction_line_manager.py", line 663, in _open_close_valve
    result = self._change_switch_state(name, mode, action, **kw)
  File "C:\Users\Science\.pychron.0\pychron\pychron\extraction_line\extraction_line_manager.py", line 695, in _change_switch_state
    ret = func(name, mode=mode, **kw)
  File "C:\Users\Science\.pychron.0\pychron\pychron\extraction_line\switch_manager.py", line 419, in open_by_name
    return self._open_(name, mode, force=force)
  File "C:\Users\Science\.pychron.0\pychron\pychron\extraction_line\switch_manager.py", line 828, in _open_
    r, c = self._actuate_(name, action, mode, force=force)
  File "C:\Users\Science\.pychron.0\pychron\pychron\extraction_line\switch_manager.py", line 876, in _actuate_
    result, changed = act(mode='{}-{}'.format(self.mode, mode), force=force)
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\switch.py", line 189, in set_open
    return self._actuate_state(self._open, mode, True, True, force)
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\switch.py", line 208, in _actuate_state
    success = func(mode, force)
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\switch.py", line 221, in _open
    return self._act(mode, cmd, not self.state or force)
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\switch.py", line 245, in _act
    r = func(self)
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\actuators\actuator.py", line 76, in open_channel
    return self._actuate('open', *args, **kw)
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\actuators\actuator.py", line 29, in wrapped
    r = wrapper(obj, *args, **kw)
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\actuators\actuator.py", line 88, in _actuate
    return func(*args, **kw)
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\actuators\gp_actuator.py", line 65, in open_channel
    return self.actuate(obj, 'Open')
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\actuators\gp_actuator.py", line 71, in actuate
    if self._actuate(obj, action):
  File "C:\Users\Science\.pychron.0\pychron\pychron\hardware\actuators\__init__.py", line 68, in wrapper
    r = r.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
ael-noblegas commented 3 years ago

I'm an idiot and forgot to re-enable the RCS upon instrument control restart.