Closed greghesp closed 1 year ago
Hi,
i have the same exception on a Windows system and no devices are discovere? Have you solved?
Thx Alessandro
The complete message I receive is:
Exception in callback _ProactorDatagramTransport._loop_reading()
handle: <Handle _ProactorDatagramTransport._loop_reading()>
Traceback (most recent call last):
File "C:\Python39\lib\asyncio\proactor_events.py", line 566, in _loop_reading
self._read_fut = self._loop._proactor.recvfrom(self._sock,
File "C:\Python39\lib\asyncio\windows_events.py", line 494, in recvfrom
ov.WSARecvFrom(conn.fileno(), nbytes, flags)
OSError: [WinError 10022] Argomento fornito non valido
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Python39\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Python39\lib\asyncio\proactor_events.py", line 569, in _loop_reading
self._protocol.error_received(exc)
File "C:\Python39\lib\site-packages\ssdp\__init__.py", line 177, in error_received
raise IOError("Unexpected connection error") from exc
OSError: Unexpected connection error
Hi there,
The latest version, v1.2 fixes many issues concerning Windows. You can try the new CLI to verify that it's working on your system. The new documentation should also help you to implement a working solution.
Cheers! Joe
I'm not a too knowledgeable with python at the moment, however I noticed that when running the request example, the following error is returned