simonsobs / sodetlib

Tools for performing core instrument testing, quality control, and analysis tasks.
BSD 2-Clause "Simplified" License
5 stars 0 forks source link

pysmurf issue of epics failed to respond #368

Open yaqiongl opened 1 year ago

yaqiongl commented 1 year ago

Hello,

We are currently having this issue of running S = cfg.get_smurf_control() in jupyter notebook Command failed: smurf_server_s2:AMCc:SmurfApplication:EnabledBays, that's related to epics failed to respond and in ipython it shows

In [1]: CA.Client.Exception...............................................
    Warning: "Virtual circuit disconnect"
    Context: "localhost:5064"
    Source File: ../cac.cpp line 1223
    Current Time: Mon Jul 10 2023 18:06:59.475148447

i think this might be related to issues #353 that happened a month ago, which was fixed by hammering for several times(!!). and it's kind of random. After rerunning S=cfg.get_smurf_control(), it 's back to normal

jlashner commented 1 year ago

So the issue in #353 I believe was caused due to a change in pysmurf which unintentially reduced the PV timeout from 5 seconds down to 2 seconds, which made failures a lot more comment. This should have been fixed in this PR: https://github.com/slaclab/pysmurf/pull/781

Can you try to upgrade to the most recent version of pysmurf and re-hammer? Also can you verify that it gets through the entirety of the setup procedure after hammering? I think that may fix this.