You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
running oftests on linux with python2.7 is giving this error :
Traceback (most recent call last):
File "/usr/local/bin/oftest/tests/basic.py", line 94, in runTest
self.dataplane.send(of_port, str(pkt))
File "/usr/local/bin/oftest/src/python/oftest/dataplane.py", line 250, in send
bytes = self.ports[port_number].send(packet)
File "/usr/local/bin/oftest/src/python/oftest/dataplane.py", line 132, in send
return self.pcap.inject(packet, len(packet))
AttributeError: 'pcap.pcap' object has no attribute 'inject'
i am using python2.7 with pycap1.1
how can i fix this ?? can someone help here .
thanks
Original issue reported on code.google.com by feras....@gmail.com on 7 Oct 2013 at 2:34
The text was updated successfully, but these errors were encountered:
I had the same problem, and I resolved by uninstalling the the pcap libraries
from pip as well as from apt. Then I installed new python-pcap.
$sudo apt-get install python-pypcap
It worked for me.
Original comment by subh.sin...@gmail.com on 24 Mar 2014 at 4:53
Original issue reported on code.google.com by
feras....@gmail.com
on 7 Oct 2013 at 2:34The text was updated successfully, but these errors were encountered: