You can close this bug. See Bug#580555 for resolution. --- On Thu, 5/6/10, Pierre Chifflier <chiffl...@edenwall.com> wrote:
> From: Pierre Chifflier <chiffl...@edenwall.com> > Subject: Re: Bug#580554: nfqueue-bindings-python: None of the examples work > To: "mpapet" <mpa...@yahoo.com>, 580...@bugs.debian.org > Date: Thursday, May 6, 2010, 2:12 PM > On Thu, May 06, 2010 at 12:47:08PM > -0700, mpapet wrote: > > Package: nfqueue-bindings-python > > Severity: important > > > > > > python examples/example.py > > open > > bind > > Traceback (most recent call last): > > File "examples/example.py", line 41, > in <module> > > q.bind(AF_INET); > > File "build/python/nfqueue.py", line > 93, in bind > > def bind(self, *args): return > _nfqueue.queue_bind(self, *args) > > TypeError: in method 'queue_bind', argument 2 of type > 'int' > > > > Hi, > > First of all please don't report the same problem multiple > times, this > only makes helping you harder. > > The same example works here: > # python2.6 examples/example.py > open > bind > setting callback > creating queue > trying to run > > So here are a few things to check: > - are you running the example as root ? It is required to > be able to > bind to the nfnetlink socket > - is the nfnetlink_queue module loaded ? > - have you started another program on the same queue ID ? > You can check > this using cat /proc/net/netfilter/nf_queue > > Regards, > Pierre > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org