Files
mailova/server.log
T

913 lines
58 KiB
Plaintext

INFO: Started server process [19804]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO: 127.0.0.1:56021 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:65187 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:65367 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:65377 - "POST /api/register HTTP/1.1" 200 OK
INFO: 127.0.0.1:65068 - "POST /api/login HTTP/1.1" 200 OK
INFO: 127.0.0.1:65073 - "POST /api/profiles HTTP/1.1" 201 Created
INFO: 127.0.0.1:65075 - "POST /api/profiles/2/postcards HTTP/1.1" 201 Created
INFO: 127.0.0.1:49685 - "GET /api/profiles/2/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:63149 - "GET /dashboard HTTP/1.1" 303 See Other
INFO: 127.0.0.1:63151 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:53977 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:55341 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:55341 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:55341 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:52279 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:52279 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:56784 - "POST /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:56784 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:56784 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:53049 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:53049 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:54774 - "GET /profiles/1/postcards HTTP/1.1" 303 See Other
INFO: 127.0.0.1:54774 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:54774 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:63885 - "GET /profiles/1/postcards HTTP/1.1" 303 See Other
INFO: 127.0.0.1:63885 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:57051 - "GET /profiles/2/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:57051 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:51260 - "GET /postcards/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51260 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:49954 - "GET /profiles/2/postcards/new HTTP/1.1" 200 OK
INFO: 127.0.0.1:49954 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:58443 - "GET /api-keys HTTP/1.1" 200 OK
INFO: 127.0.0.1:58443 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:64813 - "GET /register HTTP/1.1" 200 OK
INFO: 127.0.0.1:63648 - "GET /postcards/2 HTTP/1.1" 303 See Other
INFO: 127.0.0.1:63648 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:63648 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:63648 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:58651 - "POST /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:58651 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:58651 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:57344 - "GET /postcards/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57344 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:55540 - "GET /postcards/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55540 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:57711 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:57711 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:55656 - "GET /profiles/2/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:55656 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:60856 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:49319 - "GET / HTTP/1.1" 303 See Other
INFO: 127.0.0.1:49319 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:49319 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:53181 - "POST /login HTTP/1.1" 401 Unauthorized
INFO: 127.0.0.1:53181 - "POST /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:53181 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:53181 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:53181 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:63138 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:63138 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:63138 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:63141 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:63141 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:63141 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:63141 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:63141 - "GET /postcards/1 HTTP/1.1" 303 See Other
INFO: 127.0.0.1:63141 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:55924 - "GET /profiles/2 HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55925 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55924 - "GET /profiles/1 HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55925 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55924 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:55924 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55924 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55924 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:61501 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:61501 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:53677 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53677 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:53677 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:53677 - "GET /profiles HTTP/1.1" 200 OK
INFO: 160.248.69.190:0 - "GET / HTTP/1.1" 303 See Other
INFO: 160.248.69.190:0 - "GET /login HTTP/1.1" 200 OK
INFO: 160.248.69.190:0 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:60635 - "GET /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:60635 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:60635 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:60635 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:63640 - "GET /profiles/2/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:63640 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:62991 - "GET /postcards/2/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:62991 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:62639 - "GET /postcards/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:62639 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:60832 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:60832 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 160.248.69.190:0 - "GET / HTTP/1.1" 303 See Other
INFO: 160.248.69.190:0 - "GET /login HTTP/1.1" 200 OK
INFO: 160.248.69.190:0 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 160.248.69.190:0 - "GET /login HTTP/1.1" 200 OK
INFO: 160.248.69.190:0 - "POST /login HTTP/1.1" 303 See Other
INFO: 160.248.69.190:0 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 160.248.69.190:0 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 160.248.69.190:0 - "GET / HTTP/1.1" 303 See Other
INFO: 160.248.69.190:0 - "GET /login HTTP/1.1" 200 OK
INFO: 160.248.69.190:0 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 160.248.69.190:0 - "GET / HTTP/1.1" 303 See Other
INFO: 160.248.69.190:0 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:54642 - "GET / HTTP/1.1" 303 See Other
INFO: 127.0.0.1:54642 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:54642 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:54642 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:54642 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:57968 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:52619 - "GET /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:52619 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:52619 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:52619 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:63819 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:63819 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:56244 - "GET /logout HTTP/1.1" 303 See Other
INFO: 127.0.0.1:56244 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:56244 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:61879 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:61351 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:61351 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:61351 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:61351 - "POST /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:61351 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:61351 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:61351 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:65088 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:65088 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:65088 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:65088 - "GET /profiles/3/postcards?status=&country= HTTP/1.1" 200 OK
INFO: 127.0.0.1:65088 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:65088 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:65088 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:65088 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:61247 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:61247 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:58525 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:58525 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:58525 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:58525 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:58525 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:64313 - "GET /postcards/2/edit HTTP/1.1" 303 See Other
INFO: 127.0.0.1:64313 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:64313 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:64313 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:56155 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56155 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:56155 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64186 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64186 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:64186 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:64186 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:64186 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:64186 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:54092 - "POST /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:54092 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:54092 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:64172 - "GET /postcards/2/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64172 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:53612 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53612 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:53612 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64632 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64632 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:64632 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:56793 - "GET /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:56793 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:56793 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:56793 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:63573 - "GET /postcards/2/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:63573 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:49705 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:49705 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:49705 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:49705 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:49709 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:49709 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:49709 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:61191 - "GET /postcards/2/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:61191 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:61191 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:52648 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:52648 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:52648 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:52648 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:52648 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:52648 - "GET /logout HTTP/1.1" 303 See Other
INFO: 127.0.0.1:52648 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:52648 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:52648 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:52648 - "GET /register HTTP/1.1" 200 OK
INFO: 127.0.0.1:52648 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:52648 - "POST /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:52648 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:52648 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:56935 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:56935 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:57402 - "GET /profiles/2/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:57402 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:57402 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:64784 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "POST /postcards/3/edit HTTP/1.1" 303 See Other
INFO: 127.0.0.1:64784 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:64784 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:64784 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /postcards/3/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:64784 - "GET /profiles/3/postcards/new HTTP/1.1" 200 OK
INFO: 127.0.0.1:64150 - "POST /profiles/3/postcards HTTP/1.1" 303 See Other
INFO: 127.0.0.1:64150 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:64150 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:64150 - "GET /postcards/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:64150 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:51392 - "GET /postcards/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "GET /postcards/4/edit HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "GET /postcards/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "POST /postcards/3/delete HTTP/1.1" 303 See Other
INFO: 127.0.0.1:51392 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:51392 - "GET /postcards/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "POST /postcards/4/delete HTTP/1.1" 303 See Other
INFO: 127.0.0.1:51392 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:51392 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:61595 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:61595 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:61595 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:57241 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:57241 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:57241 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:53577 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:53577 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:53577 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:54767 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:54767 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:54767 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:51793 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:51793 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:50915 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:50915 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:50915 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:63812 - "POST /profiles/3/rename HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:63813 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:50807 - "POST /profiles/3/rename HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:50808 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:61967 - "POST /profiles/3/rename HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:61968 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:61967 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:61967 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:61120 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:61120 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:61120 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:61120 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:49678 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:49678 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:49678 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:52638 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:61428 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:50943 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:50943 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:50943 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:64612 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:64612 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:64612 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:63763 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:63763 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:63763 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:58913 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:58913 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:54850 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:54850 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:54850 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:59821 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:59821 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:59821 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:59821 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:59821 - "GET /logout HTTP/1.1" 303 See Other
INFO: 127.0.0.1:59821 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:59821 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:59821 - "POST /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:59821 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:59821 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:59821 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:59821 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:59821 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:55813 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:55813 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:55813 - "GET /profiles/3/postcards/new HTTP/1.1" 200 OK
INFO: 127.0.0.1:55813 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:55813 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:62477 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:62477 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:62477 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:61813 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:61813 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:61813 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:61813 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:61813 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:61818 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:61818 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:61818 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:50400 - "GET /dashboard HTTP/1.1" 200 OK
INFO: 127.0.0.1:50400 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:50400 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:50400 - "GET /profiles/3/postcards/new HTTP/1.1" 200 OK
INFO: 127.0.0.1:50400 - "GET /profiles/3/postcards HTTP/1.1" 200 OK
INFO: 127.0.0.1:50400 - "GET /static/style.css HTTP/1.1" 304 Not Modified
INFO: 127.0.0.1:50400 - "GET /api-keys HTTP/1.1" 200 OK
INFO: 127.0.0.1:50400 - "GET /profiles HTTP/1.1" 200 OK
INFO: 127.0.0.1:50400 - "POST /profiles/3/rename HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:58000 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:50400 - "POST /profiles/3/rename HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:58000 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:50400 - "POST /profiles/3/rename HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:58000 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:49883 - "GET /dashboard HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 401, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.scope, self.receive, self.send
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 187, in __call__
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 165, in __call__
await self.app(scope, receive, _send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 715, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 735, in app
await route.handle(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 288, in handle
await self.app(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 73, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 301, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 214, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\concurrency.py", line 39, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\to_thread.py", line 63, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 2596, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 1029, in run
result = context.run(func, *args)
File "J:\Projects\postcard-manager\app\routers\web.py", line 115, in dashboard
countries = sorted({c.country for c in cards if c.country})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 209, in TemplateResponse
return _TemplateResponse(
template,
...<4 lines>...
background=background,
)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 40, in __init__
content = template.render(context)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 1304, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 1, in top-level template code
{% extends "base.html" %}
File "J:\Projects\postcard-manager\app\templates\base.html", line 21, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 10, in block 'content'
{% set ex = extras[p.id] %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 468, in getitem
return obj[argument]
~~~^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'extras' is undefined
INFO: 127.0.0.1:59726 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:50231 - "GET /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:50231 - "GET /dashboard HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 401, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.scope, self.receive, self.send
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 187, in __call__
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 165, in __call__
await self.app(scope, receive, _send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 715, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 735, in app
await route.handle(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 288, in handle
await self.app(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 73, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 301, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 214, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\concurrency.py", line 39, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\to_thread.py", line 63, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 2596, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 1029, in run
result = context.run(func, *args)
File "J:\Projects\postcard-manager\app\routers\web.py", line 115, in dashboard
countries = sorted({c.country for c in cards if c.country})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 209, in TemplateResponse
return _TemplateResponse(
template,
...<4 lines>...
background=background,
)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 40, in __init__
content = template.render(context)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 1304, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 1, in top-level template code
{% extends "base.html" %}
File "J:\Projects\postcard-manager\app\templates\base.html", line 21, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 10, in block 'content'
{% set ex = extras[p.id] %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 468, in getitem
return obj[argument]
~~~^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'extras' is undefined
INFO: 127.0.0.1:64510 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:51438 - "GET /dashboard HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 401, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.scope, self.receive, self.send
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 187, in __call__
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 165, in __call__
await self.app(scope, receive, _send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 715, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 735, in app
await route.handle(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 288, in handle
await self.app(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 73, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 301, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 214, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\concurrency.py", line 39, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\to_thread.py", line 63, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 2596, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 1029, in run
result = context.run(func, *args)
File "J:\Projects\postcard-manager\app\routers\web.py", line 115, in dashboard
countries = sorted({c.country for c in cards if c.country})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 209, in TemplateResponse
return _TemplateResponse(
template,
...<4 lines>...
background=background,
)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 40, in __init__
content = template.render(context)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 1304, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 1, in top-level template code
{% extends "base.html" %}
File "J:\Projects\postcard-manager\app\templates\base.html", line 21, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 10, in block 'content'
{% set ex = extras[p.id] %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 468, in getitem
return obj[argument]
~~~^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'extras' is undefined
INFO: 127.0.0.1:64876 - "GET /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:64876 - "GET /dashboard HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 401, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.scope, self.receive, self.send
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 187, in __call__
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 165, in __call__
await self.app(scope, receive, _send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 715, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 735, in app
await route.handle(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 288, in handle
await self.app(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 73, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 301, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 214, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\concurrency.py", line 39, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\to_thread.py", line 63, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 2596, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 1029, in run
result = context.run(func, *args)
File "J:\Projects\postcard-manager\app\routers\web.py", line 115, in dashboard
countries = sorted({c.country for c in cards if c.country})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 209, in TemplateResponse
return _TemplateResponse(
template,
...<4 lines>...
background=background,
)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 40, in __init__
content = template.render(context)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 1304, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 1, in top-level template code
{% extends "base.html" %}
File "J:\Projects\postcard-manager\app\templates\base.html", line 21, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 10, in block 'content'
{% set ex = extras[p.id] %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 468, in getitem
return obj[argument]
~~~^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'extras' is undefined
INFO: 127.0.0.1:57404 - "GET /login HTTP/1.1" 200 OK
INFO: 127.0.0.1:57404 - "GET /static/style.css HTTP/1.1" 200 OK
INFO: 127.0.0.1:59212 - "POST /login HTTP/1.1" 303 See Other
INFO: 127.0.0.1:59212 - "GET /dashboard HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 401, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.scope, self.receive, self.send
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 187, in __call__
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 165, in __call__
await self.app(scope, receive, _send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 715, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 735, in app
await route.handle(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 288, in handle
await self.app(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 73, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 301, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 214, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\concurrency.py", line 39, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\to_thread.py", line 63, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 2596, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 1029, in run
result = context.run(func, *args)
File "J:\Projects\postcard-manager\app\routers\web.py", line 115, in dashboard
countries = sorted({c.country for c in cards if c.country})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 209, in TemplateResponse
return _TemplateResponse(
template,
...<4 lines>...
background=background,
)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 40, in __init__
content = template.render(context)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 1304, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 1, in top-level template code
{% extends "base.html" %}
File "J:\Projects\postcard-manager\app\templates\base.html", line 21, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 10, in block 'content'
{% set ex = extras[p.id] %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 468, in getitem
return obj[argument]
~~~^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'extras' is undefined
INFO: 127.0.0.1:54873 - "GET /dashboard HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 401, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.scope, self.receive, self.send
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 70, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 187, in __call__
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\errors.py", line 165, in __call__
await self.app(scope, receive, _send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 715, in __call__
await self.middleware_stack(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 735, in app
await route.handle(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 288, in handle
await self.app(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 62, in wrapped_app
raise exc
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\routing.py", line 73, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 301, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\fastapi\routing.py", line 214, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\concurrency.py", line 39, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\to_thread.py", line 63, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 2596, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 1029, in run
result = context.run(func, *args)
File "J:\Projects\postcard-manager\app\routers\web.py", line 115, in dashboard
countries = sorted({c.country for c in cards if c.country})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 209, in TemplateResponse
return _TemplateResponse(
template,
...<4 lines>...
background=background,
)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\starlette\templating.py", line 40, in __init__
content = template.render(context)
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 1304, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 1, in top-level template code
{% extends "base.html" %}
File "J:\Projects\postcard-manager\app\templates\base.html", line 21, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\app\templates\dashboard.html", line 10, in block 'content'
{% set ex = extras[p.id] %}
^^^^^^^^^^^^^^^^^
File "J:\Projects\postcard-manager\.venv\Lib\site-packages\jinja2\environment.py", line 468, in getitem
return obj[argument]
~~~^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'extras' is undefined