NLADC / dissector

Software responsible for extracting DDoS Fingerprints from traffic captures.
GNU Affero General Public License v3.0
64 stars 27 forks source link

TypeError: expected str, bytes or os.PathLike object, not NoneType #33

Closed ArriW closed 3 years ago

ArriW commented 4 years ago

I am unsure how to fix this error.

  ./ddos_dissector.py -f pcap_samples/sample1.pcap --summary,

 Loading network file: `pcap_samples/sample1.pcap' ▁CRITICAL - Tshark software not found
 Exception in thread process:
 Traceback (most recent call last):
 File ...
 ...

TypeError: expected str, bytes or os.PathLike object, not NoneType
 Loading network file: `pcap_samples/sample1.pcap' ▁ 
nhomble commented 4 years ago

The program is analyzing pcap files so the assumption is that tshark is downloaded and on your PATH. While I had wireshark locally, it turns out I had to manually append my path (windows).

https://github.com/ddos-clearing-house/ddos_dissector/pull/34

joaoceron commented 3 years ago

Thanks @nhomble , I'll address this in the next release.

Sorry for the delay. I appreciate your comment.

joaoceron commented 3 years ago

Done