kootenpv/access_points

invalid literal for int() with base 10: '-- R'

YJack0000 opened this issue · 8 comments

I get the following error while using whereami.

invalid literal for int() with base 10: '-- R'
Line:
不要亂改網路名稱 -76 6,-1 Y -- RSN(PSK/AES/AES)
Output:
SSID BSSID RSSI CHANNEL HT CC SECURITY (auth/unicast/group)
HuaB5 -92 40 Y -- RSN(PSK/AES/AES)
不要亂改網路名稱 -76 6,-1 Y -- RSN(PSK/AES/AES)

[{"ssid": "HuaB5", "bssid": "", "quality": 16, "security": "RSN(PSK/AES/AES) "}]

Hmmm, what OS is it?

Is macOS 13.1

Could you verify that this is still the case:

>>> import platform
>>> platform.system()
"Darwin"

Also check that airport -s works...

And finally, did you try running sudo whereami?

Oh I see - the problem is that the chinese characters don't work with indexing

Do you know how we can change it so that chinese characters line up with the ending of SSID?

Ok~ I think I can fix this but I'm not very familiar with python. So it might take some time to fix this.