Unable to search for thoughts #15
Comments
Thanks a lot for not giving up after three issues and helping iron out those quirks, @phkus! Here it seems the issue happens in the backend, and the frontend simply reports on getting a shitty response in more depth, but doesn't give insight into that internal server error. Could you please send the results of the following?
This should give us a more detailed trace of what went wrong in the backend. |
These are the logs that correspond to a single query: INFO: 172.18.0.3:55070 - "GET /find?token="token"&query=test&relatedness=0.8&activation=0.0&noise=0.01&return_embeddings=False HTTP/1.1" 500 Internal Server Error During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Got it, could you rinse and try the latest backend image?
|
As far as I can see everything's working now :-) Looking forward to trying it out! |
Nice, I'm glad! Also, note that the lexiscore / ideoscope are still based on an url to the old conceptarium version, but I'll update those in the upcoming weeks, too. @phkus |
Unfortunately I have to open another issue, but we're getting there.
However, I cannot query for those thoughts. Through the API I just get an internal server error, but through the interface there are more details:
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback:
File "/usr/local/lib/python3.9/site-packages/streamlit/script_runner.py", line 379, in _run_script
exec(code, module.dict)
File "/app/main.py", line 19, in
component.paint()
File "/app/components/navigator.py", line 25, in paint
st.session_state['authorized_thoughts'] = knowledge.load(
File "/app/components/knowledge.py", line 45, in load
content = json.loads(response.content)
File "/usr/local/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
The text was updated successfully, but these errors were encountered: