python-sdbus / python-sdbus-networkmanager

python-sdbus binds for NetworkManager
GNU Lesser General Public License v2.1
30 stars 6 forks source link

Exception has occurred: KeyError 'security' #46

Closed zhanglongqi closed 1 year ago

zhanglongqi commented 1 year ago

I tried list-connections-async.py and list-connections.py. both of them have the same issue.

image

igo95862 commented 1 year ago

Hello,

I can replicate this when trying to parse a Wifi Access Point parameters. Apparently it has a deprecated key security. My setting generation algorithm simply removes any setting that has a deprecated in its description. I will have to modify that.

igo95862 commented 1 year ago

Should be fixed with 457949f745db8a45f81ac9e9970e45905c416bdc