spind error #54

Closed
opened 2023-05-23 09:21:00 +02:00 by usov_i · 1 comment
usov_i commented 2023-05-23 09:21:00 +02:00 (Migrated from gitlab.psi.ch)

Created by: rsibille-psi

There seems to be an issue with the spind panel. The server output is copied below.

2023-05-23 09:19:00 ERROR: error handling message
message: Message 'PATCH-DOC' content: {'events': [{'kind': 'MessageSent', 'msg_type': 'bokeh_event', 'msg_data': {'event_name': 'button_click', 'event_values': {}}}], 'references': []}
error: FileNotFoundError(2, "No such file or directory: 'mpiexec'")
Traceback (most recent call last):
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/server/protocol_handler.py", line 97, in handle
work = await handler(message, connection)
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/server/session.py", line 95, in _needs_document_lock_wrapper
result = func(self, *args, **kwargs)
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/server/session.py", line 289, in _handle_patch
message.apply_to_document(self.document, self)
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/protocol/messages/patch_doc.py", line 115, in apply_to_document
invoke_with_curdoc(doc, lambda: doc.apply_json_patch(self.content, setter))
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/callbacks.py", line 408, in invoke_with_curdoc
return f()
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/protocol/messages/patch_doc.py", line 115, in
invoke_with_curdoc(doc, lambda: doc.apply_json_patch(self.content, setter))
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/document.py", line 391, in apply_json_patch
DocumentPatchedEvent.handle_json(self, event_json, references, setter)
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/events.py", line 259, in handle_json
handler(doc, event_json, references, setter)
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/events.py", line 300, in _handle_json
cb(event_json["msg_data"])
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/callbacks.py", line 355, in trigger_json_event
model._trigger_event(event)
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/util/callback_manager.py", line 119, in _trigger_event
self.document.callbacks.notify_event(cast(Model, self), event, invoke)
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/callbacks.py", line 247, in notify_event
invoke_with_curdoc(doc, callback_invoker)
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/callbacks.py", line 408, in invoke_with_curdoc
return f()
File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/util/callback_manager.py", line 113, in invoke
cast(EventCallbackWithoutEvent, callback)()
File "/opt/pyzebra/pyzebra/app/panel_spind.py", line 64, in process_button_callback
text=True,
File "/opt/miniconda3/envs/test/lib/python3.7/subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "/opt/miniconda3/envs/test/lib/python3.7/subprocess.py", line 800, in init
restore_signals, start_new_session)
File "/opt/miniconda3/envs/test/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'mpiexec': 'mpiexec'

*Created by: rsibille-psi* There seems to be an issue with the spind panel. The server output is copied below. 2023-05-23 09:19:00 ERROR: error handling message message: Message 'PATCH-DOC' content: {'events': [{'kind': 'MessageSent', 'msg_type': 'bokeh_event', 'msg_data': {'event_name': 'button_click', 'event_values': {}}}], 'references': []} error: FileNotFoundError(2, "No such file or directory: 'mpiexec'") Traceback (most recent call last): File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/server/protocol_handler.py", line 97, in handle work = await handler(message, connection) File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/server/session.py", line 95, in _needs_document_lock_wrapper result = func(self, *args, **kwargs) File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/server/session.py", line 289, in _handle_patch message.apply_to_document(self.document, self) File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/protocol/messages/patch_doc.py", line 115, in apply_to_document invoke_with_curdoc(doc, lambda: doc.apply_json_patch(self.content, setter)) File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/callbacks.py", line 408, in invoke_with_curdoc return f() File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/protocol/messages/patch_doc.py", line 115, in <lambda> invoke_with_curdoc(doc, lambda: doc.apply_json_patch(self.content, setter)) File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/document.py", line 391, in apply_json_patch DocumentPatchedEvent.handle_json(self, event_json, references, setter) File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/events.py", line 259, in handle_json handler(doc, event_json, references, setter) File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/events.py", line 300, in _handle_json cb(event_json["msg_data"]) File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/callbacks.py", line 355, in trigger_json_event model._trigger_event(event) File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/util/callback_manager.py", line 119, in _trigger_event self.document.callbacks.notify_event(cast(Model, self), event, invoke) File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/callbacks.py", line 247, in notify_event invoke_with_curdoc(doc, callback_invoker) File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/document/callbacks.py", line 408, in invoke_with_curdoc return f() File "/opt/miniconda3/envs/test/lib/python3.7/site-packages/bokeh/util/callback_manager.py", line 113, in invoke cast(EventCallbackWithoutEvent, callback)() File "/opt/pyzebra/pyzebra/app/panel_spind.py", line 64, in process_button_callback text=True, File "/opt/miniconda3/envs/test/lib/python3.7/subprocess.py", line 488, in run with Popen(*popenargs, **kwargs) as process: File "/opt/miniconda3/envs/test/lib/python3.7/subprocess.py", line 800, in __init__ restore_signals, start_new_session) File "/opt/miniconda3/envs/test/lib/python3.7/subprocess.py", line 1551, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'mpiexec': 'mpiexec'
usov_i commented 2023-05-23 14:16:41 +02:00 (Migrated from gitlab.psi.ch)

Created by: ivan-usov

A missing spind dependency causes it. Fixed on the test server. The main server will be updated on the next restart.

*Created by: ivan-usov* A missing spind dependency causes it. Fixed on the test server. The main server will be updated on the next restart.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zebra/pyzebra#54
No description provided.