Skip to content

Instantly share code, notes, and snippets.

@jhaubrich
Created October 18, 2012 20:47
Show Gist options
  • Save jhaubrich/3914618 to your computer and use it in GitHub Desktop.
Save jhaubrich/3914618 to your computer and use it in GitHub Desktop.
Another Traceback (qsize fixed)
pcaptools/pcap_parser [ ./read_feed.py -i test/example_seqn_bad.pcap --enable-reclogs master * ] 3:41 PM
INFO: Tool started at 2012-10-18 20:46:06.962011U.
Please do not close this window
Process frame_retriever:
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/Users/jhau/Dropbox/src/pcaptools/pcap_parser/frameRetriever.py", line 121, in GFIN_getFrames
fd.loop(GFIN_queueWaasFrames, frame_info_q)
File "pcap.pyx", line 323, in pcap.pcap.loop
AttributeError: queue instance has no __call__ method
INFO: terminating frame_retriever
@amattheisen
Copy link

The pcap.so module you are using has has a different loop() function. Source with compatible loop() function is available here: https://launchpad.net/ubuntu/oneiric/+source/python-pypcap/1.1.2+debian-2ubuntu3/+files/python-pypcap_1.1.2+debian.orig.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment