Error trying to run the example

Help
2004-04-11
2004-04-26
  • Hi there...

    When I try to run the example I get this error message:

    Traceback (most recent call last):
      File "./pylibpcap.py", line 73, in ?
        p.open_live(dev, 1600, 0, 100)
      File "/usr/lib/python2.2/site-packages/pcap.py", line 55, in open_live
        def open_live(*args): return apply(pcapc.pcapObject_open_live,args)
    pcapc.EXCEPTION: [Errno 1] pcap_open_live

    I did the same installation in other machine and thi does not happen, so I guess it's some problem with some dependence... Can you please help me on this?

    Best regards,
    Mind Booster Noori

     
    • Wim Lewis
      Wim Lewis
      2004-04-26

      it looks like the pylibpcap wrapper for pcap_open_live doesn't pass back the error message if open_live fails for some reason ... I will look into fixing that