1
0
Fork 0
forked from bton/matekasse
matekasse/logs/matekasse-22-07-2023-20-23-58.log

31 lines
2.3 KiB
Text
Raw Normal View History

2023-07-28 21:30:45 +00:00
2023-07-22 20:23:58,712 - website - INFO - Website is starting
2023-07-22 20:23:58,721 - werkzeug - WARNING - WebSocket transport not available. Install simple-websocket for improved performance.
2023-07-22 20:23:58,725 - 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:23:58,725 - werkzeug - INFO - Press CTRL+C to quit
2023-07-22 20:24:01,985 - werkzeug - INFO - 127.0.0.1 - - [22/Jul/2023 20:24:01] "GET /adduser/user?username=testtesttesttesttest HTTP/1.1" 200 -
2023-07-22 20:24:02,091 - werkzeug - INFO - 127.0.0.1 - - [22/Jul/2023 20:24:02] "GET /favicon.ico HTTP/1.1" 200 -
2023-07-22 20:24:04,499 - 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:24:04,503 - werkzeug - INFO - 127.0.0.1 - - [22/Jul/2023 20:24:04] "GET /adduser/user?username=testtesttesttesttesttest HTTP/1.1" 500 -