-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError: list index out of range #11
Comments
I updated from 1.1.6 to 1.1.8 but I got another error with the same code:
|
FWIW: I've got the same Traceback with upnp 1.1.8. The traceback occurs immediatly, so not after discovering stuff.
No problem with CLI tool mini-upnnc and with python module https://github.com/flyte/upnpclient. And yes, there is UPnP IGD on my network: my Internet gateway. |
I think this project is dead bro |
Looks like it, bro: last commit Aug 15, 2020 ... |
I try to scan my home network with:
upnp = upnpy.UPnP()
upnp.discover()
But I get the error:
Traceback (most recent call last):
File "D:\Programming\WongoMessenger\wongoIM.pyw", line 15, in
upnp.discover()
File "D:\Programming\WongoMessenger\upnpy\upnp\UPnP.py", line 33, in discover
for device in self.ssdp.m_search(discover_delay=delay, st='upnp:rootdevice', **headers):
File "D:\Programming\WongoMessenger\upnpy\ssdp\SSDPRequest.py", line 50, in m_search
devices = self._send_request(self._get_raw_request())
File "D:\Programming\WongoMessenger\upnpy\ssdp\SSDPRequest.py", line 100, in _send_request
device = SSDPDevice(addr, response.decode())
File "D:\Programming\WongoMessenger\upnpy\ssdp\SSDPDevice.py", line 87, in init
self._get_services_request()
File "D:\Programming\WongoMessenger\upnpy\ssdp\SSDPDevice.py", line 23, in wrapper
return func(device, *args, **kwargs)
File "D:\Programming\WongoMessenger\upnpy\ssdp\SSDPDevice.py", line 54, in wrapper
return func(instance, *args, **kwargs)
File "D:\Programming\WongoMessenger\upnpy\ssdp\SSDPDevice.py", line 173, in _get_services_request
device_services[parsed_service_id] = self.Service(
File "D:\Programming\WongoMessenger\upnpy\ssdp\SSDPDevice.py", line 259, in init
self._get_actions_request()
File "D:\Programming\WongoMessenger\upnpy\ssdp\SSDPDevice.py", line 39, in wrapper
return func(service, *args, **kwargs)
File "D:\Programming\WongoMessenger\upnpy\ssdp\SSDPDevice.py", line 331, in _get_actions_request
argument_name = argument.getElementsByTagName('name')[0].firstChild.nodeValue
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: