/
alphapython.log
executable file
·2834 lines (2817 loc) · 183 KB
/
alphapython.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
WARNING Not Found: /favicon.ico
WARNING Not Found: /favicon.ico
WARNING Not Found: /favicon.ico
ERROR Internal Server Error: /dashboard/channels/
Traceback (most recent call last):
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/base.py", line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "./dashboard/views.py", line 33, in dispatch
return super(ProfileView, self).dispatch(request, *args, **kwargs)
TypeError: super(type, obj): obj must be an instance or subtype of type
ERROR Internal Server Error: /dashboard/channels/
Traceback (most recent call last):
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/base.py", line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "./dashboard/views.py", line 33, in dispatch
return super(ChannelView, self).dispatch(request, *args, **kwargs)
TypeError: super(type, obj): obj must be an instance or subtype of type
WARNING Not Found: /dashboard/channels/inbox.html
WARNING Not Found: /favicon.ico
WARNING Not Found: /favicon.ico
WARNING Not Found: /favicon.ico
ERROR Internal Server Error: /dashboard/channels/
Traceback (most recent call last):
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 475, in parse
compile_func = self.tags[command]
KeyError: 'static'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/base.py", line 158, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/base.py", line 156, in _get_response
response = response.render()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/response.py", line 106, in render
self.content = self.rendered_content
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/response.py", line 83, in rendered_content
content = template.render(context, self._request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/backends/django.py", line 61, in render
return self.template.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 175, in render
return self._render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 167, in _render
return self.nodelist.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 943, in render
bit = node.render_annotated(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 910, in render_annotated
return self.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/loader_tags.py", line 155, in render
return compiled_parent._render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 167, in _render
return self.nodelist.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 943, in render
bit = node.render_annotated(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 910, in render_annotated
return self.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/loader_tags.py", line 67, in render
result = block.nodelist.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 943, in render
bit = node.render_annotated(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 910, in render_annotated
return self.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/loader_tags.py", line 182, in render
template = context.template.engine.get_template(template_name)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/engine.py", line 144, in get_template
template, origin = self.find_template(template_name)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/engine.py", line 126, in find_template
template = loader.get_template(name, skip=skip)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/loaders/base.py", line 30, in get_template
contents, origin, origin.template_name, self.engine,
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 160, in __init__
self.nodelist = self.compile_nodelist()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 198, in compile_nodelist
return parser.parse()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 477, in parse
self.invalid_block_tag(token, command, parse_until)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 539, in invalid_block_tag
"or load this tag?" % (token.lineno, command)
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 2: 'static'. Did you forget to register or load this tag?
ERROR Internal Server Error: /dashboard/channels/
Traceback (most recent call last):
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/backends/django.py", line 61, in render
return self.template.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 175, in render
return self._render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 167, in _render
return self.nodelist.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 943, in render
bit = node.render_annotated(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 910, in render_annotated
return self.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/loader_tags.py", line 155, in render
return compiled_parent._render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 167, in _render
return self.nodelist.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 943, in render
bit = node.render_annotated(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 910, in render_annotated
return self.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/loader_tags.py", line 67, in render
result = block.nodelist.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 943, in render
bit = node.render_annotated(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/base.py", line 910, in render_annotated
return self.render(context)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/loader_tags.py", line 182, in render
template = context.template.engine.get_template(template_name)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/engine.py", line 144, in get_template
template, origin = self.find_template(template_name)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/engine.py", line 130, in find_template
raise TemplateDoesNotExist(name, tried=tried)
django.template.exceptions.TemplateDoesNotExist: dashboard/inc/footeralpha.html
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/base.py", line 158, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/base.py", line 156, in _get_response
response = response.render()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/response.py", line 106, in render
self.content = self.rendered_content
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/response.py", line 83, in rendered_content
content = template.render(context, self._request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/backends/django.py", line 63, in render
reraise(exc, self.backend)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/template/backends/django.py", line 84, in reraise
raise new from exc
django.template.exceptions.TemplateDoesNotExist: dashboard/inc/footeralpha.html
WARNING Not Found: /favicon.ico
INFO HTTP/2 support not enabled (install the http2 and tls Twisted extras)
INFO Using busy-loop synchronous mode on channel layer
INFO Listening on endpoint tcp:port=8000:interface=127.0.0.1
ERROR Error trying to receive messages: Error 111 connecting to localhost:6379. Connection refused.
ERROR Error trying to receive messages: Error 111 connecting to localhost:6379. Connection refused.
INFO HTTP/2 support not enabled (install the http2 and tls Twisted extras)
INFO Using busy-loop synchronous mode on channel layer
INFO Listening on endpoint tcp:port=8000:interface=127.0.0.1
INFO HTTP/2 support not enabled (install the http2 and tls Twisted extras)
INFO Using busy-loop synchronous mode on channel layer
INFO Listening on endpoint tcp:port=8000:interface=127.0.0.1
ERROR Internal Server Error: /dashboard/channels/
Traceback (most recent call last):
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/contrib/sessions/backends/base.py", line 191, in _get_session
return self._session_cache
AttributeError: 'SessionStore' object has no attribute '_session_cache'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/pymysql/connections.py", line 920, in connect
**kwargs)
File "/usr/lib/python3.5/socket.py", line 693, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.5/socket.py", line 732, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
self.connect()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/base/base.py", line 194, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/mysql/base.py", line 236, in get_new_connection
return Database.connect(**conn_params)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/pymysql/__init__.py", line 90, in Connect
return Connection(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/pymysql/connections.py", line 699, in __init__
self.connect()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/pymysql/connections.py", line 967, in connect
raise exc
pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'alphalive.cvb8cqc2yslc.us-west-2.rds.amazonaws.com' ([Errno -3] Temporary failure in name resolution)")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/base.py", line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/core/handlers/base.py", line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "./dashboard/views.py", line 31, in dispatch
if not request.user.is_authenticated:
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/utils/functional.py", line 215, in inner
self._setup()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/utils/functional.py", line 349, in _setup
self._wrapped = self._setupfunc()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/contrib/auth/middleware.py", line 24, in <lambda>
request.user = SimpleLazyObject(lambda: get_user(request))
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/contrib/auth/middleware.py", line 12, in get_user
request._cached_user = auth.get_user(request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/contrib/auth/__init__.py", line 211, in get_user
user_id = _get_user_session_key(request)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/contrib/auth/__init__.py", line 61, in _get_user_session_key
return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/contrib/sessions/backends/base.py", line 55, in __getitem__
return self._session[key]
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/contrib/sessions/backends/base.py", line 196, in _get_session
self._session_cache = self.load()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/contrib/sessions/backends/db.py", line 34, in load
expire_date__gt=timezone.now()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/query.py", line 397, in get
num = len(clone)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/query.py", line 254, in __len__
self._fetch_all()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/query.py", line 1179, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/query.py", line 53, in __iter__
results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/sql/compiler.py", line 1053, in execute_sql
sql, params = self.as_sql()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/sql/compiler.py", line 459, in as_sql
where, w_params = self.compile(self.where) if self.where is not None else ("", [])
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/sql/compiler.py", line 391, in compile
sql, params = node.as_sql(self, self.connection)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/sql/where.py", line 80, in as_sql
sql, params = compiler.compile(child)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/sql/compiler.py", line 391, in compile
sql, params = node.as_sql(self, self.connection)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/lookups.py", line 160, in as_sql
lhs_sql, params = self.process_lhs(compiler, connection)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/lookups.py", line 153, in process_lhs
db_type = self.lhs.output_field.db_type(connection=connection)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/models/fields/__init__.py", line 648, in db_type
return connection.data_types[self.get_internal_type()] % data
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/utils/functional.py", line 36, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/mysql/base.py", line 133, in data_types
if self.features.supports_microsecond_precision:
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/utils/functional.py", line 36, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/mysql/features.py", line 65, in supports_microsecond_precision
return self.connection.mysql_version >= (5, 6, 4)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/utils/functional.py", line 36, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/mysql/base.py", line 345, in mysql_version
with self.temporary_connection() as cursor:
File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
return next(self.gen)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/base/base.py", line 576, in temporary_connection
cursor = self.cursor()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/base/base.py", line 255, in cursor
return self._cursor()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/base/base.py", line 232, in _cursor
self.ensure_connection()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
self.connect()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/utils.py", line 89, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/base/base.py", line 216, in ensure_connection
self.connect()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/base/base.py", line 194, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/django/db/backends/mysql/base.py", line 236, in get_new_connection
return Database.connect(**conn_params)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/pymysql/__init__.py", line 90, in Connect
return Connection(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/pymysql/connections.py", line 699, in __init__
self.connect()
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/pymysql/connections.py", line 967, in connect
raise exc
django.db.utils.OperationalError: (2003, "Can't connect to MySQL server on 'alphalive.cvb8cqc2yslc.us-west-2.rds.amazonaws.com' ([Errno -3] Temporary failure in name resolution)")
WARNING Not Found: /verify/
DEBUG Using selector: EpollSelector
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
DEBUG Using selector: EpollSelector
INFO Starting server at tcp:port=8001:interface=127.0.0.1
INFO HTTP/2 support not enabled (install the http2 and tls Twisted extras)
INFO Configuring endpoint tcp:port=8001:interface=127.0.0.1
INFO Listening on TCP address 127.0.0.1:8001
DEBUG Upgraded connection ['127.0.0.1', 42298] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG WebSocket closed for ['127.0.0.1', 42298]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 42298] open and established
DEBUG WebSocket ['127.0.0.1', 42298] accepted by application
DEBUG Upgraded connection ['127.0.0.1', 42352] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 42352] open and established
DEBUG WebSocket ['127.0.0.1', 42352] accepted by application
DEBUG WebSocket incoming frame on ['127.0.0.1', 42352]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Sent WebSocket packet to client for ['127.0.0.1', 42298]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Sent WebSocket packet to client for ['127.0.0.1', 42352]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
WARNING Application instance <Task pending coro=<__call__() running at /home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py:54> wait_for=<Future pending cb=[Task._wakeup()]>> for connection <WebSocketProtocol client=['127.0.0.1', 42298] path=b'/chat/room1/'> took too long to shut down and was killed.
DEBUG WebSocket incoming frame on ['127.0.0.1', 42352]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Sent WebSocket packet to client for ['127.0.0.1', 42352]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
DEBUG WebSocket closed for ['127.0.0.1', 42352]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Cancelling waiter (<Future cancelled>, [None, None])
DEBUG Waiter future is already done <Future cancelled>
DEBUG Upgraded connection ['127.0.0.1', 52530] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG WebSocket closed for ['127.0.0.1', 52530]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 52530] open and established
DEBUG WebSocket ['127.0.0.1', 52530] accepted by application
DEBUG Upgraded connection ['127.0.0.1', 52586] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 52586] open and established
DEBUG WebSocket ['127.0.0.1', 52586] accepted by application
WARNING Application instance <Task pending coro=<__call__() running at /home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py:54> wait_for=<Future pending cb=[Task._wakeup()]>> for connection <WebSocketProtocol client=['127.0.0.1', 52530] path=b'/chat/room1/'> took too long to shut down and was killed.
DEBUG WebSocket incoming frame on ['127.0.0.1', 52586]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Sent WebSocket packet to client for ['127.0.0.1', 52586]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
WARNING Not Found: /dashboard/channels/dashboard/images/avatar1.png
INFO Killed 1 pending application instances
DEBUG Cancelling waiter (<Future cancelled>, [None, None])
DEBUG Waiter future is already done <Future cancelled>
DEBUG WebSocket closed for ['127.0.0.1', 52586]
INFO Starting server at tcp:port=8001:interface=127.0.0.1
INFO HTTP/2 support not enabled (install the http2 and tls Twisted extras)
INFO Configuring endpoint tcp:port=8001:interface=127.0.0.1
INFO Listening on TCP address 127.0.0.1:8001
DEBUG Upgraded connection ['127.0.0.1', 52920] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 52920]
DEBUG Upgraded connection ['127.0.0.1', 52998] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG WebSocket closed for ['127.0.0.1', 52998]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG Upgraded connection ['127.0.0.1', 53034] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 53034]
DEBUG Upgraded connection ['127.0.0.1', 53074] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 53074]
DEBUG Upgraded connection ['127.0.0.1', 53130] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 53130]
DEBUG Upgraded connection ['127.0.0.1', 53186] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 53186]
DEBUG Upgraded connection ['127.0.0.1', 53266] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 53266]
INFO Starting server at tcp:port=8001:interface=127.0.0.1
INFO HTTP/2 support not enabled (install the http2 and tls Twisted extras)
INFO Configuring endpoint tcp:port=8001:interface=127.0.0.1
INFO Listening on TCP address 127.0.0.1:8001
DEBUG Upgraded connection ['127.0.0.1', 53366] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG WebSocket closed for ['127.0.0.1', 53366]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG Upgraded connection ['127.0.0.1', 53406] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket closed for ['127.0.0.1', 53406]
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG Upgraded connection ['127.0.0.1', 53442] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 53442]
DEBUG Upgraded connection ['127.0.0.1', 53490] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 53490]
DEBUG HTTP b'GET' request for ['127.0.0.1', 53520]
WARNING Not Found: /chat/room1/
DEBUG HTTP 404 response started for ['127.0.0.1', 53520]
DEBUG HTTP close for ['127.0.0.1', 53520]
DEBUG HTTP response complete for ['127.0.0.1', 53520]
DEBUG Upgraded connection ['127.0.0.1', 53540] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 53540]
DEBUG Upgraded connection ['127.0.0.1', 53598] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 53598]
DEBUG Upgraded connection ['127.0.0.1', 53678] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.room_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 53678]
DEBUG Upgraded connection ['127.0.0.1', 53786] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
ERROR Exception inside application: 'ChatConsumer' object has no attribute 'room_name'
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 54, in __call__
await await_many_dispatch([receive, self.channel_receive], self.dispatch)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/utils.py", line 50, in await_many_dispatch
await dispatch(result)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 110, in __call__
return await asyncio.wait_for(future, timeout=None)
File "/usr/lib/python3.5/asyncio/tasks.py", line 373, in wait_for
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/db.py", line 13, in thread_handler
return super().thread_handler(loop, *args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/asgiref/sync.py", line 125, in thread_handler
return self.func(*args, **kwargs)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py", line 99, in dispatch
handler(message)
File "/home/kris/Env/alpha3/lib/python3.5/site-packages/channels/generic/websocket.py", line 32, in websocket_connect
self.connect()
File "./chat/consumers.py", line 9, in connect
self.channel_group_name = 'chat_%s' % self.channel_name
'ChatConsumer' object has no attribute 'room_name'
DEBUG WebSocket closed for ['127.0.0.1', 53786]
INFO Killed 0 pending application instances
INFO Starting server at tcp:port=8001:interface=127.0.0.1
INFO HTTP/2 support not enabled (install the http2 and tls Twisted extras)
INFO Configuring endpoint tcp:port=8001:interface=127.0.0.1
INFO Listening on TCP address 127.0.0.1:8001
DEBUG Upgraded connection ['127.0.0.1', 53956] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 53956] open and established
DEBUG WebSocket ['127.0.0.1', 53956] accepted by application
DEBUG WebSocket closed for ['127.0.0.1', 53956]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Cancelling waiter (<Future cancelled>, [None, None])
DEBUG Waiter future is already done <Future cancelled>
DEBUG Upgraded connection ['127.0.0.1', 54050] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 54050] open and established
DEBUG WebSocket ['127.0.0.1', 54050] accepted by application
DEBUG WebSocket closed for ['127.0.0.1', 54050]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Cancelling waiter (<Future cancelled>, [None, None])
DEBUG Waiter future is already done <Future cancelled>
DEBUG Upgraded connection ['127.0.0.1', 55220] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 55220] open and established
DEBUG WebSocket ['127.0.0.1', 55220] accepted by application
DEBUG WebSocket incoming frame on ['127.0.0.1', 55220]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
INFO Killed 1 pending application instances
DEBUG Cancelling waiter (<Future cancelled>, [None, None])
DEBUG Waiter future is already done <Future cancelled>
DEBUG WebSocket closed for ['127.0.0.1', 55220]
INFO Starting server at tcp:port=8001:interface=127.0.0.1
INFO HTTP/2 support not enabled (install the http2 and tls Twisted extras)
INFO Configuring endpoint tcp:port=8001:interface=127.0.0.1
INFO Listening on TCP address 127.0.0.1:8001
DEBUG Upgraded connection ['127.0.0.1', 55904] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 55904] open and established
DEBUG WebSocket ['127.0.0.1', 55904] accepted by application
DEBUG WebSocket closed for ['127.0.0.1', 55904]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Cancelling waiter (<Future cancelled>, [None, None])
DEBUG Waiter future is already done <Future cancelled>
DEBUG Upgraded connection ['127.0.0.1', 55990] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG WebSocket closed for ['127.0.0.1', 55990]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 55990] open and established
DEBUG WebSocket ['127.0.0.1', 55990] accepted by application
DEBUG Upgraded connection ['127.0.0.1', 56044] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 56044] open and established
DEBUG WebSocket ['127.0.0.1', 56044] accepted by application
DEBUG WebSocket incoming frame on ['127.0.0.1', 56044]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
WARNING Application instance <Task pending coro=<__call__() running at /home/kris/Env/alpha3/lib/python3.5/site-packages/channels/consumer.py:54> wait_for=<Future pending cb=[Task._wakeup()]>> for connection <WebSocketProtocol client=['127.0.0.1', 55990] path=b'/chat/room1/'> took too long to shut down and was killed.
DEBUG HTTP b'GET' request for ['127.0.0.1', 56342]
WARNING Not Found: /chat/room1/
DEBUG HTTP 404 response started for ['127.0.0.1', 56342]
DEBUG HTTP close for ['127.0.0.1', 56342]
DEBUG HTTP response complete for ['127.0.0.1', 56342]
DEBUG WebSocket incoming frame on ['127.0.0.1', 56044]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket closed for ['127.0.0.1', 56044]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Cancelling waiter (<Future cancelled>, [None, None])
DEBUG Waiter future is already done <Future cancelled>
DEBUG Upgraded connection ['127.0.0.1', 57820] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 57820] open and established
DEBUG WebSocket ['127.0.0.1', 57820] accepted by application
DEBUG WebSocket incoming frame on ['127.0.0.1', 57820]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket closed for ['127.0.0.1', 57820]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Cancelling waiter (<Future cancelled>, [None, None])
DEBUG Waiter future is already done <Future cancelled>
DEBUG Upgraded connection ['127.0.0.1', 34528] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG WebSocket closed for ['127.0.0.1', 34528]
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG Creating tcp connection to ('127.0.0.1', 6379)
DEBUG WebSocket ['127.0.0.1', 34528] open and established
DEBUG WebSocket ['127.0.0.1', 34528] accepted by application
DEBUG Upgraded connection ['127.0.0.1', 34586] to WebSocket
DEBUG Using selector: EpollSelector
DEBUG Creating tcp connection to ('127.0.0.1', 6379)