FeLiNa22/Amazon-Alexa-As-LG-TV-Remote

No handlers could be found for logger "ws4py"

ribeirocctv opened this issue · 1 comments

After I say YES on the TV I got the error

$ sudo python setup.py
timed out
timed out
timed out
timed out
{
"count": 0,
"result": "failed"
}
Enter IP of TV : '192.168.1.68'
No handlers could be found for logger "ws4py"
{"closing": {"reason": "Going away", "code": 1006}}
Traceback (most recent call last):
File "setup.py", line 10, in
lgtv.LGparser(['listChannels'])
File "/home/ribeiro/amazon-alexa-lg-tv-master/lgtv.py", line 113, in LGparser
ws.connect()
File "/home/ribeiro/.local/lib/python2.7/site-packages/ws4py/client/init.py", line 217, in connect
self.sock.connect(self.bind_addr)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused
$

Already resolved.
I was using a vm with nat. change to bridge and everything works.
thanks a lot