-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcrud.log
5720 lines (5514 loc) · 417 KB
/
crud.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2021-01-17 15:06:48.831 INFO main - serve: Started server process [28048]
2021-01-17 15:06:48.834 INFO on - startup: Waiting for application startup.
2021-01-17 15:06:48.839 INFO on - startup: Application startup complete.
2021-01-17 15:06:48.841 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-17 15:06:50.510 INFO main - shutdown: Shutting down
2021-01-17 15:06:50.614 INFO on - shutdown: Waiting for application shutdown.
2021-01-17 15:06:50.614 ERROR qr_logger - log_warning: quitting the application now
2021-01-17 15:06:50.614 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-17 15:06:50.618 INFO on - shutdown: Application shutdown complete.
2021-01-17 15:06:50.622 INFO main - serve: Finished server process [28048]
2021-01-21 09:37:41.293 INFO main - serve: Started server process [18168]
2021-01-21 09:37:41.301 INFO on - startup: Waiting for application startup.
2021-01-21 09:37:41.301 INFO on - startup: Application startup complete.
2021-01-21 09:37:41.301 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:38:19.802 INFO main - shutdown: Shutting down
2021-01-21 09:38:19.905 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 09:38:19.905 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 09:38:19.907 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 09:38:19.907 INFO on - shutdown: Application shutdown complete.
2021-01-21 09:38:19.909 INFO main - serve: Finished server process [18168]
2021-01-21 09:38:23.751 INFO main - serve: Started server process [19664]
2021-01-21 09:38:23.752 INFO on - startup: Waiting for application startup.
2021-01-21 09:38:23.754 INFO on - startup: Application startup complete.
2021-01-21 09:38:23.755 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:38:34.586 WARNING main - add_process_time_header: Path is: /users
execution time is 0.011442184448242188
2021-01-21 09:38:35.001 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 151, in add_process_time_header
path = [route for route in request.scope['router'].routes if route.endpoint == request.scope['endpoint']][0].path
File "main.py", line 151, in <listcomp>
path = [route for route in request.scope['router'].routes if route.endpoint == request.scope['endpoint']][0].path
KeyError: 'endpoint'
2021-01-21 09:38:46.061 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.09063148498535156
2021-01-21 09:38:47.160 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 151, in add_process_time_header
path = [route for route in request.scope['router'].routes if route.endpoint == request.scope['endpoint']][0].path
File "main.py", line 151, in <listcomp>
path = [route for route in request.scope['router'].routes if route.endpoint == request.scope['endpoint']][0].path
KeyError: 'endpoint'
2021-01-21 09:38:50.819 INFO main - shutdown: Shutting down
2021-01-21 09:38:50.924 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 09:38:50.925 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 09:38:50.925 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 09:38:50.928 INFO on - shutdown: Application shutdown complete.
2021-01-21 09:38:50.930 INFO main - serve: Finished server process [19664]
2021-01-21 09:38:56.350 INFO main - serve: Started server process [27296]
2021-01-21 09:38:56.351 INFO on - startup: Waiting for application startup.
2021-01-21 09:38:56.353 INFO on - startup: Application startup complete.
2021-01-21 09:38:56.355 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:39:00.160 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.05946016311645508
2021-01-21 09:39:00.454 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 151, in add_process_time_header
path = [route for route in request.scope['router'].routes if route.endpoint == request.scope['endpoint']][0].path
File "main.py", line 151, in <listcomp>
path = [route for route in request.scope['router'].routes if route.endpoint == request.scope['endpoint']][0].path
KeyError: 'endpoint'
2021-01-21 09:42:06.220 INFO main - shutdown: Shutting down
2021-01-21 09:42:06.328 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 09:42:06.329 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 09:42:06.330 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 09:42:06.332 INFO on - shutdown: Application shutdown complete.
2021-01-21 09:42:06.334 INFO main - serve: Finished server process [27296]
2021-01-21 09:42:10.941 INFO main - serve: Started server process [27316]
2021-01-21 09:42:10.941 INFO on - startup: Waiting for application startup.
2021-01-21 09:42:10.944 INFO on - startup: Application startup complete.
2021-01-21 09:42:10.946 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:42:15.729 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 151, in add_process_time_header
path = request.scopes['path']#[route for route in request.scope['router'].routes if route.endpoint == request.scope['endpoint']][0].path
AttributeError: 'Request' object has no attribute 'scopes'
2021-01-21 09:42:16.165 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 151, in add_process_time_header
path = request.scopes['path']#[route for route in request.scope['router'].routes if route.endpoint == request.scope['endpoint']][0].path
AttributeError: 'Request' object has no attribute 'scopes'
2021-01-21 09:42:33.477 INFO main - shutdown: Shutting down
2021-01-21 09:42:33.578 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 09:42:33.579 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 09:42:33.579 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 09:42:33.581 INFO on - shutdown: Application shutdown complete.
2021-01-21 09:42:33.582 INFO main - serve: Finished server process [27316]
2021-01-21 09:42:38.296 INFO main - serve: Started server process [12176]
2021-01-21 09:42:38.297 INFO on - startup: Waiting for application startup.
2021-01-21 09:42:38.298 INFO on - startup: Application startup complete.
2021-01-21 09:42:38.299 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:42:43.511 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.04392361640930176
2021-01-21 09:42:43.980 WARNING main - add_process_time_header: Path is: /favicon.ico
execution time is 0.007589101791381836
2021-01-21 09:50:24.302 INFO main - shutdown: Shutting down
2021-01-21 09:50:24.404 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 09:50:24.405 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 09:50:24.406 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 09:50:24.409 INFO on - shutdown: Application shutdown complete.
2021-01-21 09:50:24.411 INFO main - serve: Finished server process [12176]
2021-01-21 09:50:28.800 INFO main - serve: Started server process [24500]
2021-01-21 09:50:28.800 INFO on - startup: Waiting for application startup.
2021-01-21 09:50:28.802 INFO on - startup: Application startup complete.
2021-01-21 09:50:28.802 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:50:33.108 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.03357243537902832
2021-01-21 09:50:33.116 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 171, in add_process_time_header
print(response.body)
AttributeError: 'StreamingResponse' object has no attribute 'body'
2021-01-21 09:50:50.103 INFO main - shutdown: Shutting down
2021-01-21 09:50:50.213 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 09:50:50.214 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 09:50:50.214 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 09:50:50.215 INFO on - shutdown: Application shutdown complete.
2021-01-21 09:50:50.216 INFO main - serve: Finished server process [24500]
2021-01-21 09:50:53.854 INFO main - serve: Started server process [21488]
2021-01-21 09:50:53.857 INFO on - startup: Waiting for application startup.
2021-01-21 09:50:53.862 INFO on - startup: Application startup complete.
2021-01-21 09:50:53.864 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:51:00.864 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.08624672889709473
2021-01-21 09:51:52.818 INFO main - shutdown: Shutting down
2021-01-21 09:51:52.923 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 09:51:52.923 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 09:51:52.923 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 09:51:52.925 INFO on - shutdown: Application shutdown complete.
2021-01-21 09:51:52.926 INFO main - serve: Finished server process [21488]
2021-01-21 09:51:56.863 INFO main - serve: Started server process [27348]
2021-01-21 09:51:56.863 INFO on - startup: Waiting for application startup.
2021-01-21 09:51:56.865 INFO on - startup: Application startup complete.
2021-01-21 09:51:56.868 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:52:02.497 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.06010937690734863
2021-01-21 09:52:02.516 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 172, in add_process_time_header
print(response.body_iterator.__dict__)
AttributeError: 'async_generator' object has no attribute '__dict__'
2021-01-21 09:52:13.772 INFO main - shutdown: Shutting down
2021-01-21 09:52:13.875 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 09:52:13.876 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 09:52:13.877 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 09:52:13.881 INFO on - shutdown: Application shutdown complete.
2021-01-21 09:52:13.883 INFO main - serve: Finished server process [27348]
2021-01-21 09:52:17.538 INFO main - serve: Started server process [7676]
2021-01-21 09:52:17.538 INFO on - startup: Waiting for application startup.
2021-01-21 09:52:17.543 INFO on - startup: Application startup complete.
2021-01-21 09:52:17.544 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:52:25.637 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.04691815376281738
2021-01-21 09:53:51.107 INFO main - shutdown: Shutting down
2021-01-21 09:53:51.215 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 09:53:51.216 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 09:53:51.216 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 09:53:51.219 INFO on - shutdown: Application shutdown complete.
2021-01-21 09:53:51.220 INFO main - serve: Finished server process [7676]
2021-01-21 09:54:02.198 INFO main - serve: Started server process [17448]
2021-01-21 09:54:02.202 INFO on - startup: Waiting for application startup.
2021-01-21 09:54:02.203 INFO on - startup: Application startup complete.
2021-01-21 09:54:02.205 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:54:07.330 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.039485931396484375
2021-01-21 09:54:37.389 INFO main - shutdown: Shutting down
2021-01-21 09:54:37.497 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 09:54:37.497 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 09:54:37.498 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 09:54:37.498 INFO on - shutdown: Application shutdown complete.
2021-01-21 09:54:37.499 INFO main - serve: Finished server process [17448]
2021-01-21 09:54:41.681 INFO main - serve: Started server process [26148]
2021-01-21 09:54:41.685 INFO on - startup: Waiting for application startup.
2021-01-21 09:54:41.687 INFO on - startup: Application startup complete.
2021-01-21 09:54:41.688 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:54:46.475 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.03707170486450195
2021-01-21 09:54:46.482 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 171, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 111, in get_request_data
analysis_dict['request_size'] = request.headers['Content-length']
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\datastructures.py", line 550, in __getitem__
raise KeyError(key)
KeyError: 'Content-length'
2021-01-21 09:55:02.355 INFO main - shutdown: Shutting down
2021-01-21 09:55:02.457 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 09:55:02.458 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 09:55:02.458 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 09:55:02.459 INFO on - shutdown: Application shutdown complete.
2021-01-21 09:55:02.460 INFO main - serve: Finished server process [26148]
2021-01-21 09:55:06.222 INFO main - serve: Started server process [26716]
2021-01-21 09:55:06.224 INFO on - startup: Waiting for application startup.
2021-01-21 09:55:06.225 INFO on - startup: Application startup complete.
2021-01-21 09:55:06.227 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 09:55:10.995 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.03030085563659668
2021-01-21 09:55:11.003 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 171, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 111, in get_request_data
analysis_dict['request_size'] = request.headers['content-length']
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\datastructures.py", line 550, in __getitem__
raise KeyError(key)
KeyError: 'content-length'
2021-01-21 10:02:56.173 INFO main - shutdown: Shutting down
2021-01-21 10:02:56.276 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:02:56.277 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:02:56.278 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:02:56.279 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:02:56.280 INFO main - serve: Finished server process [26716]
2021-01-21 10:02:59.382 INFO main - serve: Started server process [19912]
2021-01-21 10:02:59.384 INFO on - startup: Waiting for application startup.
2021-01-21 10:02:59.385 INFO on - startup: Application startup complete.
2021-01-21 10:02:59.387 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:03:06.936 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.023059368133544922
2021-01-21 10:03:06.945 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 172, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 114, in get_request_data
analysis_dict['request_type'] = request.type
AttributeError: 'Request' object has no attribute 'type'
2021-01-21 10:05:13.334 INFO main - shutdown: Shutting down
2021-01-21 10:05:13.436 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:05:13.437 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:05:13.438 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:05:13.441 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:05:13.442 INFO main - serve: Finished server process [19912]
2021-01-21 10:05:19.044 INFO main - serve: Started server process [27796]
2021-01-21 10:05:19.045 INFO on - startup: Waiting for application startup.
2021-01-21 10:05:19.046 INFO on - startup: Application startup complete.
2021-01-21 10:05:19.047 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:05:22.818 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.02415943145751953
2021-01-21 10:05:22.824 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 172, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 116, in get_request_data
analysis_dict['content_type'] = request.headers['content_type']
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\datastructures.py", line 550, in __getitem__
raise KeyError(key)
KeyError: 'content_type'
2021-01-21 10:06:58.459 INFO main - shutdown: Shutting down
2021-01-21 10:06:58.562 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:06:58.563 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:06:58.564 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:06:58.567 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:06:58.568 INFO main - serve: Finished server process [27796]
2021-01-21 10:07:01.639 INFO main - serve: Started server process [3940]
2021-01-21 10:07:01.639 INFO on - startup: Waiting for application startup.
2021-01-21 10:07:01.640 INFO on - startup: Application startup complete.
2021-01-21 10:07:01.642 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:07:06.322 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.019973278045654297
2021-01-21 10:07:06.325 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 172, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 116, in get_request_data
analysis_dict['content_type'] = request.headers['content_type']
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\datastructures.py", line 550, in __getitem__
raise KeyError(key)
KeyError: 'content_type'
2021-01-21 10:07:58.697 INFO main - shutdown: Shutting down
2021-01-21 10:07:58.800 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:07:58.801 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:07:58.801 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:07:58.804 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:07:58.808 INFO main - serve: Finished server process [3940]
2021-01-21 10:08:03.269 INFO main - serve: Started server process [1960]
2021-01-21 10:08:03.270 INFO on - startup: Waiting for application startup.
2021-01-21 10:08:03.271 INFO on - startup: Application startup complete.
2021-01-21 10:08:03.272 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:08:08.498 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.020026445388793945
2021-01-21 10:08:08.505 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 172, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 117, in get_request_data
analysis_dict['origin'] = request.headers['origin']
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\datastructures.py", line 550, in __getitem__
raise KeyError(key)
KeyError: 'origin'
2021-01-21 10:08:52.134 INFO main - shutdown: Shutting down
2021-01-21 10:08:52.235 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:08:52.236 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:08:52.237 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:08:52.240 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:08:52.242 INFO main - serve: Finished server process [1960]
2021-01-21 10:08:55.383 INFO main - serve: Started server process [27804]
2021-01-21 10:08:55.384 INFO on - startup: Waiting for application startup.
2021-01-21 10:08:55.386 INFO on - startup: Application startup complete.
2021-01-21 10:08:55.387 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:08:59.407 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.030005455017089844
2021-01-21 10:08:59.415 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 172, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 121, in get_request_data
analysis_dict['datetime'] = datetime.datetime.now()
NameError: name 'datetime' is not defined
2021-01-21 10:09:14.413 INFO main - shutdown: Shutting down
2021-01-21 10:09:14.514 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:09:14.514 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:09:14.515 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:09:14.516 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:09:14.516 INFO main - serve: Finished server process [27804]
2021-01-21 10:09:17.932 INFO main - serve: Started server process [3996]
2021-01-21 10:09:17.933 INFO on - startup: Waiting for application startup.
2021-01-21 10:09:17.934 INFO on - startup: Application startup complete.
2021-01-21 10:09:17.935 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:09:23.070 WARNING main - add_process_time_header: Path is: /users/
execution time is 0.018999099731445312
2021-01-21 10:09:49.483 WARNING main - add_process_time_header: Path is: /docs
execution time is 0.005056142807006836
2021-01-21 10:09:50.358 WARNING main - add_process_time_header: Path is: /openapi.json
execution time is 0.01508021354675293
2021-01-21 10:09:58.821 WARNING main - add_process_time_header: Path is: /[object Module]
execution time is 0.003997802734375
2021-01-21 10:10:06.613 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 158, in add_process_time_header
response = await call_next(request)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 45, in call_next
task.result()
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 38, in coro
await self.app(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\exceptions.py", line 82, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\routing.py", line 566, in __call__
await route.handle(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\routing.py", line 227, in handle
await self.app(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\routing.py", line 41, in app
response = await func(request)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\routing.py", line 218, in app
is_coroutine=is_coroutine,
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\routing.py", line 126, in serialize_response
raise ValidationError(errors, field.type_)
pydantic.error_wrappers.ValidationError: 4 validation errors for Users
response -> name
field required (type=value_error.missing)
response -> email
field required (type=value_error.missing)
response -> password
field required (type=value_error.missing)
response -> id
field required (type=value_error.missing)
2021-01-21 10:11:12.796 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 158, in add_process_time_header
response = await call_next(request)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 45, in call_next
task.result()
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 38, in coro
await self.app(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\exceptions.py", line 82, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\routing.py", line 566, in __call__
await route.handle(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\routing.py", line 227, in handle
await self.app(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\routing.py", line 41, in app
response = await func(request)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\routing.py", line 218, in app
is_coroutine=is_coroutine,
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\routing.py", line 126, in serialize_response
raise ValidationError(errors, field.type_)
pydantic.error_wrappers.ValidationError: 4 validation errors for Users
response -> name
field required (type=value_error.missing)
response -> email
field required (type=value_error.missing)
response -> password
field required (type=value_error.missing)
response -> id
field required (type=value_error.missing)
2021-01-21 10:14:07.992 INFO main - shutdown: Shutting down
2021-01-21 10:14:08.095 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:14:08.096 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:14:08.096 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:14:08.098 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:14:08.098 INFO main - serve: Finished server process [3996]
2021-01-21 10:14:13.178 INFO main - serve: Started server process [6132]
2021-01-21 10:14:13.179 INFO on - startup: Waiting for application startup.
2021-01-21 10:14:13.180 INFO on - startup: Application startup complete.
2021-01-21 10:14:13.181 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:14:23.520 WARNING main - add_process_time_header: Path is: /users/krishna
execution time is 0.029998779296875
2021-01-21 10:15:30.511 INFO main - shutdown: Shutting down
2021-01-21 10:15:30.613 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:15:30.615 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:15:30.615 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:15:30.616 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:15:30.617 INFO main - serve: Finished server process [6132]
2021-01-21 10:18:35.046 INFO main - serve: Started server process [25596]
2021-01-21 10:18:35.047 INFO on - startup: Waiting for application startup.
2021-01-21 10:18:35.048 INFO on - startup: Application startup complete.
2021-01-21 10:18:35.049 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:18:39.416 WARNING main - add_process_time_header: Path is: /users/krishna
execution time is 0.020000934600830078
2021-01-21 10:18:39.421 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 173, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 112, in get_request_data
analysis_dict['same_origin_yn'] = request.scope['sec-fetch-site'] if 'sec-fetch-site' in request.headers else 'same'
KeyError: 'sec-fetch-site'
2021-01-21 10:21:31.628 INFO main - shutdown: Shutting down
2021-01-21 10:21:31.730 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:21:31.731 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:21:31.732 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:21:31.733 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:21:31.734 INFO main - serve: Finished server process [25596]
2021-01-21 10:21:34.800 INFO main - serve: Started server process [26088]
2021-01-21 10:21:34.801 INFO on - startup: Waiting for application startup.
2021-01-21 10:21:34.802 INFO on - startup: Application startup complete.
2021-01-21 10:21:34.802 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:21:38.523 WARNING main - add_process_time_header: Path is: /users/krishna
execution time is 0.03199577331542969
2021-01-21 10:22:50.661 INFO main - shutdown: Shutting down
2021-01-21 10:22:50.762 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:22:50.762 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:22:50.762 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:22:50.762 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:22:50.763 INFO main - serve: Finished server process [26088]
2021-01-21 10:22:53.940 INFO main - serve: Started server process [26008]
2021-01-21 10:22:53.940 INFO on - startup: Waiting for application startup.
2021-01-21 10:22:53.940 INFO on - startup: Application startup complete.
2021-01-21 10:22:53.940 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:22:57.425 WARNING main - add_process_time_header: Path is: /users/krishna
execution time is 0.018001079559326172
2021-01-21 10:25:18.575 INFO main - shutdown: Shutting down
2021-01-21 10:25:18.675 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:25:18.675 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:25:18.675 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:25:18.676 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:25:18.677 INFO main - serve: Finished server process [26008]
2021-01-21 10:25:22.483 INFO main - serve: Started server process [28648]
2021-01-21 10:25:22.484 INFO on - startup: Waiting for application startup.
2021-01-21 10:25:22.484 INFO on - startup: Application startup complete.
2021-01-21 10:25:22.485 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:25:29.235 WARNING main - add_process_time_header: Path is: /users/krishna
execution time is 0.013997793197631836
2021-01-21 10:25:29.238 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 175, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 130, in get_request_data
crud.insert_request_response_data(db, analysis_dict)
File "C:\Users\krish\Documents\QRmenu\crud.py", line 28, in insert_request_response_data
analysis_data = models.RequestResponseDetails(analysis_dict)
TypeError: __init__() takes 1 positional argument but 2 were given
2021-01-21 10:30:48.250 INFO main - shutdown: Shutting down
2021-01-21 10:30:48.352 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:30:48.352 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:30:48.353 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:30:48.357 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:30:48.359 INFO main - serve: Finished server process [28648]
2021-01-21 10:30:51.127 INFO main - serve: Started server process [27820]
2021-01-21 10:30:51.128 INFO on - startup: Waiting for application startup.
2021-01-21 10:30:51.129 INFO on - startup: Application startup complete.
2021-01-21 10:30:51.129 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:30:54.643 WARNING main - add_process_time_header: Path is: /users/krishna
execution time is 0.019972562789916992
2021-01-21 10:30:54.645 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 175, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 130, in get_request_data
crud.insert_request_response_data(db, analysis_dict)
File "C:\Users\krish\Documents\QRmenu\crud.py", line 32, in insert_request_response_data
referrer = analysis_dict['referer'], browser_name= analysis_dict['browser_name'],
KeyError: 'browser_name'
2021-01-21 10:31:25.552 INFO main - shutdown: Shutting down
2021-01-21 10:31:25.653 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:31:25.653 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:31:25.654 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:31:25.655 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:31:25.655 INFO main - serve: Finished server process [27820]
2021-01-21 10:31:29.034 INFO main - serve: Started server process [28272]
2021-01-21 10:31:29.034 INFO on - startup: Waiting for application startup.
2021-01-21 10:31:29.035 INFO on - startup: Application startup complete.
2021-01-21 10:31:29.036 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:31:33.000 WARNING main - add_process_time_header: Path is: /users/krishna
execution time is 0.01605701446533203
2021-01-21 10:31:33.005 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 175, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 130, in get_request_data
crud.insert_request_response_data(db, analysis_dict)
File "C:\Users\krish\Documents\QRmenu\crud.py", line 36, in insert_request_response_data
db.add(analysis_data)
AttributeError: 'generator' object has no attribute 'add'
2021-01-21 10:32:23.938 INFO main - shutdown: Shutting down
2021-01-21 10:32:24.040 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:32:24.040 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:32:24.040 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:32:24.041 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:32:24.041 INFO main - serve: Finished server process [28272]
2021-01-21 10:32:27.309 INFO main - serve: Started server process [24184]
2021-01-21 10:32:27.309 INFO on - startup: Waiting for application startup.
2021-01-21 10:32:27.310 INFO on - startup: Application startup complete.
2021-01-21 10:32:27.311 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:32:31.084 WARNING main - add_process_time_header: Path is: /users/krishna
execution time is 0.014998674392700195
2021-01-21 10:32:31.087 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 175, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 130, in get_request_data
crud.insert_request_response_data(db, analysis_dict)
File "C:\Users\krish\Documents\QRmenu\crud.py", line 36, in insert_request_response_data
db.add(analysis_data)
AttributeError: 'Depends' object has no attribute 'add'
2021-01-21 10:33:29.277 INFO main - shutdown: Shutting down
2021-01-21 10:33:29.378 INFO on - shutdown: Waiting for application shutdown.
2021-01-21 10:33:29.378 ERROR qr_logger - log_warning: quitting the application now
2021-01-21 10:33:29.379 INFO on - main: ASGI 'lifespan' protocol appears unsupported.
2021-01-21 10:33:29.382 INFO on - shutdown: Application shutdown complete.
2021-01-21 10:33:29.383 INFO main - serve: Finished server process [24184]
2021-01-21 10:37:02.457 INFO main - serve: Started server process [2604]
2021-01-21 10:37:02.458 INFO on - startup: Waiting for application startup.
2021-01-21 10:37:02.459 INFO on - startup: Application startup complete.
2021-01-21 10:37:02.459 INFO main - startup: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
2021-01-21 10:37:13.669 WARNING main - add_process_time_header: Path is: /users/krishna
execution time is 0.01599407196044922
2021-01-21 10:37:13.705 ERROR h11_impl - run_asgi: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\protocols\http\h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\uvicorn\middleware\proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
File "C:\ProgramData\Anaconda3\lib\site-packages\fastapi\applications.py", line 199, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\applications.py", line 111, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 181, in __call__
raise exc from None
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\starlette\middleware\base.py", line 25, in __call__
response = await self.dispatch_func(request, self.call_next)
File "main.py", line 177, in add_process_time_header
await get_request_data(request, response)
File "main.py", line 131, in get_request_data
crud.insert_request_response_data(db, analysis_dict)
File "C:\Users\krish\Documents\QRmenu\crud.py", line 37, in insert_request_response_data
db.commit()
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\orm\session.py", line 937, in commit
self.transaction.commit()
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\orm\session.py", line 461, in commit
self._prepare_impl()
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\orm\session.py", line 441, in _prepare_impl
self.session.flush()
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\orm\session.py", line 2237, in flush
self._flush(objects)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\orm\session.py", line 2363, in _flush
transaction.rollback(_capture_exception=True)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\util\langhelpers.py", line 66, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\util\compat.py", line 187, in reraise
raise value
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\orm\session.py", line 2327, in _flush
flush_context.execute()
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\orm\unitofwork.py", line 391, in execute
rec.execute(self)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\orm\unitofwork.py", line 556, in execute
uow
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\orm\persistence.py", line 181, in save_obj
mapper, table, insert)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\orm\persistence.py", line 866, in _emit_insert_statements
execute(statement, params)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\engine\base.py", line 948, in execute
return meth(self, multiparams, params)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\sql\elements.py", line 269, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\engine\base.py", line 1060, in _execute_clauseelement
compiled_sql, distilled_params
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\engine\base.py", line 1132, in _execute_context
None, None)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\engine\base.py", line 1413, in _handle_dbapi_exception
exc_info
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\util\compat.py", line 203, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "C:\Users\krish\AppData\Roaming\Python\Python37\site-packages\sqlalchemy\util\compat.py", line 186, in reraise