Package: python-iptables Version: 0.11.0-2 Severity: serious Justification: required
Dear Maintainer: The python-iptables library did not work on my Debian 9. The problem occured likes the following transcript: -------------- Terminal Output -------------------------------------- <0> [anthony@debian-lmde ~] $ python Python 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import iptc Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/iptc/__init__.py", line 10, in <module> from iptc.ip4tc import (is_table_available, Table, Chain, Rule, Match, Target, File "/usr/lib/python2.7/dist-packages/iptc/ip4tc.py", line 13, in <module> from .xtables import (XT_INV_PROTO, NFPROTO_IPV4, XTablesError, xtables, File "/usr/lib/python2.7/dist-packages/iptc/xtables.py", line 711, in <module> _throw = _lib_xtwrapper.throw_exception AttributeError: 'NoneType' object has no attribute 'throw_exception' >>> exit() --------------- End of terminal output ------------------------------ The problem occurs when importing the library and invokes traceback, but the traceback message did not works on me. Hope for early solved. Here is my system information below: -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-iptables depends on: ii libc6 2.24-9 ii python 2.7.13-2 pn python:any <none> python-iptables recommends no packages. Versions of packages python-iptables suggests: pn python-iptables-doc <none> -- no debconf information