Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203557 - bug in net-analyzer/scapy-1.1.1 (fix included)
Summary: bug in net-analyzer/scapy-1.1.1 (fix included)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High major (vote)
Assignee: Andrea Barisani (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-28 13:04 UTC by Stefan Behte (RETIRED)
Modified: 2008-01-30 17:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Behte (RETIRED) gentoo-dev Security 2007-12-28 13:04:41 UTC
I was using a scapy example and it said:

ERROR: Error during evaluation of config file [None]
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/scapy.py", line 12183, in read_config_file
    execfile(configfile)
TypeError: execfile() argument 1 must be string, not None
Traceback (most recent call last):
  File "./s.py", line 11, in ?
    ans, unans=srp( Ether(dst="ff:ff:ff:ff:ff:ff") /ARP(pdst=sys.argv[1]) ,timeout=2)
  File "/usr/lib/python2.4/site-packages/scapy.py", line 9530, in srp
    a,b,c=sndrcv(conf.L2socket(iface=iface, filter=filter, nofilter=nofilter, type=type),x,*args,**kargs)
  File "/usr/lib/python2.4/site-packages/scapy.py", line 8929, in __init__
    self.ins.bind((iface, type))
  File "<string>", line 1, in bind
KeyboardInterrupt

I found this: http://permalink.gmane.org/gmane.comp.security.scapy.general/1792

So you need to: "touch $HOME/.scapy_startup.py" or it won't work.
Should be included in the ebuild!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-28 13:26:13 UTC
Eh... `touch $HOME/.scapy_startup.py` certainly can't be included in the ebuild...
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-01-30 17:13:18 UTC
Thank you for report, Craig. This bug is fixed in scapy-1.1.1-r1. FIXED.