OSError illegal IP address string passed to inet_atonDuring handling of the above exception another exception occurredsocketgaierror Errno -2 Name or service not knownFileNotFoundError Errno 2 No such
这段代码出现了多个异常。第一个异常是OSError,表示传递给inet_aton的IP地址字符串不合法。第二个异常是socket.gaierror,表示无法解析主机名或服务名。最后一个异常是FileNotFoundError,表示找不到名为“arp_attack_logs.txt”的文件或目录。可能是因为代码中使用了错误的IP地址或主机名,或者文件或目录不存在。
原文地址: https://www.cveoy.top/t/topic/fjzm 著作权归作者所有。请勿转载和采集!