-
Notifications
You must be signed in to change notification settings - Fork 45
Doesn't work #2
Comments
Can you tell me which version of python you are using? |
That line is clearly wrong, you can try to replace it (and all the similar dbg lines) to: I will push the code when I have the time. Your problem is not coming from this line but at least you will see the error message. |
I'm having the same issues: Traceback (most recent call last): File "alexa-tv.py", line 49, in I tried changing that line of code you suggested, efpe, and it seemed to move forward but my echo could never mind the server... |
If it makes any difference I'm using a mac with python version 2.7 |
I receive too this error, anyone knows how to solve it? Traceback (most recent call last): |
dbg("Failed to initialize UPnP sockets:",e) Same error over here. It was working before. Now it is not. What happened? |
I use this line instead: dbg("Failed to initialize UPnP sockets: {}".format(e)) I get this DEBUG:root:Failed to initialize UPnP sockets: dbg() takes exactly 1 argument (2 given) But all the others running. |
i got the same, did you ever work out what was wrong |
DEBUG:root:Failed to initialize UPnP sockets: dbg() takes exactly 1 argument (2 given) |
Hi efpe, Thanks for the code! I got this running but it just enters in the loop but does not listen to any request. DEBUG:root:Listening for UPnP broadcasts |
I remember the code was running normally and suddenly stopped working. Let me know if anyone figures it out. |
bringing this old thread up again. I have the script running but after DEBUG:root:Entering fauxmo polling loop nothing happens. Also, the script pulls my laptops IP. shouldnt it be pulling the echos IP? |
Same error here. Did you get it fixed? |
Hello anyone ever find a way I changed to dbg("Failed to initialize UPnP sockets: {}".format(e))" and it does allow polling, but does not recognize the items: DEBUG:root:UPnP broadcast listener: new device registered part of my code that calls scripts: 224 if data.find('1') != -1: I have tried on several different trigger words: lights, icom, flex, modem etc. Alexa response: lights isn't responding, please check its network connection and power supply. Maybe not finding self name? is it any longer passed? As the python code does seem to poll right past my requests. Python 2.7.13 may have upgraded to this version on apt update, unsure, but most likely. |
amazon-alexa-lg-tv submitter$ python alexa-tv.py
Traceback (most recent call last):
File "alexa-tv.py", line 49, in
u.init_socket()
File "/Users/submitter/amazon-alexa-lg-tv/fauxmo.py", line 300, in init_socket
dbg("Failed to initialize UPnP sockets:",e)
TypeError: dbg() takes exactly 1 argument (2 given)
The text was updated successfully, but these errors were encountered: