From 1e01f147eacb7a52840bb6ab34a1c647ce5eb3ed Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 2 Feb 2026 21:48:52 +0300 Subject: New issue. Signed-off-by: Munyoki Kilyungi --- issues/search/local-search-not-working.gmi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 issues/search/local-search-not-working.gmi diff --git a/issues/search/local-search-not-working.gmi b/issues/search/local-search-not-working.gmi new file mode 100644 index 00000000..46a5deb9 --- /dev/null +++ b/issues/search/local-search-not-working.gmi @@ -0,0 +1,19 @@ +# Local Search Not Working + +* assigned: bonfacem, zachs, fredm + +## Description + +Local search in CD currently doesn't work. From gn-logs bot: + +``` +logger: gn2.wqflask +Message: https://cd.genenetwork.org/run_mapping/static/new/css/show_trait.css Traceback (most recent call last): File "/gnu/store/wdfym53rwb6q51mc006c4xfnhqd4q5g5-profile/lib/python3.11/site-packages/flask/app.py", line 917, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/gnu/store/wdfym53rwb6q51mc006c4xfnhqd4q5g5-profile/lib/python3.11/site-packages/flask/app.py", line 902, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/genenetwork/genenetwork2/gn2/wqflask/views.py", line 1156, in mapping_results_page temp_uuid = initial_start_vars['temp_uuid'] ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ File "/gnu/store/wdfym53rwb6q51mc006c4xfnhqd4q5g5-profile/lib/python3.11/site-packages/werkzeug/datastructures/structures.py", line 238, in __getitem__ raise exceptions.BadRequestKeyError(key) werkzeug.exceptions.BadRequestKeyError: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand. KeyError: 'temp_uuid' +``` + +This only happens in CD, not production. A possible cause for this error might be access to the mapping page with an expired mapping hash. A recent change @zachs made fixes this. See: + + + +Maybe related to how temp files are generated from Genenetwork2, and how the TMPDIR is mapped inside the container. + -- cgit 1.4.1