Open willyd opened 2 years ago
This line is causing the error: https://github.com/roscisz/TensorHive/blob/master/tensorhive/core/services/UsageLoggingService.py#L237 Would it make sense to change it to:
# gpu_data = infrastructure[hostname].get('GPU').get(uuid)
gpu_data = infrastructure[hostname].get('GPU', {}).get(uuid)
?
NoneType object has not attribute get
Tensorhive works great but I get the error messages below on every startup. Everything seems to work fine. Is this something I should worry about?
Your environment
List relevant info:
Steps to reproduce
Expected behaviour
No Error messages
Actual behaviour
Error messages corresponding to attribute error on NoneType object.