diff options
| author | Munyoki Kilyungi | 2026-02-02 21:48:52 +0300 |
|---|---|---|
| committer | Munyoki Kilyungi | 2026-02-02 21:48:52 +0300 |
| commit | 1e01f147eacb7a52840bb6ab34a1c647ce5eb3ed (patch) | |
| tree | f010896cd543220a4afe40d33d4ae95a6de40690 | |
| parent | 0310568b54e46027a5f43c56054134d2c60e2545 (diff) | |
| download | gn-ai-1e01f147eacb7a52840bb6ab34a1c647ce5eb3ed.tar.gz | |
New issue.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
| -rw-r--r-- | issues/search/local-search-not-working.gmi | 19 |
1 files changed, 19 insertions, 0 deletions
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: + + <https://github.com/genenetwork/genenetwork2/commit/d2db6da856948a708f408c8c2acafd1718a4e3a5> + +Maybe related to how temp files are generated from Genenetwork2, and how the TMPDIR is mapped inside the container. + |
