Traceback (most recent call last):


 "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/icloud.py", line 315, in keep_alive

self.update_device(devicename)


 "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/icloud.py", line 368, in update_device

for device in self.api.devices:


 "/usr/local/lib/python3.4/dist-packages/pyicloud/base.py", line 270, in devices

self.params


 "/usr/local/lib/python3.4/dist-packages/pyicloud/services/findmyiphone.py", line 28, in __init__

self.refresh_client()


 "/usr/local/lib/python3.4/dist-packages/pyicloud/services/findmyiphone.py", line 49, in refresh_client

self.response = req.json()


 "/usr/local/lib/python3.4/dist-packages/requests/models.py", line 866, in json

return complexjson.loads(self.text, **kwargs)


 "/usr/lib/python3.4/json/__init__.py", line 318, in loads

return _default_decoder.decode(s)


 "/usr/lib/python3.4/json/decoder.py", line 343, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end())


 "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode

raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)

Traceback (most recent call last):


 "test.py", line 48, in <module>

model, loss, accuracy = devol.run(dataset, num_generations, population_size, num_epochs)


 "/home/<user>/projects/devol/devol.py", line 107, in run

return self.genome_handler.decode_best(self.datafile)


 "/home/<user>/projects/devol/genome_handler.py", line 217, in decode_best

return self.decode(self.best_genome(csv_path, metric, False))


 "/home/<user>/projects/devol/genome_handler.py", line 209, in best_genome

row = list(data[:, col]).index(best(data[:, col]))
ValueError: nan is not in list