Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_middleware
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:TSSW Sprint - Jun 07 - Jun 21
-
Team:Telescope and Site
-
Urgent?:Yes
Description
ts_salobj tests/test_salobj_to_either.py fails with ts_sal develop ad169f42da1aa11280d5734b1c0ed4cdc9a09486 (2021-06-07) with:
> raise base.AckError(msg="Command failed", ackcmd=ackcmd)
|
E lsst.ts.salobj.base.AckError: msg='Command failed', ackcmd=(ackcmd private_seqNum=1377420745, ack=<SalRetCode.CMD_NOPERM: -300>, error=1, result='Commanding not permitted by authList setting')
|
Work around this, e.g. by making the Remote name a CSC name.
Attachments
Issue Links
- blocks
-
DM-30264 Please add mypy to the standard Python packages
- Done
I tested the simple fix using old (probably version 5) and new (current develop) ts_sal.
I also improved DefaultingValidator's documentation to explain that defaults deeper than 2 levels are ignored.
Pull request: https://github.com/lsst-ts/ts_salobj/pull/194