-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.log
executable file
·3415 lines (2974 loc) · 619 KB
/
error.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
ERROR 2017-08-21 15:36:31,124 NoneType
ERROR 2017-08-21 15:36:31,126 NoneType
ERROR 2017-08-22 15:24:13,434 Unable to start server
Traceback (most recent call last):
File "uvloop/loop.pyx", line 878, in uvloop.loop.Loop._create_server (uvloop/loop.c:19870)
File "uvloop/handles/streamserver.pyx", line 43, in uvloop.loop.UVStreamServer.listen (uvloop/loop.c:77651)
File "uvloop/handles/streamserver.pyx", line 80, in uvloop.loop.UVStreamServer._fatal_error (uvloop/loop.c:78194)
OSError: [Errno 98] Address already in use
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 432, in serve
http_server = loop.run_until_complete(server_coroutine)
File "uvloop/loop.pyx", line 1203, in uvloop.loop.Loop.run_until_complete (uvloop/loop.c:25632)
File "uvloop/future.pyx", line 146, in uvloop.loop.BaseFuture.result (uvloop/loop.c:109361)
File "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:108900)
File "uvloop/future.pyx", line 372, in uvloop.loop.BaseTask._fast_step (uvloop/loop.c:112669)
File "uvloop/loop.pyx", line 1363, in create_server (uvloop/loop.c:27511)
File "uvloop/loop.pyx", line 882, in uvloop.loop.Loop._create_server (uvloop/loop.c:20003)
OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1', 8005): address already in use
ERROR 2017-08-22 15:34:32,345 NoneType
ERROR 2017-08-22 15:36:25,512 NoneType
ERROR 2017-08-22 15:38:37,050 NoneType
ERROR 2017-08-22 15:43:02,923 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/result.py", line 40, in __getitem__
processor, obj, index = self._keymap[key]
KeyError: '__dict__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/result.py", line 67, in __getattr__
return self[name]
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/result.py", line 42, in __getitem__
processor, obj, index = self._result_proxy._key_fallback(key)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/result.py", line 190, in _key_fallback
expression._string_or_unprintable(key))
aiomysql.sa.exc.NoSuchColumnError: "Could not locate column in row for column '__dict__'"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 59, in course_get
d = i.__dict__
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/result.py", line 69, in __getattr__
raise AttributeError(e.args[0])
AttributeError: Could not locate column in row for column '__dict__'
ERROR 2017-08-22 15:44:02,889 NoneType
ERROR 2017-08-22 16:09:34,819 NoneType
ERROR 2017-08-22 16:28:27,079 NoneType
ERROR 2017-08-22 16:35:29,129 NoneType
ERROR 2017-08-22 16:38:36,539 NoneType
ERROR 2017-08-22 16:40:41,716 NoneType
ERROR 2017-08-22 16:50:18,591 NoneType
ERROR 2017-08-22 16:53:47,077 NoneType
ERROR 2017-08-22 17:01:32,753 NoneType
ERROR 2017-08-22 17:05:08,985 NoneType
ERROR 2017-08-22 17:07:14,448 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 68, in course_get
return json({'state': 0, 'course': json.loads(course)})
TypeError: 'module' object is not callable
ERROR 2017-08-22 17:08:15,318 NoneType
ERROR 2017-08-22 17:11:16,511 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 68, in course_get
return json({'state': 0, 'course': course})
TypeError: 'module' object is not callable
ERROR 2017-08-22 17:11:58,648 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 68, in course_get
return json({'state': 0, 'course': json.loads(course)})
AttributeError: 'function' object has no attribute 'loads'
ERROR 2017-08-22 17:12:59,530 NoneType
ERROR 2017-08-22 17:14:18,618 NoneType
ERROR 2017-08-22 20:04:08,759 NoneType
ERROR 2017-08-22 20:09:09,348 NoneType
ERROR 2017-08-23 09:28:17,718 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-08-23 09:28:17,785 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-08-23 09:28:25,466 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /project not found
ERROR 2017-08-23 09:28:31,884 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /project not found
ERROR 2017-08-23 09:29:03,822 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 316, in _get
raise method_not_supported
sanic.exceptions.InvalidUsage: Method POST not allowed for URL /files
ERROR 2017-08-23 09:29:32,554 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 316, in _get
raise method_not_supported
sanic.exceptions.InvalidUsage: Method POST not allowed for URL /files
ERROR 2017-08-23 09:30:07,053 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 316, in _get
raise method_not_supported
sanic.exceptions.InvalidUsage: Method POST not allowed for URL /files
ERROR 2017-08-23 09:39:09,418 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 316, in _get
raise method_not_supported
sanic.exceptions.InvalidUsage: Method POST not allowed for URL /files
ERROR 2017-08-23 09:40:30,447 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 109, in files
'body': test_file.body,
AttributeError: 'NoneType' object has no attribute 'body'
ERROR 2017-08-23 09:49:35,522 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 110, in files
'body': test_file.body,
AttributeError: 'NoneType' object has no attribute 'body'
ERROR 2017-08-23 09:50:43,364 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 107, in files
test_file = request.files[0]
KeyError: 0
ERROR 2017-08-23 09:51:37,890 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 107, in files
test_file = request.files[0]
KeyError: 0
ERROR 2017-08-23 09:58:45,767 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 107, in files
test_file = request.files[0]
KeyError: 0
ERROR 2017-08-23 09:59:31,042 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 110, in files
'body': test_file.body,
AttributeError: 'str' object has no attribute 'body'
ERROR 2017-08-23 10:03:04,700 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 110, in files
'body': test_file.body,
AttributeError: 'str' object has no attribute 'body'
ERROR 2017-08-23 10:04:50,259 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 110, in files
'body': test_file.body,
AttributeError: 'list' object has no attribute 'body'
ERROR 2017-08-23 10:08:02,196 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 110, in files
print(file.name)
AttributeError: 'str' object has no attribute 'name'
ERROR 2017-08-23 14:44:53,917 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-08-23 14:44:53,918 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-08-23 14:44:58,340 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /project not found
ERROR 2017-08-23 14:45:07,420 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /project not found
ERROR 2017-08-23 14:45:08,909 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /project not found
ERROR 2017-08-23 15:54:51,324 file_upload:upload failed
ERROR 2017-08-23 15:56:15,117 file_upload:upload failed
ERROR 2017-08-23 20:10:05,873 file_upload:upload failed
ERROR 2017-08-23 20:10:30,553 file_upload:upload failed
ERROR 2017-08-23 20:13:58,558 file_upload:upload failed
ERROR 2017-08-23 20:16:18,914 file_upload:upload failed
ERROR 2017-08-23 20:46:19,035 file_upload:upload failed
ERROR 2017-08-24 09:29:32,604 file_upload:upload failed
ERROR 2017-08-24 09:30:35,759 file_upload:upload failed
ERROR 2017-08-24 09:31:45,907 file_upload:upload failed
ERROR 2017-08-24 09:32:41,334 file_upload:upload failed
ERROR 2017-08-24 09:39:14,582 file_upload:upload failed
ERROR 2017-08-24 09:58:47,213 file_upload:upload failed
ERROR 2017-08-24 10:06:21,073 file_upload:upload failed
ERROR 2017-08-24 14:24:48,594 file_upload: database insert failed
ERROR 2017-08-24 14:26:59,647 file_upload: database insert failed
ERROR 2017-08-24 14:28:29,364 file_upload: database insert failed
ERROR 2017-08-24 15:28:13,177 file_upload:database insert error
ERROR 2017-08-24 15:30:17,145 file_upload:database insert error
ERROR 2017-08-24 15:31:12,848 file_upload:database insert error
ERROR 2017-08-24 15:31:47,299 file_upload: database insert failed
ERROR 2017-08-24 15:44:12,933 file_upload: database insert failed
ERROR 2017-08-24 15:48:20,376 file_upload: database insert failed
ERROR 2017-08-24 15:51:15,762 file_upload: database insert failed
ERROR 2017-08-24 15:52:36,390 file_upload: database insert failed
ERROR 2017-08-24 15:55:42,986 file_upload: database insert failed
ERROR 2017-08-24 15:56:37,796 file_upload: database insert failed
ERROR 2017-08-24 15:57:35,840 file_upload: database insert failed
ERROR 2017-08-24 15:58:03,532 file_upload: database insert failed
ERROR 2017-08-24 15:59:30,694 file_upload: database insert failed
ERROR 2017-08-24 18:48:28,951 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /favicon.ico not found
ERROR 2017-08-24 18:49:28,726 NoneType
ERROR 2017-08-24 20:55:28,262 NoneType
ERROR 2017-08-24 21:03:34,024 NoneType
ERROR 2017-08-24 21:32:48,781 NoneType
ERROR 2017-08-25 09:40:48,483 Traceback (most recent call last):
File "main.py", line 71, in test
if(user['user_passwd'] == password):
TypeError: list indices must be integers or slices, not str
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 77, in test
do_log(4, "用户登录失败![id=%d]" % (id,))
TypeError: %d format: a number is required, not builtin_function_or_method
ERROR 2017-08-25 09:41:22,920 用户登录失败![id=%d]
ERROR 2017-08-25 09:42:22,909 NoneType
ERROR 2017-08-25 09:44:15,178 NoneType
ERROR 2017-08-25 09:45:32,429 NoneType
ERROR 2017-08-25 09:52:27,730 NoneType
ERROR 2017-08-25 10:04:01,803 NoneType
ERROR 2017-08-25 10:15:23,001 NoneType
ERROR 2017-08-25 10:28:24,274 NoneType
ERROR 2017-08-25 10:30:59,480 NoneType
ERROR 2017-08-26 09:22:16,976 NoneType
ERROR 2017-08-26 22:18:35,204 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'NoneType'>
ERROR 2017-08-26 22:18:35,207 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'NoneType' object has no attribute 'output'
ERROR 2017-08-26 22:20:53,958 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'NoneType'>
ERROR 2017-08-26 22:20:53,960 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'NoneType' object has no attribute 'output'
ERROR 2017-08-26 22:21:23,059 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'NoneType'>
ERROR 2017-08-26 22:21:23,059 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'NoneType' object has no attribute 'output'
ERROR 2017-08-26 22:22:18,919 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'aiohttp.client_reqrep.ClientResponse'>
ERROR 2017-08-26 22:22:18,920 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'ClientResponse' object has no attribute 'output'
ERROR 2017-08-26 22:23:21,017 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'generator'>
ERROR 2017-08-26 22:23:21,018 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'generator' object has no attribute 'output'
ERROR 2017-08-26 22:25:30,592 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'generator'>
ERROR 2017-08-26 22:25:30,593 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'generator' object has no attribute 'output'
ERROR 2017-08-26 22:26:39,512 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'generator'>
ERROR 2017-08-26 22:26:39,513 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'generator' object has no attribute 'output'
ERROR 2017-08-26 22:27:36,149 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'generator'>
ERROR 2017-08-26 22:27:36,150 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'generator' object has no attribute 'output'
ERROR 2017-08-26 22:28:27,146 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'generator'>
ERROR 2017-08-26 22:28:27,147 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'generator' object has no attribute 'output'
ERROR 2017-08-26 22:30:08,434 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'aiohttp.client_reqrep.ClientResponse'>
ERROR 2017-08-26 22:30:08,435 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'ClientResponse' object has no attribute 'output'
ERROR 2017-08-27 09:54:52,932 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'aiohttp.client_reqrep.ClientResponse'>
ERROR 2017-08-27 09:54:52,934 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'ClientResponse' object has no attribute 'output'
ERROR 2017-08-27 09:57:48,406 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'aiohttp.client_reqrep.ClientResponse'>
ERROR 2017-08-27 09:57:48,407 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'ClientResponse' object has no attribute 'output'
ERROR 2017-08-27 09:57:55,166 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'aiohttp.client_reqrep.ClientResponse'>
ERROR 2017-08-27 09:57:55,167 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'ClientResponse' object has no attribute 'output'
ERROR 2017-08-27 09:58:02,359 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'aiohttp.client_reqrep.ClientResponse'>
ERROR 2017-08-27 09:58:02,360 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'ClientResponse' object has no attribute 'output'
ERROR 2017-08-27 10:00:23,732 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'aiohttp.client_reqrep.ClientResponse'>
ERROR 2017-08-27 10:00:23,733 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'ClientResponse' object has no attribute 'output'
ERROR 2017-08-27 10:00:28,891 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'aiohttp.client_reqrep.ClientResponse'>
ERROR 2017-08-27 10:00:28,897 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'ClientResponse' object has no attribute 'output'
ERROR 2017-08-27 10:00:29,714 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'aiohttp.client_reqrep.ClientResponse'>
ERROR 2017-08-27 10:00:29,715 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'ClientResponse' object has no attribute 'output'
ERROR 2017-08-27 10:01:39,458 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'generator'>
ERROR 2017-08-27 10:01:39,459 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'generator' object has no attribute 'output'
ERROR 2017-08-27 10:02:35,914 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'aiohttp.client_reqrep.ClientResponse'>
ERROR 2017-08-27 10:02:35,915 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'ClientResponse' object has no attribute 'output'
ERROR 2017-08-27 10:04:31,443 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'coroutine'>
ERROR 2017-08-27 10:04:31,447 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'coroutine' object has no attribute 'output'
ERROR 2017-08-27 10:07:08,779 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'dict'>
ERROR 2017-08-27 10:07:08,780 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'dict' object has no attribute 'output'
ERROR 2017-08-27 10:08:46,217 Invalid response object for url b'/exp?id=145', Expected Type: HTTPResponse, Actual Type: <class 'str'>
ERROR 2017-08-27 10:08:46,218 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 197, in write_response
response.output(
AttributeError: 'str' object has no attribute 'output'
ERROR 2017-08-27 10:10:41,145 NoneType
ERROR 2017-08-29 11:16:32,892 Unable to start server
Traceback (most recent call last):
File "uvloop/loop.pyx", line 878, in uvloop.loop.Loop._create_server (uvloop/loop.c:19870)
File "uvloop/handles/streamserver.pyx", line 43, in uvloop.loop.UVStreamServer.listen (uvloop/loop.c:77651)
File "uvloop/handles/streamserver.pyx", line 80, in uvloop.loop.UVStreamServer._fatal_error (uvloop/loop.c:78194)
OSError: [Errno 98] Address already in use
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/server.py", line 432, in serve
http_server = loop.run_until_complete(server_coroutine)
File "uvloop/loop.pyx", line 1203, in uvloop.loop.Loop.run_until_complete (uvloop/loop.c:25632)
File "uvloop/future.pyx", line 146, in uvloop.loop.BaseFuture.result (uvloop/loop.c:109361)
File "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:108900)
File "uvloop/future.pyx", line 372, in uvloop.loop.BaseTask._fast_step (uvloop/loop.c:112669)
File "uvloop/loop.pyx", line 1363, in create_server (uvloop/loop.c:27511)
File "uvloop/loop.pyx", line 882, in uvloop.loop.Loop._create_server (uvloop/loop.c:20003)
OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1', 8005): address already in use
ERROR 2017-09-03 11:07:07,325 NoneType
ERROR 2017-09-03 14:59:06,422 NoneType
ERROR 2017-09-03 15:00:01,507 Traceback (most recent call last):
File "/home/jason/Code/backend8.24/db_support.py", line 63, in db_select
select_info = await conn.execute(sql)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/utils.py", line 66, in __await__
resp = yield from self._coro
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/connection.py", line 107, in _execute
yield from cursor.execute(str(compiled), post_processed_params[0])
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 239, in execute
yield from self._query(query)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 460, in _query
yield from conn.query(q)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 398, in query
yield from self._read_query_result(unbuffered=unbuffered)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 582, in _read_query_result
yield from result.read()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 835, in read
first_packet = yield from self.connection._read_packet()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 552, in _read_packet
packet.check_error()
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/connections.py", line 393, in check_error
err.raise_mysql_exception(self._data)
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''u_id': '166'}' at line 3")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 929, in new_uc
try_get=await db_select("uc",c_id=c_id,u_id=inf)
File "/home/jason/Code/backend8.24/db_support.py", line 71, in db_select
do_log(4, "select error:" + str(e))
File "/home/jason/Code/backend8.24/db_support.py", line 21, in do_log
logging.error(info)
NameError: name 'logging' is not defined
ERROR 2017-09-03 15:01:01,471 NoneType
ERROR 2017-09-03 15:02:16,399 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 929, in new_uc
print(inf.u_id)
AttributeError: 'dict' object has no attribute 'u_id'
ERROR 2017-09-03 15:02:48,249 Traceback (most recent call last):
File "/home/jason/Code/backend8.24/db_support.py", line 63, in db_select
select_info = await conn.execute(sql)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/utils.py", line 66, in __await__
resp = yield from self._coro
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/connection.py", line 107, in _execute
yield from cursor.execute(str(compiled), post_processed_params[0])
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 239, in execute
yield from self._query(query)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 460, in _query
yield from conn.query(q)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 398, in query
yield from self._read_query_result(unbuffered=unbuffered)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 582, in _read_query_result
yield from result.read()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 835, in read
first_packet = yield from self.connection._read_packet()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 552, in _read_packet
packet.check_error()
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/connections.py", line 393, in check_error
err.raise_mysql_exception(self._data)
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (1054, "Unknown column 'uc.res' in 'field list'")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 930, in new_uc
try_get=await db_select("uc",c_id=c_id,u_id=inf['u_id'])
File "/home/jason/Code/backend8.24/db_support.py", line 71, in db_select
do_log(4, "select error:" + str(e))
File "/home/jason/Code/backend8.24/db_support.py", line 21, in do_log
logging.error(info)
NameError: name 'logging' is not defined
ERROR 2017-09-03 15:03:48,224 NoneType
ERROR 2017-09-03 15:05:40,201 Traceback (most recent call last):
File "/home/jason/Code/backend8.24/db_support.py", line 63, in db_select
select_info = await conn.execute(sql)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/utils.py", line 66, in __await__
resp = yield from self._coro
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/connection.py", line 107, in _execute
yield from cursor.execute(str(compiled), post_processed_params[0])
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 239, in execute
yield from self._query(query)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 460, in _query
yield from conn.query(q)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 398, in query
yield from self._read_query_result(unbuffered=unbuffered)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 582, in _read_query_result
yield from result.read()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 835, in read
first_packet = yield from self.connection._read_packet()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 552, in _read_packet
packet.check_error()
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/connections.py", line 393, in check_error
err.raise_mysql_exception(self._data)
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (1054, "Unknown column 'uc.res' in 'field list'")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 930, in new_uc
try_get=await db_select("uc",u_id=inf['u_id'])
File "/home/jason/Code/backend8.24/db_support.py", line 71, in db_select
do_log(4, "select error:" + str(e))
File "/home/jason/Code/backend8.24/db_support.py", line 21, in do_log
logging.error(info)
NameError: name 'logging' is not defined
ERROR 2017-09-03 15:06:40,165 NoneType
ERROR 2017-09-03 15:08:36,066 NoneType
ERROR 2017-09-03 15:09:06,227 update_uc:数据库此用户组下无用户
ERROR 2017-09-03 15:09:11,671 update_uc:数据库此用户组下无用户
ERROR 2017-09-03 15:10:19,157 NoneType
ERROR 2017-09-03 15:13:29,113 Traceback (most recent call last):
File "/home/jason/Code/backend8.24/db_support.py", line 82, in db_insert
await conn.execute(insert(cell).values(kwargs))
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/utils.py", line 66, in __await__
resp = yield from self._coro
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/connection.py", line 107, in _execute
yield from cursor.execute(str(compiled), post_processed_params[0])
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 239, in execute
yield from self._query(query)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 460, in _query
yield from conn.query(q)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 398, in query
yield from self._read_query_result(unbuffered=unbuffered)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 582, in _read_query_result
yield from result.read()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 835, in read
first_packet = yield from self.connection._read_packet()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 552, in _read_packet
packet.check_error()
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/connections.py", line 393, in check_error
err.raise_mysql_exception(self._data)
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''u_id': '166'}, 4, 'Uncompleted')' at line 1")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/Code/backend8.24/db_support.py", line 84, in db_insert
main.do_log(4, "insert error:" + str(e))
NameError: name 'main' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/Code/backend8.24/db_support.py", line 88, in db_insert
await trans.commit()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/utils.py", line 143, in __aexit__
yield from self._pool.release(self._conn)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/engine.py", line 129, in release
raise InvalidRequestError("Cannot release a connection with "
aiomysql.sa.exc.InvalidRequestError: Cannot release a connection with not finished transaction
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 931, in new_uc
if await db_insert("uc",updated_at=time,created_at=time,u_id=inf,c_id=c_id,state='Uncompleted'):
File "/home/jason/Code/backend8.24/db_support.py", line 91, in db_insert
do_log(4, "insert error:" + str(e))
File "/home/jason/Code/backend8.24/db_support.py", line 21, in do_log
logging.error(info)
NameError: name 'logging' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 935, in new_uc
do_log(4,"add:新增选课失败![id=%d]" % (inf))
TypeError: %d format: a number is required, not dict
ERROR 2017-09-03 15:14:29,060 NoneType
ERROR 2017-09-03 15:15:46,675 NoneType
ERROR 2017-09-03 15:16:57,073 NoneType
ERROR 2017-09-03 15:28:28,448 NoneType
ERROR 2017-09-03 21:46:38,437 Traceback (most recent call last):
File "/home/jason/Code/backend8.24/db_support.py", line 63, in db_select
select_info = await conn.execute(sql)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/utils.py", line 66, in __await__
resp = yield from self._coro
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/connection.py", line 107, in _execute
yield from cursor.execute(str(compiled), post_processed_params[0])
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 239, in execute
yield from self._query(query)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 460, in _query
yield from conn.query(q)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 398, in query
yield from self._read_query_result(unbuffered=unbuffered)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 582, in _read_query_result
yield from result.read()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 835, in read
first_packet = yield from self.connection._read_packet()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 552, in _read_packet
packet.check_error()
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/connections.py", line 393, in check_error
err.raise_mysql_exception(self._data)
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (1241, 'Operand should contain 1 column(s)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 921, in new_uc
info=await db_select("ur", find=["u_id"], r_id=role)
File "/home/jason/Code/backend8.24/db_support.py", line 71, in db_select
do_log(4, "select error:" + str(e))
File "/home/jason/Code/backend8.24/db_support.py", line 21, in do_log
logging.error(info)
NameError: name 'logging' is not defined
ERROR 2017-09-03 21:47:38,410 NoneType
ERROR 2017-09-03 21:49:05,294 Traceback (most recent call last):
File "/home/jason/Code/backend8.24/db_support.py", line 63, in db_select
select_info = await conn.execute(sql)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/utils.py", line 66, in __await__
resp = yield from self._coro
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/connection.py", line 107, in _execute
yield from cursor.execute(str(compiled), post_processed_params[0])
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 239, in execute
yield from self._query(query)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 460, in _query
yield from conn.query(q)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 398, in query
yield from self._read_query_result(unbuffered=unbuffered)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 582, in _read_query_result
yield from result.read()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 835, in read
first_packet = yield from self.connection._read_packet()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 552, in _read_packet
packet.check_error()
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/connections.py", line 393, in check_error
err.raise_mysql_exception(self._data)
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.InternalError: (1241, 'Operand should contain 1 column(s)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 471, in handle_request
response = await response
File "main.py", line 921, in new_uc
info=await db_select("ur", find=["u_id"], r_id=role)
File "/home/jason/Code/backend8.24/db_support.py", line 71, in db_select
do_log(4, "select error:" + str(e))
File "/home/jason/Code/backend8.24/db_support.py", line 21, in do_log
logging.error(info)
NameError: name 'logging' is not defined
ERROR 2017-09-03 21:50:05,280 NoneType
ERROR 2017-09-03 21:52:00,231 NoneType
ERROR 2017-09-03 21:53:20,511 NoneType
ERROR 2017-09-03 21:56:23,769 NoneType
ERROR 2017-09-03 22:01:49,712 NoneType
ERROR 2017-09-04 20:56:05,836 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-09-04 20:56:05,849 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-09-04 20:56:12,196 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-09-04 20:56:12,201 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /project not found
ERROR 2017-09-04 20:56:22,610 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-09-04 20:56:22,612 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-09-04 20:57:33,862 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-09-04 20:57:33,866 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /project not found
ERROR 2017-09-04 20:58:13,887 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-09-04 20:58:13,892 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-09-04 20:59:04,675 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-09-04 20:59:12,362 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /doc not found
ERROR 2017-09-04 20:59:24,674 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-09-04 20:59:24,676 Traceback (most recent call last):
File "/home/jason/.local/lib/python3.5/site-packages/sanic/app.py", line 461, in handle_request
handler, args, kwargs, uri = self.router.get(request)
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 290, in get
return self._get(request.path, request.method, '')
File "/home/jason/.local/lib/python3.5/site-packages/sanic/router.py", line 339, in _get
raise NotFound('Requested URL {} not found'.format(url))
sanic.exceptions.NotFound: Requested URL /news not found
ERROR 2017-09-11 17:02:39,349 add_soft:参数缺失或不规范
ERROR 2017-09-11 17:03:39,706 NoneType
ERROR 2017-09-11 17:03:57,855 add_soft:参数缺失或不规范
ERROR 2017-09-11 17:06:40,419 NoneType
ERROR 2017-09-11 19:05:33,779 Valid:OpenStack无响应
ERROR 2017-09-11 19:10:44,374 Valid:OpenStack无响应
ERROR 2017-09-11 19:11:45,403 初始化环境中断![admin]
ERROR 2017-09-11 19:12:45,265 NoneType
ERROR 2017-09-17 10:36:27,654 update_role:参数缺失或不规范
ERROR 2017-09-17 10:37:18,902 update_role:参数缺失或不规范
ERROR 2017-09-17 10:37:46,051 update_role:参数缺失或不规范
ERROR 2017-09-17 10:38:30,057 checkrole:用户组用户检查成功![id=11]
ERROR 2017-09-17 10:39:30,123 NoneType
ERROR 2017-09-17 21:10:55,003 delete_user:OpenStack交互失败!
ERROR 2017-09-17 21:11:41,023 delete_user:OpenStack交互失败!
ERROR 2017-09-17 21:11:51,386 delete_user:OpenStack交互失败!
ERROR 2017-09-17 21:12:41,335 delete_user:OpenStack交互失败!
ERROR 2017-09-17 21:13:29,472 delete_user:OpenStack交互失败!
ERROR 2017-09-17 21:14:29,472 NoneType
ERROR 2017-09-17 21:14:33,632 delete_user:OpenStack交互失败!
ERROR 2017-09-17 21:15:33,632 NoneType
ERROR 2017-09-17 21:25:45,067 delete_user:OpenStack交互失败!
ERROR 2017-09-17 21:26:43,506 delete_user:OpenStack交互失败!
ERROR 2017-09-17 21:27:32,096 delete_user:OpenStack交互失败!
ERROR 2017-09-17 21:28:31,781 NoneType
ERROR 2017-09-17 21:30:36,288 Traceback (most recent call last):
File "/home/jason/Code/backend8.24X/db_support.py", line 139, in db_delete
await conn.execute(sql)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/utils.py", line 66, in __await__
resp = yield from self._coro
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/sa/connection.py", line 107, in _execute
yield from cursor.execute(str(compiled), post_processed_params[0])
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 239, in execute
yield from self._query(query)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/cursors.py", line 460, in _query
yield from conn.query(q)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 398, in query
yield from self._read_query_result(unbuffered=unbuffered)
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 582, in _read_query_result
yield from result.read()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 835, in read
first_packet = yield from self.connection._read_packet()
File "/home/jason/.local/lib/python3.5/site-packages/aiomysql/connection.py", line 552, in _read_packet
packet.check_error()
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/connections.py", line 393, in check_error
err.raise_mysql_exception(self._data)
File "/home/jason/.local/lib/python3.5/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.IntegrityError: (1451, 'Cannot delete or update a parent row: a foreign key constraint fails (`hit_vep_v4`.`subnet`, CONSTRAINT `subnet_ibfk_2` FOREIGN KEY (`user`) REFERENCES `user` (`id`))')
During handling of the above exception, another exception occurred: