gustav-rixon / d0018e Goto Github PK
View Code? Open in Web Editor NEWd0018e projekt by: gusrix-8, viclon-8, edidel-8
Home Page: http://130.240.200.45/Flask/
d0018e projekt by: gusrix-8, viclon-8, edidel-8
Home Page: http://130.240.200.45/Flask/
En fix kan va att fixa en ny vm
[Thu Nov 26 17:30:22.461871 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] ERROR:my_flask_app:Exception on /profile [GET]
[Thu Nov 26 17:30:22.462055 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] Traceback (most recent call last):
[Thu Nov 26 17:30:22.462077 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] File "/home/flask_app/venv/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
[Thu Nov 26 17:30:22.462089 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] response = self.full_dispatch_request()
[Thu Nov 26 17:30:22.462099 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] File "/home/flask_app/venv/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
[Thu Nov 26 17:30:22.462110 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] rv = self.handle_user_exception(e)
[Thu Nov 26 17:30:22.462120 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] File "/home/flask_app/venv/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
[Thu Nov 26 17:30:22.462131 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] reraise(exc_type, exc_value, tb)
[Thu Nov 26 17:30:22.462141 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] File "/home/flask_app/venv/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
[Thu Nov 26 17:30:22.462151 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] raise value
[Thu Nov 26 17:30:22.462161 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] File "/home/flask_app/venv/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
[Thu Nov 26 17:30:22.462171 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] rv = self.dispatch_request()
[Thu Nov 26 17:30:22.462182 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] File "/home/flask_app/venv/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
[Thu Nov 26 17:30:22.462192 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] return self.view_functionsrule.endpoint
[Thu Nov 26 17:30:22.462203 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] File "/home/flask_app/ExampleFlask/my_flask_app.py", line 95, in profile
[Thu Nov 26 17:30:22.462251 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] cursor.execute('SELECT * FROM Customers WHERE id = % s', (session['id'],))
[Thu Nov 26 17:30:22.462264 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] File "/home/flask_app/venv/lib/python3.8/site-packages/werkzeug/local.py", line 377, in
[Thu Nov 26 17:30:22.462273 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] getitem = lambda x, i: x._get_current_object()[i]
[Thu Nov 26 17:30:22.462282 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] File "/home/flask_app/venv/lib/python3.8/site-packages/flask/sessions.py", line 84, in getitem
[Thu Nov 26 17:30:22.462291 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] return super(SecureCookieSession, self).getitem(key)
[Thu Nov 26 17:30:22.462300 2020] [wsgi:error] [pid 1583710] [remote 82.209.143.227:21390] KeyError: 'id'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.