Date: Wed, 01 Nov 2017 06:09:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223359] security/py-fail2ban: after upgrade to 0.10.x, fail2ban no longer works with python 3 Message-ID: <bug-223359-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223359 Bug ID: 223359 Summary: security/py-fail2ban: after upgrade to 0.10.x, fail2ban no longer works with python 3 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: ari@stonepile.fi CC: theis@gmx.at CC: theis@gmx.at Flags: maintainer-feedback?(theis@gmx.at) Fail2ban port doesn't produce a working installation when using python 3.6. Attempt to start it results in following errors: Traceback (most recent call last): File "/usr/local/bin/fail2ban-client", line 34, in <module> from fail2ban.client.fail2banclient import exec_command_line, sys File "/usr/local/lib/python3.6/site-packages/fail2ban/client/fail2banclient.py", line 39, in <module> from ..server.utils import Utils File "/usr/local/lib/python3.6/site-packages/fail2ban/server/utils.py", l= ine 54, in <module> for name, num in signal.__dict__.iteritems() if name.startswith("SIG")) AttributeError: 'dict' object has no attribute 'iteritems' Older port using 0.9.x used to work just fine. There seems to be a fail2ban-2to3 script in fail2ban github, the port should probably run it if building with python 3. At least running it manua= lly over installed files makes things work again. --=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-223359-13>