gnikol / P4-Wireshark-Dissector

This repository contains the Wireshark dissector generator from a P4 file input.
Apache License 2.0
14 stars 6 forks source link

Update main.py argument parser so that it knows which arguments are required #5

Closed gnikol closed 8 years ago

gnikol commented 8 years ago

Right now it is crashing:

python dissector/main.py Traceback (most recent call last): File "dissector/main.py", line 34, in absolute_source = os.path.abspath(p4_source.name) AttributeError: 'NoneType' object has no attribute 'name'