Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2017 13:38:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217867] [BUG] net/py-eventlet 0.20.1: AttributeError: 'module' object has no attribute 'EAI_NODATA'
Message-ID:  <bug-217867-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217867

            Bug ID: 217867
           Summary: [BUG] net/py-eventlet 0.20.1: AttributeError: 'module'
                    object has no attribute 'EAI_NODATA'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cs@FreeBSD.org
          Reporter: alexander.nusov@nfvexpress.com
          Assignee: cs@FreeBSD.org
             Flags: maintainer-feedback?(cs@FreeBSD.org)

The latest update of eventlet library has bug with exception handling.

> EAI_NODATA_ERROR =3D socket.gaierror(socket.EAI_NODATA, 'No address assoc=
iated with hostname')

EAI_NODATA was deprected in 2003 in RFC3493
https://lists.freebsd.org/pipermail/freebsd-ports/2003-October/005757.html

Steps to reproduce
1. install net/py-eventlet
2. python -m eventlet

Log
root@express:~ # python2.7 -m eventlet
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/runpy.py", line 163, in _run_module_as_main
    mod_name, _Error)
  File "/usr/local/lib/python2.7/runpy.py", line 111, in _get_module_details
    __import__(mod_name)  # Do not catch exceptions initializing package
  File "/usr/local/lib/python2.7/site-packages/eventlet/__init__.py", line =
10,
in <module>
    from eventlet import convenience
  File "/usr/local/lib/python2.7/site-packages/eventlet/convenience.py", li=
ne
6, in <module>
    from eventlet.green import socket
  File "/usr/local/lib/python2.7/site-packages/eventlet/green/socket.py", l=
ine
28, in <module>
    from eventlet.support import greendns
  File "/usr/local/lib/python2.7/site-packages/eventlet/support/greendns.py=
",
line 82, in <module>
    EAI_NODATA_ERROR =3D socket.gaierror(socket.EAI_NODATA, 'No address
associated with hostname')
AttributeError: 'module' object has no attribute 'EAI_NODATA'

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217867-13>