[Bug 217867] [BUG] net/py-eventlet 0.20.1: AttributeError: 'module' object has no attribute 'EAI_NODATA'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 17 13:38:57 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217867
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 at FreeBSD.org
Reporter: alexander.nusov at nfvexpress.com
Assignee: cs at FreeBSD.org
Flags: maintainer-feedback?(cs at FreeBSD.org)
The latest update of eventlet library has bug with exception handling.
> EAI_NODATA_ERROR = socket.gaierror(socket.EAI_NODATA, 'No address associated 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 at 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", line
6, in <module>
from eventlet.green import socket
File "/usr/local/lib/python2.7/site-packages/eventlet/green/socket.py", line
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 = socket.gaierror(socket.EAI_NODATA, 'No address
associated with hostname')
AttributeError: 'module' object has no attribute 'EAI_NODATA'
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list