Skip to content

TypeError: 'NoneType' object is not iterable #9

@bingdidi

Description

@bingdidi

这是怎么回事呢,我用的是CICflow2019数据集的pcap文件
是在下述语句出错的:
for packet in packets:
key = (packet[0], packet[1], packet[2])
# Add packet to flow
result[key] = result.get(key, Flow()).add(packet,extention)
是说packets是空值,也就是说pcap文件读取没有成功,不知该如何解决

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