What steps will reproduce the problem?
1. from multiprocessing import Queue
2. outqueue = Queue()
3. Process packets in a pcap, identify a UDP DNS packet.
4. dns = dpkt.dns.DNS(udp.data)
5. outqueue.put(dns)
What is the expected output? What do you see instead?
Expected: Expect data to be pickled and placed in the queue.
Actual Results:
file '/usr/local/lib/python2.6/multiprocessing/queues.py', line 242, in _feed
send(obj)
PicklingError: Can't pickle <class dpkt.dns.RR>: attribute lookup dpkt.dns.RR
failed
What version of the product are you using? On what operating system?
dpkt1.7
python2.6
Redhat5
Original issue reported on code.google.com by Airman.P...@gmail.com on 20 Jul 2011 at 8:55
Original issue reported on code.google.com by
Airman.P...@gmail.com
on 20 Jul 2011 at 8:55