Giter VIP home page Giter VIP logo

d0018e's People

Contributors

gustav-rixon avatar

Watchers

 avatar

d0018e's Issues

Profile better sig konstigt

[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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.