Traceback (most recent call last):


 "/ws/kartgane-bgl/pyATS/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2895, in _run_cell

return runner(coro)


 "/ws/kartgane-bgl/pyATS/lib/python3.6/site-packages/IPython/core/async_helpers.py", line 68, in _pseudo_sync_runner

coro.send(None)


 "/ws/kartgane-bgl/pyATS/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3072, in run_cell_async

interactivity=interactivity, compiler=compiler, result=result)


 "/ws/kartgane-bgl/pyATS/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3282, in run_ast_nodes

self.showtraceback()


 "/ws/kartgane-bgl/pyATS/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2047, in showtraceback

value, tb, tb_offset=tb_offset)


 "/ws/kartgane-bgl/pyATS/lib/python3.6/site-packages/IPython/core/ultratb.py", line 1436, in structured_traceback

self, etype, value, tb, tb_offset, number_of_lines_of_context)


 "/ws/kartgane-bgl/pyATS/lib/python3.6/site-packages/IPython/core/ultratb.py", line 1336, in structured_traceback

self, etype, value, tb, tb_offset, number_of_lines_of_context


 "/ws/kartgane-bgl/pyATS/lib/python3.6/site-packages/IPython/core/ultratb.py", line 1193, in structured_traceback

tb_offset)


 "/ws/kartgane-bgl/pyATS/lib/python3.6/site-packages/IPython/core/ultratb.py", line 1147, in format_exception_as_a_whole

records = self.get_records(etb, number_of_lines_of_context, tb_offset)


 "/ws/kartgane-bgl/pyATS/lib/python3.6/site-packages/IPython/core/ultratb.py", line 1183, in get_records

inspect_error()


 "/ws/kartgane-bgl/pyATS/lib/python3.6/site-packages/IPython/core/ultratb.py", line 152, in inspect_error

error('Internal Python error in the inspect module.\n'


 "/auto/pysw/cel7x/python64/3.6.4/lib/python3.6/logging/__init__.py", line 1867, in error

root.error(msg, *args, **kwargs)


 "/auto/pysw/cel7x/python64/3.6.4/lib/python3.6/logging/__init__.py", line 1335, in error

self._log(ERROR, msg, args, **kwargs)


 "/auto/pysw/cel7x/python64/3.6.4/lib/python3.6/logging/__init__.py", line 1430, in _log

fn, lno, func, sinfo = self.findCaller(stack_info)


 "/auto/pysw/cel7x/python64/3.6.4/lib/python3.6/logging/__init__.py", line 1387, in findCaller

filename = os.path.normcase(co.co_filename)
AttributeError: 'str' object has no attribute 'normcase'

Traceback (most recent call last):


 "/patroni/patronictl.py", line 5, in <module>

ctl(None)


 "/usr/lib/python2.7/site-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/usr/lib/python2.7/site-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/usr/lib/python2.7/site-packages/click/core.py", line 1137, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/usr/lib/python2.7/site-packages/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/lib/python2.7/site-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/usr/lib/python2.7/site-packages/click/decorators.py", line 27, in new_func

return f(get_current_context().obj, *args, **kwargs)


 "/patroni/patroni/ctl.py", line 814, in members

output_members(cluster, cluster_name, extended, fmt)


 "/patroni/patroni/ctl.py", line 723, in output_members

append_port = any(str(m.conn_kwargs()['port']) != '5432' for m in cluster.members) or\


 "/patroni/patroni/ctl.py", line 723, in <genexpr>

append_port = any(str(m.conn_kwargs()['port']) != '5432' for m in cluster.members) or\


 "/patroni/patroni/dcs/__init__.py", line 155, in conn_kwargs

r = urlparse(self.conn_url)


 "/usr/lib64/python2.7/urlparse.py", line 142, in urlparse

tuple = urlsplit(url, scheme, allow_fragments)


 "/usr/lib64/python2.7/urlparse.py", line 196, in urlsplit

i = url.find(':')
AttributeError: 'NoneType' object has no attribute 'find'
