Last active
October 24, 2019 17:37
-
-
Save oatmealraisin/54cde415fb58d564739c5c9fb6184ab2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR:bank_api:Exception on /auth [POST] | |
Traceback (most recent call last): | |
File "/usr/local/bank/venv/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app | |
response = self.full_dispatch_request() | |
File "/usr/local/bank/venv/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request | |
rv = self.handle_user_exception(e) | |
File "/usr/local/bank/venv/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception | |
reraise(exc_type, exc_value, tb) | |
File "/usr/local/bank/venv/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise | |
raise value | |
File "/usr/local/bank/venv/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request | |
rv = self.dispatch_request() | |
File "/usr/local/bank/venv/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request | |
return self.view_functions[rule.endpoint](**req.view_args) | |
File "/usr/local/bank/bank_api.py", line 209, in authenticate | |
cur.execute(sql,(payload["user_id"],)) | |
psycopg2.errors.UndefinedTable: relation "users" does not exist | |
LINE 1: SELECT * FROM users WHERE user_id='bank_reg_2019-10-24-17-33... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[centos@ip-172-31-42-182 plutus-bank-api]$ python bank_api.py | |
File "bank_api.py", line 39 | |
log.debug(f"{time.strftime(ftime)}:Time to connect to Postgres: {ctime}") | |
^ | |
SyntaxError: invalid syntax |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment