Gave me this problem after submitting date info on Account Information.
This is the error prompted.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2069, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2054, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2051, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1501, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1499, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1485, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(*req.view_args)
File "/usr/local/lib/python3.8/site-packages/flask_oidc/init.py", line 487, in decorated
return view_func(args, **kwargs)
File "/app/firecrest_demo.py", line 462, in acct
return render_template('compute/acct.html',form=form,response=response, microservices=demo_microservices)
File "/usr/local/lib/python3.8/site-packages/flask/templating.py", line 147, in render_template
return _render(
File "/usr/local/lib/python3.8/site-packages/flask/templating.py", line 128, in _render
rv = template.render(context)
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/app/templates/compute/acct.html", line 7, in top-level template code
{% extends "demo_base.html" %}
File "/app/templates/demo_base.html", line 8, in top-level template code
{% import "bootstrap/wtf.html" as wtf %}
File "/usr/local/lib/python3.8/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 1, in top-level template code
{% block doc -%}
File "/usr/local/lib/python3.8/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 4, in block 'doc'
{%- block html %}
File "/usr/local/lib/python3.8/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 20, in block 'html'
{% block body -%}
File "/usr/local/lib/python3.8/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 23, in block 'body'
{% block content -%}
File "/app/templates/compute/acct.html", line 124, in block 'content'
{{ response.json()['error'] }}
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Hello,
Gave me this problem after submitting date info on Account Information.
This is the error prompted.
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2069, in call return self.wsgi_app(environ, start_response) File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2054, in wsgi_app response = self.handle_exception(e) File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2051, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1501, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1499, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1485, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(*req.view_args) File "/usr/local/lib/python3.8/site-packages/flask_oidc/init.py", line 487, in decorated return view_func(args, **kwargs) File "/app/firecrest_demo.py", line 462, in acct return render_template('compute/acct.html',form=form,response=response, microservices=demo_microservices) File "/usr/local/lib/python3.8/site-packages/flask/templating.py", line 147, in render_template return _render( File "/usr/local/lib/python3.8/site-packages/flask/templating.py", line 128, in _render rv = template.render(context) File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/app/templates/compute/acct.html", line 7, in top-level template code {% extends "demo_base.html" %} File "/app/templates/demo_base.html", line 8, in top-level template code {% import "bootstrap/wtf.html" as wtf %} File "/usr/local/lib/python3.8/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 1, in top-level template code {% block doc -%} File "/usr/local/lib/python3.8/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 4, in block 'doc' {%- block html %} File "/usr/local/lib/python3.8/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 20, in block 'html' {% block body -%} File "/usr/local/lib/python3.8/site-packages/flask_bootstrap/templates/bootstrap/base.html", line 23, in block 'body' {% block content -%} File "/app/templates/compute/acct.html", line 124, in block 'content'
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 897, in json return complexjson.loads(self.text, **kwargs) File "/usr/local/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)