Open gvanem opened 1 year ago
Thanks for filing this bug. I've never actually tested on Windows so I'll need to fire this up and try. Can you tell me a little bit more about the Python environment you've setup on Windows, and which version of Windows?
Thanks, -g
On Sat, Jan 28, 2023 at 4:07 AM Gisle Vanem @.***> wrote:
This seems like a cool project, but I'm not sure about the Windows support. Since for any configuration, I get this error:
.... File "F:\gv\Python310\lib\site-packages\pytak\client_functions.py", line 80, in create_udp_client reader = await dgbind((host, port)) File "F:\gv\Python310\lib\site-packages\pytak\asyncio_dgram\aio.py", line 238, in bind transport, protocol = await loop.create_datagram_endpoint( File "F:\gv\Python310\lib\asyncio\base_events.py", line 1371, in create_datagram_endpoint raise exceptions[0] File "F:\gv\Python310\lib\asyncio\base_events.py", line 1355, in create_datagram_endpoint sock.bind(local_address)OSError: [WinError 10049] Cannot assign requested address.
10049 == WSAEADDRNOTAVAIL. Ref: https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2
With some added trace, I see the address in pytak/asyncio_dgram/aio.py is ('239.2.3.1', 6969) and family == 0 (AF_UNSPEC).
Even after adding COT_URL = udp://239.255.255.250:6969 to my config.ini, it fails.
— Reply to this email directly, view it on GitHub https://github.com/ampledata/adsbcot/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAWIXXECULCGIHKNPZMP5DWUUDYXANCNFSM6AAAAAAUJTQFCA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Greg Albrecht @.***> W2GMD EMT & ICT Specialist Signal: +1-310-621-9598 https://ampledata.org/ http://ampledata.org/ https://github.com/ampledata
Can you tell me a little bit more about the Python environment you've setup on Windows, and which version of Windows?
I'm using CPython 3.11 (for x64) on Windows-10.
I'm not sure about this error with udp://239.255.255.250:6969
. Seems invalid as a local address. How does this work on Linux (?)
This seems like a cool project, but I'm not sure about the Windows support. Since for any configuration, I get this error:
10049 == WSAEADDRNOTAVAIL
. Ref: https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2With some added trace, I see the address in
pytak/asyncio_dgram/aio.py
is('239.2.3.1', 6969)
and family == 0 (AF_UNSPEC
).Even after adding
COT_URL = udp://239.255.255.250:6969
to myconfig.ini
, it fails.