Traceback (most recent call last):


 "/usr/local/bin/scrapyd-deploy", line 292, in <module>

main()


 "/usr/local/bin/scrapyd-deploy", line 81, in main

projects = json.loads(f.read())['projects']


 "/usr/lib/python3.4/json/__init__.py", line 312, in loads

s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

Traceback (most recent call last):


 "<console>", line 1, in <module>


 "scapy/base_classes.py", line 252, in __call__

i.__init__(*args, **kargs)


 "scapy/packet.py", line 138, in __init__

self.dissect(_pkt)


 "scapy/packet.py", line 806, in dissect

s = self.do_dissect(s)


 "scapy/asn1packet.py", line 33, in do_dissect

return self.ASN1_root.dissect(self, x)


 "scapy/asn1fields.py", line 378, in dissect

_, x = self.m2i(pkt, s)


 "scapy/asn1fields.py", line 370, in m2i

s = obj.dissect(pkt, s)


 "scapy/asn1fields.py", line 138, in dissect

v, s = self.m2i(pkt, s)


 "scapy/asn1fields.py", line 549, in m2i

return self.extract_packet(choice, s)


 "scapy/asn1fields.py", line 122, in extract_packet

c = cls(s)


 "scapy/base_classes.py", line 252, in __call__

i.__init__(*args, **kargs)


 "scapy/packet.py", line 138, in __init__

self.dissect(_pkt)


 "scapy/packet.py", line 806, in dissect

s = self.do_dissect(s)


 "scapy/asn1packet.py", line 33, in do_dissect

return self.ASN1_root.dissect(self, x)


 "scapy/asn1fields.py", line 378, in dissect

_, x = self.m2i(pkt, s)


 "scapy/asn1fields.py", line 370, in m2i

s = obj.dissect(pkt, s)


 "scapy/asn1fields.py", line 138, in dissect

v, s = self.m2i(pkt, s)


 "scapy/asn1fields.py", line 101, in m2i

return codec.dec(s, context=self.context)


 "scapy/asn1/ber.py", line 266, in dec

return cls.do_dec(s, context, safe)


 "scapy/asn1/ber.py", line 319, in do_dec

l, s, t = cls.check_type_check_len(s)


 "scapy/asn1/ber.py", line 243, in check_type_check_len

l, s3 = cls.check_type_get_len(s)


 "scapy/asn1/ber.py", line 235, in check_type_get_len

s2 = cls.check_type(s)


 "scapy/asn1/ber.py", line 228, in check_type

if cls.tag != tag:
TypeError: int.__cmp__(x,y) requires y to be a 'int', not a 'long'
