Conchylicultor/DeepQA

unable to connect the localhost by using redis

Opened this issue · 0 comments

C:\Users\xxxx\Desktop\Chat-with-Joey-master\chatbot_website>python manage.py runserver 0.0.0.0:8888
Initializing bot...
Welcome to DeepQA v0.1 !

TensorFlow detected: v0.12.0

Warning: Restoring parameters:
globStep: 1250
maxLength: 5
watsonMode: False
autoEncode: False
corpus: lightweight
datasetTag: friends
hiddenSize: 2048
numLayers: 2
embeddingSize: 256
initEmbeddings: False
softmaxSamples: 0

Loading dataset from C:\Users\xxxx\Desktop\Chat-with-Joey-master\chatbot_website\data/samples/...
Loaded lightweight: 5163 words, 12379 QA
Model creation...
Initialize variables...
WARNING: Restoring previous model from C:\Users\xxxx\Desktop\Chat-with-Joey-master\chatbot_website\save/model-server\model.ckpt
Daemon mode, running in background...
Performing system checks...

System check identified no issues (0 silenced).
July 14, 2018 - 17:14:15
Django version 2.0.7, using settings 'chatbot_website.settings'
Starting ASGI/Channels version 2.1.2 development server at http://0.0.0.0:8888/
Quit the server with CTRL-BREAK.
2018-07-14 17:14:16,027 - INFO - server - HTTP/2 support not enabled (install the http2 and tls Twisted extras)
2018-07-14 17:14:16,028 - INFO - server - Configuring endpoint tcp:port=8888:interface=0.0.0.0
2018-07-14 17:14:16,032 - INFO - server - Listening on TCP address 0.0.0.0:8888
2018-07-14 17:16:24,947 - ERROR - http_protocol - Traceback (most recent call last):
File "C:\Python35\lib\site-packages\daphne\http_protocol.py", line 160, in process
"server": self.server_addr,
File "C:\Python35\lib\site-packages\twisted\internet\defer.py", line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "C:\Python35\lib\site-packages\twisted\python\failure.py", line 422, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "C:\Python35\lib\site-packages\daphne\server.py", line 186, in create_application
application_instance = yield deferToThread(self.application, scope=scope)
File "C:\Python35\lib\site-packages\twisted\python\threadpool.py", line 250, in inContext
result = inContext.theWork()
File "C:\Python35\lib\site-packages\twisted\python\threadpool.py", line 266, in
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "C:\Python35\lib\site-packages\twisted\python\context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "C:\Python35\lib\site-packages\twisted\python\context.py", line 85, in callWithContext
return func(*args,**kw)
File "C:\Python35\lib\site-packages\channels\staticfiles.py", line 41, in call
return self.application(scope)
TypeError: call() missing 1 required positional argument: 'start_response'

[2018/07/14 17:16:24] HTTP GET / 500 [0.47, 127.0.0.1:50805]
2018-07-14 17:16:25,113 - ERROR - http_protocol - Traceback (most recent call last):
File "C:\Python35\lib\site-packages\daphne\http_protocol.py", line 160, in process
"server": self.server_addr,
File "C:\Python35\lib\site-packages\twisted\internet\defer.py", line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "C:\Python35\lib\site-packages\twisted\python\failure.py", line 422, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "C:\Python35\lib\site-packages\daphne\server.py", line 186, in create_application
application_instance = yield deferToThread(self.application, scope=scope)
File "C:\Python35\lib\site-packages\twisted\python\threadpool.py", line 250, in inContext
result = inContext.theWork()
File "C:\Python35\lib\site-packages\twisted\python\threadpool.py", line 266, in
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "C:\Python35\lib\site-packages\twisted\python\context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "C:\Python35\lib\site-packages\twisted\python\context.py", line 85, in callWithContext
return func(*args,**kw)
File "C:\Python35\lib\site-packages\channels\staticfiles.py", line 41, in call
return self.application(scope)
TypeError: call() missing 1 required positional argument: 'start_response'

[2018/07/14 17:16:25] HTTP GET /favicon.ico 500 [0.01, 127.0.0.1:50805]

regis is set to port 8888
Microsoft Windows [Version 10.0.17134.137]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\xxxx>redis-server --port 8888
.
.-__ ''-._ _.- . . ''-._ Redis 3.0.504 (00000000/0) 64 bit
.- .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.-.|'_.-'| Port: 8888 | -. ._ / _.-' | PID: 1488 -._ -._ -./ .-' .-'
|-._-.
-.__.-' _.-'_.-'| | -.
-._ _.-'_.-' | http://redis.io -._ -._-..-'.-' .-'
|-._-.
-.__.-' _.-'_.-'| | -.
-._ _.-'_.-' | -._ -._-.
.-'_.-' _.-'
-._ -..-' _.-'
-._ _.-' -.
.-'

[1488] 14 Jul 17:15:50.366 # Server started, Redis version 3.0.504
[1488] 14 Jul 17:15:50.368 * The server is now ready to accept connections on port 8888