Displaying report 1-1 of 1.
Reports until 21:44, Thursday 30 August 2018
H1 CDS
sheila.dwyer@LIGO.ORG - posted 21:44, Thursday 30 August 2018 (43761)
lockloss tool not working

We changed the indices of some states last night since we changed the order of SRC ASC and the POP QPD loop.  

This seems to have broken lockloss select.  Here is the error message:

sheila.dwyer@opsws13:~/Desktop/Locklosses$ lockloss -c channels_to_look_at_LSC.txt selec
/ligo/apps/linux-x86_64/gpstime/lib/python2.7/site-packages/gpstime-0.1.2-py2.7.egg/gpstime/__init__.py:150: RuntimeWarning: Leap second data is expired.
Run 'update_leapdata()' to download the latest bulletin from the IETF
  RuntimeWarning, stacklevel=1)
usage: lockloss [-h] [-c FILE] <command> ...
lockloss: error: argument <command>: invalid choice: 'selec' (choose from 'channels', 'list', 'select', 'plot', 'blrms', 'saturated', 'help')
sheila.dwyer@opsws13:~/Desktop/Locklosses$ lockloss -c channels_to_look_at_LSC.txt select
/ligo/apps/linux-x86_64/gpstime/lib/python2.7/site-packages/gpstime-0.1.2-py2.7.egg/gpstime/__init__.py:150: RuntimeWarning: Leap second data is expired.
Run 'update_leapdata()' to download the latest bulletin from the IETF
  RuntimeWarning, stacklevel=1)
Traceback (most recent call last):
  File "/opt/rtcds/userapps/release/sys/common/scripts/lockloss3.py", line 701, in <module>
    args.func(args)
  File "/opt/rtcds/userapps/release/sys/common/scripts/lockloss3.py", line 348, in cmd_select
    selected = select_lockloss_time(index=args.index, tz=args.tz)
  File "/opt/rtcds/userapps/release/sys/common/scripts/lockloss3.py", line 190, in select_lockloss_time
    times = list(get_guard_lockloss_events())[::-1]
  File "/opt/rtcds/userapps/release/sys/common/scripts/lockloss3.py", line 146, in get_guard_lockloss_events
    for t in find_transitions(GRD_LOCKING_NODE, t0, t1):
  File "/opt/rtcds/userapps/trunk/sys/common/scripts/guardutil_tmp.py", line 88, in find_transitions
    if i == lasti + 1 and i2s(i) != i2s(lasti):
  File "/opt/rtcds/userapps/trunk/sys/common/scripts/guardutil_tmp.py", line 57, in i2s
    return system.index(s)
  File "/usr/lib/python2.7/dist-packages/guardian/system.py", line 753, in index
    return self._data_for_key(key)[0]
  File "/usr/lib/python2.7/dist-packages/guardian/system.py", line 720, in _data_for_key
    raise KeyError("%s is not a state index" % key)
KeyError: '432 is not a state index'

The states that we changed around last night were numbers 433, 432, and 431 (there are only 2 states, only two of the three have ever existed).  We've gotten this error message for which ever of the three states no longer exist when we have changed the state numbers around to try to get this tool working again.  

Displaying report 1-1 of 1.