Description of problem: dwscan aborts with a traceback when run, which makes it unusable. Version-Release number of selected component (if applicable): dwscan-0.2-3.fc11 How reproducible: Always Steps to Reproduce: 1. run dwscan Actual results: Traceback (most recent call last): File "/usr/sbin/dwscan", line 214, in <module> scanresults = ifobj.scan() File "/usr/lib/python2.6/site-packages/pythonwifi/iwlibs.py", line 410, in scan return iwscan.scan() File "/usr/lib/python2.6/site-packages/pythonwifi/iwlibs.py", line 970, in scan result = self.getScan() File "/usr/lib/python2.6/site-packages/pythonwifi/iwlibs.py", line 1022, in getScan self.aplist = self._parse(buff.tostring()) File "/usr/lib/python2.6/site-packages/pythonwifi/iwlibs.py", line 1056, in _parse data[pythonwifi.flags.IW_EV_LCP_LEN:length]) File "/usr/lib/python2.6/site-packages/pythonwifi/iwlibs.py", line 1121, in addEvent self.frequency = Iwfreq(data) File "/usr/lib/python2.6/site-packages/pythonwifi/iwlibs.py", line 577, in __init__ self.frequency = self.parse(data) File "/usr/lib/python2.6/site-packages/pythonwifi/iwlibs.py", line 594, in parse return float(m)*10**e OverflowError: long int too large to convert to float
On my Fedora 11 i386 system dwscan is working as expected. I will try to reproduce your traceback on a x86_64 machine.
It seems that this error occurs only on x86_64. Dominik, did you get this traceback on a i386 system?
The only 32bit machine that I have available has F-10 installed, so this is what dwscan-0.2-3.fc10 says: $ dwscan Cmd: 35845 Cmd: 35845 Cmd: 35845 getScan failure 1 Operation not permitted If I run it as root, I get: # dwscan Cmd: 35845 Cmd: 35845 Cmd: 35845 Traceback (most recent call last): File "/usr/sbin/dwscan", line 220, in <module> beacon = int(re.match('.*Last beacon: ([0-9]+)ms ago', result.custom[0]).group(1)) IndexError: list index out of range
Any progress? As it is, the application is unusable.
There is a new release of python-wifi on the way. There is a small chance that this will fix some issues because dwscan makes heavy use of python-wifi which is more or less only a wrapper for the Linux Wireless Extensions. The maintainer of dwscan has no intention to work further on it. For him dwscan was only a test case. With atheros based hardware it works fine but there are confirmed problems with newer Intel wireless hardware.