This is a Python index error. Easy to Google. You are trying to retrieve the contents of index "1" in the list of DeviceConfigurations, but there is no item with index "1", so the error is raised. Try reading index "0" instead. If that also fails, the list is empty, meaning that there are no DeviceConfiguration objects saved in the data file that you read.