Skip to content

Support: SANDALS can't set user names from genie g.change_usernames #5812

@John-Holt-Tessella

Description

@John-Holt-Tessella

User set a script going to set user names for an experiment but it doesn't seem to have set the user names. We couldn't see what was going on:

  1. User set name we can see it in the log
2020-10-11T09:53:54	(CMD)	(16280)	change_users {'kwargs': {}, 'args': {'users': <name1>}}
2020-10-11T09:53:54	(CMD)	(16280)	set_pv_value IN:SANDALS:ED:USERNAME:SP b'789c8b8e0500011500b9'
2020-10-11T09:53:54	(CMD)	(16280)	set_pv_value IN:SANDALS:ED:SURNAME b'789c8b56f24dcc4e2d484d4c4e55d2515072cc49492dca4dcc538a05006991082d'
2020-10-11T09:53:54	(CMD)	(16280)	set_pv_value IN:SANDALS:ED:USERNAME:DAE:SP <name1>

put log

SLS69919_ICPputlog.txt:2020-10-11T09:53:54      Changed PV: IN:SANDALS:DAE:_USERNAME:SP new=32 old=77 min=32 max=77
SLS69919_ICPputlog.txt:2020-10-11T09:53:54      Changed PV: IN:SANDALS:ED:USERNAME:DAE:SP new=32 old=77

but it didn't show up on web dashboard but is in dashboard

  1. User set names we see in the log
2020-10-12T04:03:14	(CMD)	(16280)	change_users {'kwargs': {}, 'args': {'users': <names2>}}
2020-10-12T04:03:14	(CMD)	(16280)	set_pv_value IN:SANDALS:ED:USERNAME:SP b'789c8b8e0500011500b9'
2020-10-12T04:03:16	(CMD)	(16280)	set_pv_value IN:SANDALS:ED:SURNAME b'789c8b560a282a2d494dcc2b55d251500a4ecca9ca4dcccb03b353537340b47b626a51495e6a91522c003e7e0e06'
2020-10-12T04:03:16	(CMD)	(16280)	set_pv_value IN:SANDALS:ED:USERNAME:DAE:SP <names2>

put log

SLS69931_ICPputlog.txt:2020-10-12T04:03:16      Changed PV: IN:SANDALS:ED:USERNAME:DAE:SP new=80 old=32
SLS69931_ICPputlog.txt:2020-10-12T04:03:16      Changed PV: IN:SANDALS:ED:USERNAME:DAE:SP new=32 old=80
SLS69931_ICPputlog.txt:2020-10-12T04:03:16      Changed PV: IN:SANDALS:ED:USERNAME:DAE:SP new=80 old=32
SLS69931_ICPputlog.txt:2020-10-12T04:03:16      Changed PV: IN:SANDALS:DAE:_USERNAME:SP new=80 old=32 min=32 max=80

but doesn't show up in dashboard, or web dashboard (is in begin text)

  1. We set it from another script and it was fine

Acceptance Criteria

  • find fix if possible otherwise leave notes for next time (if there is a next time)

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions