Closed arrellc closed 1 year ago
"SAROP31-PBPS113" and "SAROP31-PBPS149" are excluded from updates to epics, so it shouldn't cause the error. Could you copy the error itself?
2023-01-25 17:16:49 ERROR: error handling message
message: Message 'PATCH-DOC' content: {'events': [{'kind': 'MessageSent', 'msg_type': 'bokeh_event', 'msg_data': {'type': 'event', 'name': 'button_click', 'values': {'type': 'map', 'entries': [['model', {'id': 'p1280710'}]]}}}]}
error: UnboundLocalError("local variable 'device_name' referenced before assignment")
Traceback (most recent call last):
File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/bokeh/server/protocol_handler.py", line 97, in handle
work = await handler(message, connection)
File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/bokeh/server/session.py", line 93, in _needs_document_lock_wrapper
result = func(self, *args, **kwargs)
File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/bokeh/server/session.py", line 287, in _handle_patch
message.apply_to_document(self.document, self)
File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/bokeh/protocol/messages/patch_doc.py", line 104, in apply_to_document
invoke_with_curdoc(doc, lambda: doc.apply_json_patch(self.payload, setter=setter))
File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/bokeh/document/callbacks.py", line 426, in invoke_with_curdoc
return f()
File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/bokeh/protocol/messages/patch_doc.py", line 104, in
I just restarted the test server with the fix.
Error message when calibration push is attempted. SAROP31 devices do not need epics record calcs updated, just the pipeline. Is this what is causing the error?