Skip to content

RuntimeError: cannot convert sockaddr into Python object #269

Description

@mosquito
  • uvloop: 0.13.0
  • **Python **: Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 16:52:21)
  • Platform: MacOS
  • Can you reproduce the bug with PYTHONASYNCIODEBUG in env?: yes

After installing uvloop as an event-loop factory my UDP server implementation stops working.

Unhandled exception in event loop
Traceback (most recent call last):
  File "uvloop/handles/udp.pyx", line 335, in uvloop.loop.__uv_udp_on_receive
  File "uvloop/dns.pyx", line 63, in uvloop.loop.__convert_sockaddr_to_pyaddr
RuntimeError: cannot convert sockaddr into Python object

That's because __convert_sockaddr_to_pyaddr not compatibles af_unix socket family I guess.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions