Basic functions with PyWiFi.intefaces not working. (Python 2.7.12 - Win 10)
See original GitHub issueI am on Windows10 with python 2.7.12
`>>> wifi.interfaces()[0].scan()
wifi.interfaces()[0].scan_results <bound method Interface.scan_results of <pywifi.iface.Interface instance at 0x0313CAF8>> wifi.interfaces()[0].scan_results() Traceback (most recent call last): File “<stdin>”, line 1, in <module> File “C:\Python27\lib\site-packages\pywifi\iface.py”, line 39, in scan_results return wifiutils.scan_results(self.__raw_obj) File “C:\Python27\lib\site-packages\pywifi\win\wifiutils.py”, line 30, in scan_results network[‘ssid’] += “%c” % bsses[i].dot11Ssid.ucSSID[j] IndexError: string index out of range wifi.interfaces()[0].status <bound method Interface.status of <pywifi.iface.Interface instance at 0x0313CAF8>> wifi.interfaces()[0].status() Traceback (most recent call last): File “<stdin>”, line 1, in <module> File “C:\Python27\lib\site-packages\pywifi\iface.py”, line 74, in status return wifiutils.status(self.__raw_obj) File “C:\Python27\lib\site-packages\pywifi\win\wifiutils.py”, line 186, in status data = wifiapi.PDWORD() AttributeError: ‘module’ object has no attribute ‘PDWORD’`
is the error.
Issue Analytics
- State:
- Created 7 years ago
- Comments:23 (7 by maintainers)
Top GitHub Comments
I’m mostly use py2 because that’s what most people use. (Like even most professionals use it over py3)
On Oct 6, 2016 11:13 AM, “Awk” notifications@github.com wrote:
Okay. So this can be closed now. 😃