2023-07-22 20:17:47,405 - website - INFO - Website is starting 2023-07-22 20:17:47,414 - werkzeug - WARNING - WebSocket transport not available. Install simple-websocket for improved performance. 2023-07-22 20:17:47,418 - werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.6.223:5000 2023-07-22 20:17:47,418 - werkzeug - INFO - Press CTRL+C to quit 2023-07-22 20:17:51,168 - werkzeug - INFO - 127.0.0.1 - - [22/Jul/2023 20:17:51] "GET /adduser/user?username=testtesttesttest HTTP/1.1" 200 - 2023-07-22 20:17:51,258 - werkzeug - INFO - 127.0.0.1 - - [22/Jul/2023 20:17:51] "GET /favicon.ico HTTP/1.1" 200 - 2023-07-22 20:17:54,567 - Website - ERROR - Exception on /adduser/user [GET] Traceback (most recent call last): File "/home/anton/Documents/Projekte/Matekass_2.0/venv/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/anton/Documents/Projekte/Matekass_2.0/venv/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/anton/Documents/Projekte/Matekass_2.0/venv/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/anton/Documents/Projekte/Matekass_2.0/venv/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/anton/Documents/Projekte/Matekass_2.0/Website/__init__.py", line 176, in adduser g.db_log.info(f"Added user id: {user[0]} name: {user[2]}") ^^^^^^^^ File "/home/anton/Documents/Projekte/Matekass_2.0/venv/lib/python3.11/site-packages/flask/ctx.py", line 54, in __getattr__ raise AttributeError(name) from None AttributeError: db_log 2023-07-22 20:17:54,572 - werkzeug - INFO - 127.0.0.1 - - [22/Jul/2023 20:17:54] "GET /adduser/user?username=testtesttesttesttest HTTP/1.1" 500 - 2023-07-22 20:17:54,672 - werkzeug - INFO - 127.0.0.1 - - [22/Jul/2023 20:17:54] "GET /favicon.ico HTTP/1.1" 200 -