
Comment: An exception occurred in this state: Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/salt/state.py", line 2154, in call

*cdata["args"], **cdata["kwargs"]


 "/usr/lib/python3.6/site-packages/salt/loader.py", line 2106, in wrapper

return f(*args, **kwargs)


 "/usr/lib/python3.6/site-packages/salt/states/influxdb_continuous_query.py", line 60, in present

database, name, query, resample_time, coverage_period


 "/usr/lib/python3.6/site-packages/salt/modules/influxdbmod.py", line 659, in create_continuous_query

client.query(query)


 "/root/.local/lib/python3.6/site-packages/influxdb/client.py", line 527, in query

expected_response_code=expected_response_code


 "/root/.local/lib/python3.6/site-packages/influxdb/client.py", line 378, in request

raise InfluxDBClientError(err_msg, response.status_code)

influxdb.exceptions.InfluxDBClientError: 400: Client sent an HTTP request to an HTTPS server.

Started: 16:59:27.937636

Traceback (most recent call last):

 "/usr/lib/python2.7/site-packages/wdb/ui.py", line 162, in loop
stop = self.interact()

 "/usr/lib/python2.7/site-packages/wdb/ui.py", line 199, in interact
rv = fun(data)

 "/usr/lib/python2.7/site-packages/wdb/ui.py", line 461, in do_break
brk['fn'], brk['lno'], brk['temporary'], brk['cond'], brk['fun'])

 "/usr/lib/python2.7/site-packages/wdb/__init__.py", line 392, in set_break
filename, lineno, temporary, cond, funcname)

 "/usr/lib/python2.7/site-packages/wdb/__init__.py", line 382, in get_break
return FunctionBreakpoint(filename, funcname, temporary)

 "/usr/lib/python2.7/site-packages/wdb/breakpoint.py", line 128, in __init__
file = file_from_import(file, function)

 "/usr/lib/python2.7/site-packages/wdb/breakpoint.py", line 28, in file_from_import
return fun.__code__.co_filenameAttributeError: 'module' object has no attribute '__code__'