kootenpv / whereami

Uses WiFi signals :signal_strength: and machine learning to predict where you are
GNU Affero General Public License v3.0
5.1k stars 247 forks source link

nmcl: could not creat nmclient object #13

Closed DeastinY closed 7 years ago

DeastinY commented 7 years ago

[ric@thinkfat ~]$ whereami learn -l esszimmer -n 100 0%| | 0/100 00:00<?, ?it/s: nmcli-CRITICAL **: Error: Could not create NMClient object: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist

Traceback (most recent call last): File "/usr/bin/whereami", line 11, in sys.exit(main()) File "/usr/lib/python3.5/site-packages/whereami/main.py", line 37, in main learn(args.location, args.num_samples) File "/usr/lib/python3.5/site-packages/whereami/learn.py", line 22, in learn new_sample = sample() File "/usr/lib/python3.5/site-packages/whereami/get_data.py", line 14, in sample aps = wifi_scanner.get_access_points() File "/usr/lib/python3.5/site-packages/access_points/init.py", line 67, in get_access_points results = self.parse_output(out) File "/usr/lib/python3.5/site-packages/access_points/init.py", line 200, in parse_output ssid, bssid, quality, security = split_escaped(line, ':') ValueError: not enough values to unpack (expected 4, got 1)

DeastinY commented 7 years ago

I figured out that (obviously) nmci works with NetworkManager. I masked that :smile: Will be looking into alternatives :)

DeastinY commented 7 years ago

Opened issue in https://github.com/kootenpv/access_points