Traceback (most recent call last):


 "cansina.py", line 215, in <module>

print("Reaped %s entries" % (len(robots_content)))
TypeError: object of type 'NoneType' has no len()

Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/scapy/compat.py", line 117, in raw

return bytes(x)


 "/usr/local/lib/python3.6/dist-packages/scapy/packet.py", line 441, in __bytes__

return self.build()


 "/usr/local/lib/python3.6/dist-packages/scapy/packet.py", line 556, in build

p = self.do_build()


 "/usr/local/lib/python3.6/dist-packages/scapy/packet.py", line 541, in do_build

pay = self.do_build_payload()


 "/usr/local/lib/python3.6/dist-packages/scapy/packet.py", line 528, in do_build_payload

return self.payload.do_build()


 "/usr/local/lib/python3.6/dist-packages/scapy/packet.py", line 538, in do_build

pkt = self.self_build()


 "/usr/local/lib/python3.6/dist-packages/scapy/packet.py", line 519, in self_build

p = f.addfield(self, p, val)


 "/usr/local/lib/python3.6/dist-packages/scapy/fields.py", line 134, in addfield

return s + struct.pack(self.fmt, self.i2m(pkt, val))


 "/usr/local/lib/python3.6/dist-packages/scapy/fields.py", line 1314, in i2m

f = fld.i2len(pkt, fval)


 "/usr/local/lib/python3.6/dist-packages/scapy/fields.py", line 343, in i2len

return self._find_fld_pkt_val(pkt, val).i2len(pkt, val)


 "/usr/local/lib/python3.6/dist-packages/scapy/fields.py", line 884, in i2len

return len(i)
TypeError: object of type 'NoneType' has no len()
