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

Reply via email to