Bug 651817 - error while running dwscan
Summary: error while running dwscan
Keywords:
Status: CLOSED DUPLICATE of bug 607318
Alias: None
Product: Fedora
Classification: Fedora
Component: dwscan
Version: 14
Hardware: Unspecified
OS: Linux
low
medium
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-10 11:29 UTC by Danishka Navin
Modified: 2010-11-18 11:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-18 11:32:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Danishka Navin 2010-11-10 11:29:59 UTC
Description of problem:

use 'dwscan' command as root

got following error

Traceback (most recent call last):
  File "/usr/sbin/dwscan", line 163, in <module>
    stats, quality, discard, missed_beacon = ifobj.getStatistics()
  File "/usr/lib/python2.7/site-packages/pythonwifi/iwlibs.py", line 666, in getStatistics
    iwstats = Iwstats(self.ifname)
  File "/usr/lib/python2.7/site-packages/pythonwifi/iwlibs.py", line 1119, in __init__
    self.update()
  File "/usr/lib/python2.7/site-packages/pythonwifi/iwlibs.py", line 1130, in update
    data=s)
  File "/usr/lib/python2.7/site-packages/pythonwifi/iwlibs.py", line 1023, in iw_get_ext
    result = self._fcntl(request, ifreq)
  File "/usr/lib/python2.7/site-packages/pythonwifi/iwlibs.py", line 1010, in _fcntl
    return fcntl.ioctl(self.sockfd.fileno(), request, args)
IOError: [Errno 95] Operation not supported



tail /var/log/messages
Nov 10 16:59:44 localhost abrtd: New crash /var/spool/abrt/pyhook-1289388584-10752, processing
Nov 10 16:59:44 localhost abrtd: Registered Action plugin 'RunApp'
Nov 10 16:59:44 localhost abrtd: RunApp('/var/spool/abrt/pyhook-1289388584-10752','test x"`cat component`" = x"xorg-x11-server-Xorg" && cp /var/log/Xorg.0.log .')
Nov 10 17:00:16 localhost dwscan: abrt: detected unhandled Python exception in /usr/sbin/dwscan
Nov 10 17:00:16 localhost abrtd: dumpsocket: New client connected
Nov 10 17:00:16 localhost abrtd: dumpsocket: Saved Python crash dump of pid 10839 to /var/spool/abrt/pyhook-1289388616-10839
Nov 10 17:00:16 localhost abrtd: Directory 'pyhook-1289388616-10839' creation detected
Nov 10 17:00:17 localhost abrtd: New crash /var/spool/abrt/pyhook-1289388616-10839, processing
Nov 10 17:00:17 localhost abrtd: RunApp('/var/spool/abrt/pyhook-1289388616-10839','test x"`cat component`" = x"xorg-x11-server-Xorg" && cp /var/log/Xorg.0.log .')
Nov 10 17:00:17 localhost abrtd: dumpsocket: Socket client disconnected


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. yum install dwscan
2. run dwscan as root
3.
  
Actual results:


Expected results:


Additional info:

tested on both i386 and x86_64

Comment 1 Fabian Affolter 2010-11-18 11:32:28 UTC

*** This bug has been marked as a duplicate of bug 607318 ***


Note You need to log in before you can comment on or make changes to this bug.