AttributeError: 'Cell' object has no attribute 'ssid'
Closed this issue · 5 comments
When running the wifi
command, I intermittently get this error:
% wifi
Traceback (most recent call last):
File "/usr/local/bin/wifi", line 202, in <module>
args.func(args)
File "/usr/local/bin/wifi", line 51, in scan_command
print_table([[cell.signal, cell.ssid, 'protected' if cell.encrypted else 'unprotected'] for cell in Cell.all(args.interface)])
AttributeError: 'Cell' object has no attribute 'ssid'
I suspect there's a wireless network in my environment which doesn't broadcast SSID, or something, which causes this particular failure.
Hi!
Thanks for the bug report. Just to confirm, can you send me the output of
iwlist wlan0 scan
please?
Thanks!
-rocky
On Sat, Jan 16, 2016 at 10:49 AM, Tessa Lau notifications@github.com
wrote:
When running the wifi command, I intermittently get this error:
% wifi
Traceback (most recent call last):
File "/usr/local/bin/wifi", line 202, in
args.func(args)
File "/usr/local/bin/wifi", line 51, in scan_command
print_table([[cell.signal, cell.ssid, 'protected' if cell.encrypted else 'unprotected'] for cell in Cell.all(args.interface)])
AttributeError: 'Cell' object has no attribute 'ssid'I suspect there's a wireless network in my environment which doesn't
broadcast SSID, or something, which causes this particular failure.—
Reply to this email directly or view it on GitHub
#86.
Here you go:
Hi, I just merged a fix into master, do you want to try it out?
Yep, that fixes it. Thanks!