Kismon / kismon

A GUI client for kismet
BSD 3-Clause "New" or "Revised" License
106 stars 20 forks source link

TypeError: list indices must be integers or slices, not dict #16

Closed tranzmatt closed 4 years ago

tranzmatt commented 4 years ago

Another variant of #14 seems to be around. I ran "make test" and got the following:

0:16:30,494 INFO [networks.py:71] saving 4 networks to /tmp/networks-1582902990.json /usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import fnmatch, glob, traceback, errno, sys, atexit, locale, imp Traceback (most recent call last): File "/home/matt/Code/SDR/Kismet/kismon/kismon/core.py", line 326, in queues_handler_networks self.queue_handler_networks(server_id) File "/home/matt/Code/SDR/Kismet/kismon/kismon/core.py", line 297, in queue_handler_networks self.networks.add_device_data(device, server_id) File "/home/matt/Code/SDR/Kismet/kismon/kismon/networks.py", line 268, in add_device_data new_ssid = ssid_map[key]['dot11.advertisedssid.ssid'] TypeError: list indices must be integers or slices, not dict 10:16:30,702 DEBUG [map.py:368] marker 11:22:33:44:55:66 not found