-
Notifications
You must be signed in to change notification settings - Fork 1
/
logger.log
2539 lines (2521 loc) · 184 KB
/
logger.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
2024-01-24 01:37:53,956 ERROR 4 validation errors for SendMessage
reply_markup.InlineKeyboardMarkup
Input should be a valid dictionary or instance of InlineKeyboardMarkup [type=model_type, input_value=<aiogram.utils.keyboard.I...t at 0x00000230E49B17E0>, input_type=InlineKeyboardBuilder]
For further information visit https://errors.pydantic.dev/2.5/v/model_type
reply_markup.ReplyKeyboardMarkup
Input should be a valid dictionary or instance of ReplyKeyboardMarkup [type=model_type, input_value=<aiogram.utils.keyboard.I...t at 0x00000230E49B17E0>, input_type=InlineKeyboardBuilder]
For further information visit https://errors.pydantic.dev/2.5/v/model_type
reply_markup.ReplyKeyboardRemove
Input should be a valid dictionary or instance of ReplyKeyboardRemove [type=model_type, input_value=<aiogram.utils.keyboard.I...t at 0x00000230E49B17E0>, input_type=InlineKeyboardBuilder]
For further information visit https://errors.pydantic.dev/2.5/v/model_type
reply_markup.ForceReply
Input should be a valid dictionary or instance of ForceReply [type=model_type, input_value=<aiogram.utils.keyboard.I...t at 0x00000230E49B17E0>, input_type=InlineKeyboardBuilder]
For further information visit https://errors.pydantic.dev/2.5/v/model_type
2024-01-24 01:40:19,021 ERROR ssssssssss
2024-01-24 02:08:58,313 INFO BEGIN (implicit)
2024-01-24 02:08:58,313 INFO ROLLBACK
2024-01-24 02:10:23,239 INFO BEGIN (implicit)
2024-01-24 02:10:23,239 INFO PRAGMA main.table_info("user")
2024-01-24 02:10:23,239 INFO [raw sql] ()
2024-01-24 02:10:23,241 INFO COMMIT
2024-01-24 02:10:44,055 INFO BEGIN (implicit)
2024-01-24 02:10:44,055 INFO PRAGMA main.table_info("user")
2024-01-24 02:10:44,055 INFO [raw sql] ()
2024-01-24 02:10:44,056 INFO PRAGMA temp.table_info("user")
2024-01-24 02:10:44,056 INFO [raw sql] ()
2024-01-24 02:10:44,057 INFO
CREATE TABLE user (
id INTEGER NOT NULL,
id_user INTEGER,
tg_username VARCHAR,
tg_fullname VARCHAR,
PRIMARY KEY (id),
UNIQUE (id_user)
)
2024-01-24 02:10:44,057 INFO [no key 0.00009s] ()
2024-01-24 02:10:44,064 INFO COMMIT
2024-01-24 02:10:53,678 ERROR Cause exception while process update id=478745571 by bot id=6258570193
AttributeError: __enter__
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 16, in cmd_start
with SessionLocal() as session:
AttributeError: __enter__
2024-01-24 02:12:26,472 INFO BEGIN (implicit)
2024-01-24 02:12:26,472 INFO PRAGMA main.table_info("user")
2024-01-24 02:12:26,472 INFO [raw sql] ()
2024-01-24 02:12:26,473 INFO COMMIT
2024-01-24 02:12:28,612 ERROR Cause exception while process update id=478745572 by bot id=6258570193
AttributeError: 'AsyncSession' object has no attribute 'query'
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 17, in cmd_start
user = session.query(models.User).filter_by(id_user=message.from_user.id).first()
AttributeError: 'AsyncSession' object has no attribute 'query'
2024-01-24 02:13:28,675 INFO BEGIN (implicit)
2024-01-24 02:13:28,675 INFO PRAGMA main.table_info("user")
2024-01-24 02:13:28,675 INFO [raw sql] ()
2024-01-24 02:13:28,676 INFO COMMIT
2024-01-24 02:13:30,283 ERROR Cause exception while process update id=478745573 by bot id=6258570193
AttributeError: 'AsyncSession' object has no attribute 'query'
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 17, in cmd_start
user = await session.query(models.User).filter_by(id_user=message.from_user.id).first()
AttributeError: 'AsyncSession' object has no attribute 'query'
2024-01-24 02:17:23,875 INFO BEGIN (implicit)
2024-01-24 02:17:23,875 INFO PRAGMA main.table_info("user")
2024-01-24 02:17:23,875 INFO [raw sql] ()
2024-01-24 02:17:23,876 INFO COMMIT
2024-01-24 02:17:25,997 ERROR Cause exception while process update id=478745574 by bot id=6258570193
AttributeError: 'coroutine' object has no attribute 'first'
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 19, in cmd_start
user = await session.execute(select(models.User).filter_by(id_user=message.from_user.id)).first()
AttributeError: 'coroutine' object has no attribute 'first'
2024-01-24 02:19:29,095 INFO BEGIN (implicit)
2024-01-24 02:19:29,095 INFO PRAGMA main.table_info("user")
2024-01-24 02:19:29,095 INFO [raw sql] ()
2024-01-24 02:19:29,097 INFO COMMIT
2024-01-24 02:19:31,382 ERROR Cause exception while process update id=478745575 by bot id=6258570193
AttributeError: 'coroutine' object has no attribute 'first'
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 19, in cmd_start
user = await session.execute(select(models.User).filter_by(id_user=message.from_user.id)).first()
AttributeError: 'coroutine' object has no attribute 'first'
2024-01-24 02:20:38,425 INFO BEGIN (implicit)
2024-01-24 02:20:38,425 INFO PRAGMA main.table_info("user")
2024-01-24 02:20:38,426 INFO [raw sql] ()
2024-01-24 02:20:38,427 INFO COMMIT
2024-01-24 02:20:41,479 ERROR Cause exception while process update id=478745576 by bot id=6258570193
AttributeError: 'coroutine' object has no attribute 'scalars'
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 19, in cmd_start
user = await session.execute(select(models.User).filter_by(id_user=message.from_user.id)).scalars().first()
AttributeError: 'coroutine' object has no attribute 'scalars'
2024-01-24 02:21:03,289 INFO BEGIN (implicit)
2024-01-24 02:21:03,289 INFO PRAGMA main.table_info("user")
2024-01-24 02:21:03,289 INFO [raw sql] ()
2024-01-24 02:21:03,290 INFO COMMIT
2024-01-24 02:21:04,632 ERROR Cause exception while process update id=478745577 by bot id=6258570193
AttributeError: 'coroutine' object has no attribute 'filter_by'
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 19, in cmd_start
user = await session.execute(select(models.User)).filter_by(id_user=message.from_user.id).scalars().first()
AttributeError: 'coroutine' object has no attribute 'filter_by'
2024-01-24 02:21:26,748 INFO BEGIN (implicit)
2024-01-24 02:21:26,750 INFO PRAGMA main.table_info("user")
2024-01-24 02:21:26,750 INFO [raw sql] ()
2024-01-24 02:21:26,751 INFO COMMIT
2024-01-24 02:21:37,914 ERROR Cause exception while process update id=478745578 by bot id=6258570193
AttributeError: 'coroutine' object has no attribute 'filter_by'
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 19, in cmd_start
user = await session.execute(select(models.User)).filter_by(id_user=message.from_user.id).first()
AttributeError: 'coroutine' object has no attribute 'filter_by'
2024-01-24 02:22:19,236 INFO BEGIN (implicit)
2024-01-24 02:22:19,236 INFO PRAGMA main.table_info("user")
2024-01-24 02:22:19,236 INFO [raw sql] ()
2024-01-24 02:22:19,237 INFO COMMIT
2024-01-24 02:22:20,679 INFO BEGIN (implicit)
2024-01-24 02:22:20,681 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
2024-01-24 02:22:20,681 INFO [generated in 0.00015s] ()
2024-01-24 02:22:20,682 INFO ROLLBACK
2024-01-24 02:22:20,683 ERROR Cause exception while process update id=478745579 by bot id=6258570193
AttributeError: 'NoneType' object has no attribute 'first'
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 20, in cmd_start
user = result.scalar().first()
AttributeError: 'NoneType' object has no attribute 'first'
2024-01-24 02:23:21,337 INFO BEGIN (implicit)
2024-01-24 02:23:21,338 INFO PRAGMA main.table_info("user")
2024-01-24 02:23:21,338 INFO [raw sql] ()
2024-01-24 02:23:21,339 INFO COMMIT
2024-01-24 02:23:22,723 INFO BEGIN (implicit)
2024-01-24 02:23:22,725 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
2024-01-24 02:23:22,725 INFO [generated in 0.00016s] ()
2024-01-24 02:23:22,726 INFO ROLLBACK
2024-01-24 02:23:22,727 ERROR Cause exception while process update id=478745580 by bot id=6258570193
AttributeError: 'NoneType' object has no attribute 'first'
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 20, in cmd_start
user = result.scalar().first()
AttributeError: 'NoneType' object has no attribute 'first'
2024-01-24 02:26:35,971 INFO BEGIN (implicit)
2024-01-24 02:26:35,971 INFO PRAGMA main.table_info("user")
2024-01-24 02:26:35,971 INFO [raw sql] ()
2024-01-24 02:26:35,972 INFO COMMIT
2024-01-24 02:26:39,449 ERROR Cause exception while process update id=478745581 by bot id=6258570193
AttributeError: 'coroutine' object has no attribute 'scalar_one_or_none'
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 20, in cmd_start
user = session.execute(query).scalar_one_or_none()
AttributeError: 'coroutine' object has no attribute 'scalar_one_or_none'
2024-01-24 02:26:54,830 INFO BEGIN (implicit)
2024-01-24 02:26:54,831 INFO PRAGMA main.table_info("user")
2024-01-24 02:26:54,831 INFO [raw sql] ()
2024-01-24 02:26:54,832 INFO COMMIT
2024-01-24 02:26:56,468 ERROR Cause exception while process update id=478745582 by bot id=6258570193
AttributeError: 'coroutine' object has no attribute 'scalar_one_or_none'
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 20, in cmd_start
user = await session.execute(query).scalar_one_or_none()
AttributeError: 'coroutine' object has no attribute 'scalar_one_or_none'
2024-01-24 02:27:25,220 INFO BEGIN (implicit)
2024-01-24 02:27:25,220 INFO PRAGMA main.table_info("user")
2024-01-24 02:27:25,220 INFO [raw sql] ()
2024-01-24 02:27:25,222 INFO COMMIT
2024-01-24 02:27:26,505 INFO BEGIN (implicit)
2024-01-24 02:27:26,506 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-24 02:27:26,507 INFO [generated in 0.00017s] (38676703,)
2024-01-24 02:27:26,508 ERROR None
2024-01-24 02:27:26,508 INFO ROLLBACK
2024-01-24 02:27:26,509 ERROR Cause exception while process update id=478745583 by bot id=6258570193
TypeError: object NoneType can't be used in 'await' expression
Traceback (most recent call last):
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
File "C:\Users\andel\Desktop\aiogram3pattern\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
File "C:\Users\andel\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
File "C:\Users\andel\Desktop\aiogram3pattern\handlers\start.py", line 27, in cmd_start
await session.add(user)
TypeError: object NoneType can't be used in 'await' expression
2024-01-24 02:28:08,726 INFO BEGIN (implicit)
2024-01-24 02:28:08,726 INFO PRAGMA main.table_info("user")
2024-01-24 02:28:08,727 INFO [raw sql] ()
2024-01-24 02:28:08,728 INFO COMMIT
2024-01-24 02:28:12,039 INFO BEGIN (implicit)
2024-01-24 02:28:12,041 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-24 02:28:12,041 INFO [generated in 0.00016s] (38676703,)
2024-01-24 02:28:12,045 INFO INSERT INTO user (id_user, tg_username, tg_fullname) VALUES (?, ?, ?)
2024-01-24 02:28:12,045 INFO [generated in 0.00016s] (38676703, 'MrDeliDev', 'Andrey Deli')
2024-01-24 02:28:12,048 INFO COMMIT
2024-01-24 02:28:23,033 INFO BEGIN (implicit)
2024-01-24 02:28:23,033 INFO PRAGMA main.table_info("user")
2024-01-24 02:28:23,033 INFO [raw sql] ()
2024-01-24 02:28:23,034 INFO COMMIT
2024-01-24 02:29:41,830 INFO BEGIN (implicit)
2024-01-24 02:29:41,830 INFO PRAGMA main.table_info("user")
2024-01-24 02:29:41,830 INFO [raw sql] ()
2024-01-24 02:29:41,832 INFO COMMIT
2024-01-24 02:29:44,198 INFO BEGIN (implicit)
2024-01-24 02:29:44,200 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-24 02:29:44,200 INFO [generated in 0.00019s] (38676703,)
2024-01-24 02:29:44,201 INFO COMMIT
2024-01-24 02:30:06,892 INFO BEGIN (implicit)
2024-01-24 02:30:06,892 INFO PRAGMA main.table_info("user")
2024-01-24 02:30:06,892 INFO [raw sql] ()
2024-01-24 02:30:06,894 INFO PRAGMA temp.table_info("user")
2024-01-24 02:30:06,894 INFO [raw sql] ()
2024-01-24 02:30:06,895 INFO
CREATE TABLE user (
id INTEGER NOT NULL,
id_user INTEGER,
tg_username VARCHAR,
tg_fullname VARCHAR,
PRIMARY KEY (id),
UNIQUE (id_user)
)
2024-01-24 02:30:06,895 INFO [no key 0.00010s] ()
2024-01-24 02:30:06,902 INFO COMMIT
2024-01-24 02:30:12,281 INFO BEGIN (implicit)
2024-01-24 02:30:12,283 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-24 02:30:12,283 INFO [generated in 0.00017s] (38676703,)
2024-01-24 02:30:12,287 INFO INSERT INTO user (id_user, tg_username, tg_fullname) VALUES (?, ?, ?)
2024-01-24 02:30:12,287 INFO [generated in 0.00016s] (38676703, 'MrDeliDev', 'Andrey Deli')
2024-01-24 02:30:12,290 INFO COMMIT
2024-01-24 02:30:40,508 INFO BEGIN (implicit)
2024-01-24 02:30:40,509 INFO PRAGMA main.table_info("user")
2024-01-24 02:30:40,509 INFO [raw sql] ()
2024-01-24 02:30:40,510 INFO PRAGMA temp.table_info("user")
2024-01-24 02:30:40,510 INFO [raw sql] ()
2024-01-24 02:30:40,511 INFO
CREATE TABLE user (
id INTEGER NOT NULL,
id_user INTEGER,
tg_username VARCHAR,
tg_fullname VARCHAR,
PRIMARY KEY (id),
UNIQUE (id_user)
)
2024-01-24 02:30:40,511 INFO [no key 0.00009s] ()
2024-01-24 02:30:40,519 INFO COMMIT
2024-01-24 02:30:42,362 INFO BEGIN (implicit)
2024-01-24 02:30:42,364 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-24 02:30:42,364 INFO [generated in 0.00020s] (38676703,)
2024-01-24 02:30:42,367 INFO INSERT INTO user (id_user, tg_username, tg_fullname) VALUES (?, ?, ?)
2024-01-24 02:30:42,367 INFO [generated in 0.00015s] (38676703, 'MrDeliDev', 'Andrey Deli')
2024-01-24 02:30:42,369 INFO COMMIT
2024-01-24 02:39:55,494 INFO BEGIN (implicit)
2024-01-24 02:39:55,494 INFO PRAGMA main.table_info("user")
2024-01-24 02:39:55,494 INFO [raw sql] ()
2024-01-24 02:39:55,495 INFO COMMIT
2024-01-24 02:40:34,448 INFO BEGIN (implicit)
2024-01-24 02:40:34,448 INFO PRAGMA main.table_info("user")
2024-01-24 02:40:34,448 INFO [raw sql] ()
2024-01-24 02:40:34,449 INFO PRAGMA temp.table_info("user")
2024-01-24 02:40:34,449 INFO [raw sql] ()
2024-01-24 02:40:34,450 INFO
CREATE TABLE user (
id INTEGER NOT NULL,
id_user INTEGER,
tg_username VARCHAR,
tg_fullname VARCHAR,
PRIMARY KEY (id),
UNIQUE (id_user)
)
2024-01-24 02:40:34,450 INFO [no key 0.00014s] ()
2024-01-24 02:40:34,459 INFO COMMIT
2024-01-24 02:40:37,194 ERROR AsyncSession.scalars() missing 1 required positional argument: 'statement'
2024-01-24 02:40:42,526 ERROR AsyncSession.scalars() missing 1 required positional argument: 'statement'
2024-01-24 02:41:18,620 INFO BEGIN (implicit)
2024-01-24 02:41:18,620 INFO PRAGMA main.table_info("user")
2024-01-24 02:41:18,620 INFO [raw sql] ()
2024-01-24 02:41:18,621 INFO COMMIT
2024-01-24 02:41:20,217 INFO BEGIN (implicit)
2024-01-24 02:41:20,219 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-24 02:41:20,220 INFO [generated in 0.00019s] (38676703,)
2024-01-24 02:41:20,221 INFO COMMIT
2024-01-24 02:41:20,223 INFO BEGIN (implicit)
2024-01-24 02:41:20,224 INFO INSERT INTO user (id_user, tg_username, tg_fullname) VALUES (?, ?, ?)
2024-01-24 02:41:20,224 INFO [generated in 0.00014s] (38676703, 'MrDeliDev', 'Andrey Deli')
2024-01-24 02:41:20,227 INFO COMMIT
2024-01-27 23:30:35,954 INFO BEGIN (implicit)
2024-01-27 23:30:35,954 INFO PRAGMA main.table_info("user")
2024-01-27 23:30:35,954 INFO [raw sql] ()
2024-01-27 23:30:35,955 INFO COMMIT
2024-01-27 23:30:40,674 INFO BEGIN (implicit)
2024-01-27 23:30:40,677 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-27 23:30:40,677 INFO [generated in 0.00021s] (38676703,)
2024-01-27 23:30:40,680 INFO INSERT INTO user (id_user, tg_username, tg_fullname) VALUES (?, ?, ?)
2024-01-27 23:30:40,680 INFO [generated in 0.00021s] (38676703, 'MrDeliDev', 'Andrey Deli')
2024-01-27 23:30:40,685 INFO COMMIT
2024-01-27 23:30:44,337 INFO BEGIN (implicit)
2024-01-27 23:30:44,337 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-27 23:30:44,337 INFO [cached since 3.661s ago] (38676703,)
2024-01-27 23:30:44,339 INFO COMMIT
2024-01-27 23:30:46,323 INFO BEGIN (implicit)
2024-01-27 23:30:46,323 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-27 23:30:46,323 INFO [cached since 5.647s ago] (38676703,)
2024-01-27 23:30:46,324 INFO COMMIT
2024-01-27 23:30:47,629 INFO BEGIN (implicit)
2024-01-27 23:30:47,629 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-27 23:30:47,629 INFO [cached since 6.952s ago] (38676703,)
2024-01-27 23:30:47,630 INFO COMMIT
2024-01-27 23:30:48,986 INFO BEGIN (implicit)
2024-01-27 23:30:48,986 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-27 23:30:48,987 INFO [cached since 8.31s ago] (38676703,)
2024-01-27 23:30:48,988 INFO COMMIT
2024-01-27 23:31:41,445 INFO BEGIN (implicit)
2024-01-27 23:31:41,446 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-01-27 23:31:41,446 INFO [cached since 60.77s ago] (38676703,)
2024-01-27 23:31:41,447 INFO COMMIT
2024-04-02 05:17:17,778 INFO BEGIN (implicit)
2024-04-02 05:17:17,778 INFO PRAGMA main.table_info("user")
2024-04-02 05:17:17,779 INFO [raw sql] ()
2024-04-02 05:17:17,783 INFO PRAGMA main.table_info("people")
2024-04-02 05:17:17,783 INFO [raw sql] ()
2024-04-02 05:17:17,784 INFO PRAGMA temp.table_info("people")
2024-04-02 05:17:17,784 INFO [raw sql] ()
2024-04-02 05:17:17,785 INFO
CREATE TABLE people (
id INTEGER NOT NULL,
telegram_user_id INTEGER NOT NULL,
full_name VARCHAR NOT NULL,
PRIMARY KEY (id),
UNIQUE (telegram_user_id)
)
2024-04-02 05:17:17,785 INFO [no key 0.00011s] ()
2024-04-02 05:17:17,792 INFO COMMIT
2024-04-02 05:17:22,266 ERROR Failed to fetch updates - TelegramConflictError: Telegram server says - Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2024-04-02 05:17:23,613 INFO BEGIN (implicit)
2024-04-02 05:17:23,616 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-04-02 05:17:23,617 INFO [generated in 0.00048s] (694834819,)
2024-04-02 05:17:23,619 INFO INSERT INTO user (id_user, tg_username, tg_fullname) VALUES (?, ?, ?)
2024-04-02 05:17:23,619 INFO [generated in 0.00018s] (694834819, 'chebupanfica', 'Anfica Chebupel')
2024-04-02 05:17:23,621 INFO COMMIT
2024-04-02 05:17:27,748 ERROR Failed to fetch updates - TelegramConflictError: Telegram server says - Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2024-04-02 05:17:32,865 ERROR Failed to fetch updates - TelegramConflictError: Telegram server says - Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2024-04-02 05:17:38,237 ERROR Failed to fetch updates - TelegramConflictError: Telegram server says - Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2024-04-02 05:17:43,371 ERROR Failed to fetch updates - TelegramConflictError: Telegram server says - Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2024-04-02 05:17:48,591 ERROR Failed to fetch updates - TelegramConflictError: Telegram server says - Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2024-04-02 05:17:54,304 ERROR Failed to fetch updates - TelegramConflictError: Telegram server says - Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2024-04-02 05:17:59,508 INFO BEGIN (implicit)
2024-04-02 05:17:59,508 INFO PRAGMA main.table_info("user")
2024-04-02 05:17:59,508 INFO [raw sql] ()
2024-04-02 05:17:59,509 INFO PRAGMA main.table_info("people")
2024-04-02 05:17:59,509 INFO [raw sql] ()
2024-04-02 05:17:59,510 INFO COMMIT
2024-04-02 05:18:01,221 INFO BEGIN (implicit)
2024-04-02 05:18:01,224 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-04-02 05:18:01,224 INFO [generated in 0.00027s] (694834819,)
2024-04-02 05:18:01,225 INFO COMMIT
2024-04-02 05:18:16,201 INFO BEGIN (implicit)
2024-04-02 05:18:16,201 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-04-02 05:18:16,201 INFO [cached since 14.98s ago] (694834819,)
2024-04-02 05:18:16,202 INFO COMMIT
2024-04-02 05:26:14,598 INFO BEGIN (implicit)
2024-04-02 05:26:14,598 INFO PRAGMA main.table_info("user")
2024-04-02 05:26:14,598 INFO [raw sql] ()
2024-04-02 05:26:14,599 INFO PRAGMA main.table_info("people")
2024-04-02 05:26:14,599 INFO [raw sql] ()
2024-04-02 05:26:14,600 INFO COMMIT
2024-04-02 05:26:20,070 INFO BEGIN (implicit)
2024-04-02 05:26:20,073 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-04-02 05:26:20,073 INFO [generated in 0.00035s] (694834819,)
2024-04-02 05:26:20,074 INFO COMMIT
2024-04-02 05:26:53,442 INFO BEGIN (implicit)
2024-04-02 05:26:53,443 INFO PRAGMA main.table_info("user")
2024-04-02 05:26:53,443 INFO [raw sql] ()
2024-04-02 05:26:53,443 INFO PRAGMA main.table_info("people")
2024-04-02 05:26:53,444 INFO [raw sql] ()
2024-04-02 05:26:53,444 INFO COMMIT
2024-04-02 05:26:56,734 INFO BEGIN (implicit)
2024-04-02 05:26:56,736 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-04-02 05:26:56,736 INFO [generated in 0.00019s] (694834819,)
2024-04-02 05:26:56,737 INFO COMMIT
2024-04-02 05:26:59,531 ERROR Cause exception while process update id=640812973 by bot id=7149732794
AttributeError: 'FSMContext' object has no attribute 'proxy'
Traceback (most recent call last):
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\PycharmProjects\My solo bots\Anketa\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\PycharmProjects\My solo bots\Anketa\handlers\address.py", line 12, in process_fullname
async with state.proxy() as data:
^^^^^^^^^^^
AttributeError: 'FSMContext' object has no attribute 'proxy'
2024-04-02 05:27:14,852 INFO BEGIN (implicit)
2024-04-02 05:27:14,852 INFO PRAGMA main.table_info("user")
2024-04-02 05:27:14,852 INFO [raw sql] ()
2024-04-02 05:27:14,853 INFO PRAGMA temp.table_info("user")
2024-04-02 05:27:14,853 INFO [raw sql] ()
2024-04-02 05:27:14,854 INFO PRAGMA main.table_info("people")
2024-04-02 05:27:14,854 INFO [raw sql] ()
2024-04-02 05:27:14,854 INFO PRAGMA temp.table_info("people")
2024-04-02 05:27:14,855 INFO [raw sql] ()
2024-04-02 05:27:14,855 INFO
CREATE TABLE user (
id INTEGER NOT NULL,
id_user INTEGER,
tg_username VARCHAR,
tg_fullname VARCHAR,
PRIMARY KEY (id),
UNIQUE (id_user)
)
2024-04-02 05:27:14,855 INFO [no key 0.00008s] ()
2024-04-02 05:27:14,861 INFO
CREATE TABLE people (
id INTEGER NOT NULL,
telegram_user_id INTEGER NOT NULL,
full_name VARCHAR NOT NULL,
PRIMARY KEY (id),
UNIQUE (telegram_user_id)
)
2024-04-02 05:27:14,861 INFO [no key 0.00014s] ()
2024-04-02 05:27:14,866 INFO COMMIT
2024-04-02 05:27:15,799 INFO BEGIN (implicit)
2024-04-02 05:27:15,802 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-04-02 05:27:15,802 INFO [generated in 0.00028s] (694834819,)
2024-04-02 05:27:15,804 INFO INSERT INTO user (id_user, tg_username, tg_fullname) VALUES (?, ?, ?)
2024-04-02 05:27:15,805 INFO [generated in 0.00018s] (694834819, 'chebupanfica', 'Anfica Chebupel')
2024-04-02 05:27:15,807 INFO COMMIT
2024-04-02 05:28:08,080 INFO BEGIN (implicit)
2024-04-02 05:28:08,081 INFO PRAGMA main.table_info("user")
2024-04-02 05:28:08,081 INFO [raw sql] ()
2024-04-02 05:28:08,082 INFO PRAGMA main.table_info("people")
2024-04-02 05:28:08,082 INFO [raw sql] ()
2024-04-02 05:28:08,082 INFO COMMIT
2024-04-02 05:28:10,691 ERROR Cause exception while process update id=640812978 by bot id=7149732794
AttributeError: 'FSMContext' object has no attribute 'proxy'
Traceback (most recent call last):
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\PycharmProjects\My solo bots\Anketa\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\PycharmProjects\My solo bots\Anketa\handlers\address.py", line 12, in process_fullname
async with state.proxy() as data:
^^^^^^^^^^^
AttributeError: 'FSMContext' object has no attribute 'proxy'
2024-04-02 05:38:29,472 INFO BEGIN (implicit)
2024-04-02 05:38:29,472 INFO PRAGMA main.table_info("user")
2024-04-02 05:38:29,472 INFO [raw sql] ()
2024-04-02 05:38:29,473 INFO PRAGMA main.table_info("people")
2024-04-02 05:38:29,473 INFO [raw sql] ()
2024-04-02 05:38:29,474 INFO COMMIT
2024-04-02 05:38:33,791 INFO BEGIN (implicit)
2024-04-02 05:38:33,794 INFO SELECT user.id, user.id_user, user.tg_username, user.tg_fullname
FROM user
WHERE user.id_user = ?
2024-04-02 05:38:33,794 INFO [generated in 0.00020s] (694834819,)
2024-04-02 05:38:33,795 INFO COMMIT
2024-04-02 05:38:36,473 ERROR Cause exception while process update id=640812981 by bot id=7149732794
AttributeError: 'State' object has no attribute 'set'
Traceback (most recent call last):
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\fsm\middleware.py", line 41, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 276, in _listen_update
return await self.propagate_event(update_type=update_type, event=event, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\router.py", line 128, in propagate_event
return await observer.wrap_outer_middleware(_wrapped, event=event, data=kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\router.py", line 123, in _wrapped
return await self._propagate_event(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\router.py", line 148, in _propagate_event
response = await observer.trigger(event, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\telegram.py", line 121, in trigger
return await wrapped_inner(event, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\PycharmProjects\My solo bots\Anketa\middlewares\throttling.py", line 30, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\PycharmProjects\My solo bots\Anketa\handlers\address.py", line 16, in process_fullname
await Form.address.set()
^^^^^^^^^^^^^^^^
AttributeError: 'State' object has no attribute 'set'
2024-04-02 05:38:38,957 ERROR Cause exception while process update id=640812982 by bot id=7149732794
AttributeError: 'State' object has no attribute 'set'
Traceback (most recent call last):
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 309, in _process_update
response = await self.feed_update(bot, update, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 158, in feed_update
response = await self.update.wrap_outer_middleware(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\middlewares\error.py", line 25, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Чебупель.DESKTOP-P8QNSP2\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiogram\dispatcher\middlewares\user_context.py", line 27, in __call__
return await handler(event, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^