Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
John-Holt-Tessella opened this issue Oct 12, 2020 · 3 comments
Closed

Comments

@John-Holt-Tessella
Copy link
Contributor

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)
@John-Holt-Tessella
Copy link
Contributor Author

John-Holt-Tessella commented Oct 12, 2020

Can not see the problem. Left note in trouble shooting to be found next time: https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/genie_python-Troubleshooting#can-not-set-change-users

@DominicOram
Copy link
Contributor

is in begin text

Presumably this means that the users, and RB numbers, have been correctly set in the NeXus file?

@DominicOram
Copy link
Contributor

Not sure what else we can do here so happy to see if it reoccurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants