Traceback (most recent call last):


 "/usr/lib/python3.6/socketserver.py", line 651, in process_request_thread

self.finish_request(request, client_address)


 "/usr/lib/python3.6/socketserver.py", line 361, in finish_request

self.RequestHandlerClass(request, client_address, self)


 "/usr/lib/python3.6/socketserver.py", line 721, in __init__

self.handle()


 "/usr/lib/python3.6/http/server.py", line 418, in handle

self.handle_one_request()


 "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request

method()


 "prometheus_client/exposition.py", line 146, in do_GET

output = encoder(registry)


 "prometheus_client/exposition.py", line 119, in generate_latest

output.append(sample_line(s))


 "/opt/lg5commander/.venv/lib/python3.6/site-packages/prometheus_client/exposition.py", line 86, in sample_line

s.name, labelstr, floatToGoString(s.value), timestamp)


 "test.py", line 8, in floatToGoString

d = float(d)
TypeError: float() argument must be a string or a number, not 'NoneType'

Traceback (most recent call last):


 "cloudflair.py", line 3, in <module>

import dns_utils


 "/root/Desktop/CloudFlair/dns_utils.py", line 1, in <module>

import dns.resolver
ImportError: No module named 'dns'
