-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
I've just noticed this error, scanning all the containers in the Mockup version.
It seems that the route sample_changer/scan/
is not found on the backend.


2025-08-07 11:56:14,648 |MX3.HWR|DEBUG | [2025-Aug-07 11:56] 127.0.0.1 GET http /mxcube/api/v0.1/sample_changer/scan/? 501 INTERNAL SERVER ERROR
Traceback (most recent call last):
File "/home/alessandro/devel/anaconda3/envs/mxcube_new/lib/python3.11/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alessandro/devel/anaconda3/envs/mxcube_new/lib/python3.11/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alessandro/devel/anaconda3/envs/mxcube_new/lib/python3.11/site-packages/flask/app.py", line 270, in <lambda>
view_func=lambda **kw: self_ref().send_static_file(**kw), # type: ignore # noqa: B950
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alessandro/devel/anaconda3/envs/mxcube_new/lib/python3.11/site-packages/flask/app.py", line 318, in send_static_file
return send_from_directory(
^^^^^^^^^^^^^^^^^^^^
File "/home/alessandro/devel/anaconda3/envs/mxcube_new/lib/python3.11/site-packages/flask/helpers.py", line 552, in send_from_directory
return werkzeug.utils.send_from_directory( # type: ignore[return-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alessandro/devel/anaconda3/envs/mxcube_new/lib/python3.11/site-packages/werkzeug/utils.py", line 575, in send_from_directory
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Metadata
Metadata
Assignees
Labels
No labels