Closed pontikos closed 3 years ago
/api/hpo/HP:0000001
currently throwing a 502
Page doesn't load
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/app/views/auth.py", line 41, in decorated
return f(*args, **kwargs)
File "/app/views/general.py", line 147, in wrapped_f
response = f(*args, **kwargs)
File "/app/views/hpo.py", line 49, in hpo
cur.execute(sqlq, [hpo_id])
psycopg2.errors.SyntaxError: syntax error at or near "."
LINE 4: t.hpo_id,
^
I tried https://dev-live.phenopolis.org/hpo/HP:0000001 but I didn't see any email in no-reply@phenopolis.org
.
On the other hand, in PatientEdit
branch, after my fixes, it seems to work though I don't know what are these warnings.
This error is highly likely to be related to the two newly created samples:
AdminTest123 and TianTest123, I believe if we remove them, this error would be gone.
Fixed with #324