You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-11-21T23:32:25.347875 ERROR: An uncaught error occurred: Invalid value for subject, must not be None: ['Traceback (most recent call last):\n', ' File "/mnt/data/orangeboard/production/RTX/code/UI/OpenAPI/python-flask-server/openapi_server/../../../../ARAX/ARAXQuery/ARAX_query.py", line 781, in execute_processing_plan\n expander.apply(response, action['parameters'], mode=mode)\n', ' File "/mnt/data/orangeboard/production/RTX/code/UI/OpenAPI/python-flask-server/openapi_server/../../../../ARAX/ARAXQuery/ARAX_expander.py", line 441, in apply\n kp_answers = loop.run_until_complete(task_group)\n', ' File "/usr/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete\n return future.result()\n', ' File "/mnt/data/orangeboard/production/RTX/code/UI/OpenAPI/python-flask-server/openapi_server/../../../../ARAX/ARAXQuery/ARAX_expander.py", line 842, in _expand_edge_async\n answer_kg = self._deduplicate_nodes(answer_kg, kp_to_use, log)\n', ' File "/mnt/data/orangeboard/production/RTX/code/UI/OpenAPI/python-flask-server/openapi_server/../../../../ARAX/ARAXQuery/ARAX_expander.py", line 998, in _deduplicate_nodes\n edge.subject = curie_mappings.get(edge.subject)\n', ' File "/mnt/data/orangeboard/production/RTX/code/UI/OpenAPI/python-flask-server/openapi_server/models/edge.py", line 120, in subject\n raise ValueError("Invalid value for subject, must not be None") # noqa: E501\n', 'ValueError: Invalid value for subject, must not be None\n']
if I restrict the KPs to only KG2, everything is fine, so I think it's an external KP that's returning an invalid edge (missing edge.subject). should probably trace which KP it is (maybe let them know), and add better handling - think we'll want to ignore such invalid edges from KPs (maybe issue a summarized warning, noting N invalid edges were returned from KP X...)
The text was updated successfully, but these errors were encountered:
noticed that this query is causing an uncaught error on arax.ci.transltr.io:
this is the error:
if I restrict the KPs to only KG2, everything is fine, so I think it's an external KP that's returning an invalid edge (missing
edge.subject
). should probably trace which KP it is (maybe let them know), and add better handling - think we'll want to ignore such invalid edges from KPs (maybe issue a summarized warning, noting N invalid edges were returned from KP X...)The text was updated successfully, but these errors were encountered: