Traceback (most recent call last):


 "/var/mycodo-root/mycodo/mycodo_daemon.py", line 481, in controller_activate

ready, cont_id)


 "/var/mycodo-root/mycodo/controller_input.py", line 321, in __init__

self.measure_input = MHZ16Sensor(self.input_dev)


 "/var/mycodo-root/mycodo/inputs/mh_z16.py", line 45, in __init__

self.i2c_address = int(str(input_dev.location), 16)
ValueError: invalid literal for int() with base 16: 'Tx/Rx'

Traceback (most recent call last):


 "/usr/share/jython/Lib/site-packages/pip/basecommand.py", line 215, in main

status = self.run(options, args)


 "/usr/share/jython/Lib/site-packages/pip/commands/install.py", line 324, in run

requirement_set.prepare_files(finder)


 "/usr/share/jython/Lib/site-packages/pip/commands/install.py", line 324, in run

requirement_set.prepare_files(finder)


 "/usr/share/jython/Lib/site-packages/pip/req/req_set.py", line 376, in prepare_files

discovered_reqs.extend(self._prepare_file(


 "/usr/share/jython/Lib/site-packages/pip/req/req_set.py", line 376, in prepare_files

discovered_reqs.extend(self._prepare_file(


 "/usr/share/jython/Lib/site-packages/pip/req/req_set.py", line 617, in _prepare_file

unpack_url(


 "/usr/share/jython/Lib/site-packages/pip/req/req_set.py", line 617, in _prepare_file

unpack_url(


 "/usr/share/jython/Lib/site-packages/pip/download.py", line 816, in unpack_url

unpack_http_url(


 "/usr/share/jython/Lib/site-packages/pip/download.py", line 656, in unpack_http_url

from_path, content_type = _download_http_url(link,


 "/usr/share/jython/Lib/site-packages/pip/download.py", line 831, in _download_http_url

resp = session.get(


 "/usr/share/jython/Lib/site-packages/pip/download.py", line 831, in _download_http_url

resp = session.get(


 "/usr/share/jython/Lib/site-packages/pip/_vendor/requests/sessions.py", line 521, in get

return self.request('GET', url, **kwargs)


 "/usr/share/jython/Lib/site-packages/pip/download.py", line 386, in request

return super(PipSession, self).request(method, url, *args, **kwargs)


 "/usr/share/jython/Lib/site-packages/pip/_vendor/requests/sessions.py", line 508, in request

resp = self.send(prep, **send_kwargs)


 "/usr/share/jython/Lib/site-packages/pip/_vendor/requests/sessions.py", line 618, in send

r = adapter.send(request, **kwargs)


 "/usr/share/jython/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py", line 47, in send

resp = super(CacheControlAdapter, self).send(request, **kw)


 "/usr/share/jython/Lib/site-packages/pip/_vendor/requests/adapters.py", line 430, in send

resp = conn.urlopen(


 "/usr/share/jython/Lib/site-packages/pip/_vendor/requests/adapters.py", line 430, in send

resp = conn.urlopen(


 "/usr/share/jython/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py", line 589, in urlopen

conn = self._get_conn(timeout=pool_timeout)


 "/usr/share/jython/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py", line 589, in urlopen

conn = self._get_conn(timeout=pool_timeout)


 "/usr/share/jython/Lib/site-packages/pip/_vendor/urllib3/connectionpool.py", line 242, in _get_conn

if conn and is_connection_dropped(conn):


 "/usr/share/jython/Lib/site-packages/pip/_vendor/urllib3/util/connection.py", line 27, in is_connection_dropped

return bool(wait_for_read(sock, timeout=0.0))


 "/usr/share/jython/Lib/site-packages/pip/_vendor/urllib3/util/connection.py", line 27, in is_connection_dropped

return bool(wait_for_read(sock, timeout=0.0))


 "/usr/share/jython/Lib/site-packages/pip/_vendor/urllib3/util/wait.py", line 33, in wait_for_read

return _wait_for_io_events(socks, EVENT_READ, timeout)


 "/usr/share/jython/Lib/site-packages/pip/_vendor/urllib3/util/wait.py", line 24, in _wait_for_io_events

selector.register(sock, events)


 "/usr/share/jython/Lib/site-packages/pip/_vendor/urllib3/util/selectors.py", line 344, in register

key = super(PollSelector, self).register(fileobj, events, data)


 "/usr/share/jython/Lib/site-packages/pip/_vendor/urllib3/util/selectors.py", line 197, in register

key = SelectorKey(fileobj, self._fileobj_lookup(fileobj), events, data)


 "/usr/share/jython/Lib/site-packages/pip/_vendor/urllib3/util/selectors.py", line 181, in _fileobj_lookup

return _fileobj_to_fd(fileobj)


 "/usr/share/jython/Lib/site-packages/pip/_vendor/urllib3/util/selectors.py", line 50, in _fileobj_to_fd

raise ValueError("Invalid file object: {0!r}".format(fileobj))
ValueError: Invalid file object: <ssl.SSLSocket object at 0x1a4>
