Skip to content

no matching handler #50

Open
Open
@pszumelda

Description

@pszumelda

I am writing some pcap reader

from pypacker import ppcap

for ts, buf in preader:
    cache.manager(buf, ts)

Unfortunatelly for some pcaps I am getting

Traceback (most recent call last):
  File "C:/Users/p001/PycharmProjects/pyprobe/pcapreader.py", line 20, in <module>
    preader = ppcap.Reader(filename="ez.pcap")
  File "C:\Python\Python3.7.3\lib\site-packages\pypacker\ppcap.py", line 305, in __init__
    super().__init__(filename, PcapHandler.MODE_READ, **initdata)
  File "C:\Python\Python3.7.3\lib\site-packages\pypacker\ppcap.py", line 239, in __init__
    raise Exception("no matching handler found")
Exception: no matching handler found

Thanks,
Pawe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions