-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wifi-users.py : Error getting wireless interface #13
Comments
Hi, I'm getting similar errors, too (on macOS 10.12.2 and Python 2.7.12).
|
Similar, but not the same. @spiritphyz I would theorize that there are nearby wifi networks whose names have non-ascii characters. |
It looks like this is a bug in Wireless and it would be great if you could submit an issue in that repo. I think @tbodt is correct, and that this is a bug with non-ASCII characters being evaluated by this regex https://github.com/joshvillbrandt/wireless/blob/master/wireless/Wireless.py#L70 If you could paste the name of your current wireless network here, it would probably help in debugging the issue. You can probably get the wireless name from Network Settings, but if not you can also use this in the Terminal:
|
i'm in france so there's likely some accentuated network nearby, i'll try to do your check later edit : |
@tbodt @kylemcdonald Awesome! You guys are totally right -- my home WiFi network has non-ASCII Emoji in the network name:
I don't have any problems with Unicode in the network name because all our devices are iOS or Mac, and the network name is displayed correctly during discovery. Is it easy to change the regex to include Unicode? |
It's not a problem with the regex, it's a problem with the bare |
@sheepdestroyer your problem is also a problem with Wireless, but a different one. the version of nmcli has a hyphen in it which breaks the version detection. |
I think I have the simple problem with this following error |
The text was updated successfully, but these errors were encountered: