Since the reboot, iPython shells that try to load PythonVirgoTools cannot load Suspension DSPs anymore; the error is the following:
In [1]: NI = DSP("NI")
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In [1], line 1
----> 1 NI = DSP("NI")
File /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39-20221118/lib/python3.9/site-packages/virgotools/interface_DSP.py:86, in DSP.__init__(self, dsp_name, ramptime)
83 config.optionxform = str # preserve case
85 if not defaults.satserver_config_file:
---> 86 raise NameError("The default SatServer config is not defined, please set the 'satserver_config_file' variable in %s/pvt_external_defaults.py" %(path.dirname(path.abspath(__file__))))
88 if not defaults.server:
89 raise NameError("The default server is not defined, please set the 'server' variable in %s/pvt_external_defaults.py" %(path.dirname(path.abspath(__file__))))
NameError: The default SatServer config is not defined, please set the 'satserver_config_file' variable in /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39-20221118/lib/python3.9/site-packages/virgotools/pvt_external_defaults.py
This has been tested both by me (custom but official environment igwn-py39-20221118), by virgorun and Franco with the standard environment. This looks loosely related to a recent merge in PythonVirgoTools, which is not included (I guess) in any environment just yet, so I wonder if the issue comes from the SatServer side.
The odd thing is that Metatron nodes are not affected by this issue.
2 comments
I was able to reproduce the error. For me this error in not linked to SatServer, but it's related to the Python version. If I use the version 2.7.14 it works fine, while if I use the version 3.9 the script fails.
For more details see this screen-dump.
The issue seems related to which conda environment is in use, and it happens when using the environment
/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39-20221118as it is a side-independent environment and thus it does not contain site-specific configurations (although it did work before the shutdown).
Using the older environment
/virgo/conda/envs/cmt-condathe issue does not happen and the DSPs can be loaded (although I knew such environment was dedicated to processes and not humans).