-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'Blueprint' object has no attribute 'json_encoder' #1252
Comments
Hi Ash, I received another report of this issue. I will investigate shortly. |
colinschoen
added a commit
that referenced
this issue
Apr 29, 2018
http://flask.pocoo.org/docs/0.12/changelog/ 0.12.3 is breaking the build per #1252 Signed-off-by: Colin Schoen <cschoen@berkeley.edu>
This was referenced Apr 29, 2018
colinschoen
added a commit
that referenced
this issue
Apr 30, 2018
* Hot fix force Flask requirement to be 0.12.2. http://flask.pocoo.org/docs/0.12/changelog/ 0.12.3 is breaking the build per #1252 Signed-off-by: Colin Schoen <cschoen@berkeley.edu> * Relax version requirement to support some deployments. Signed-off-by: Colin Schoen <cschoen@berkeley.edu> * Require Flask >=0.12.0<0.12.3 Signed-off-by: Colin Schoen <cschoen@berkeley.edu>
colinschoen
added a commit
that referenced
this issue
May 1, 2018
* Hot fix force Flask requirement to be 0.12.2. http://flask.pocoo.org/docs/0.12/changelog/ 0.12.3 is breaking the build per #1252 Signed-off-by: Colin Schoen <cschoen@berkeley.edu> * Relax version requirement to support some deployments. Signed-off-by: Colin Schoen <cschoen@berkeley.edu> * Require Flask >=0.12.0<0.12.3 Signed-off-by: Colin Schoen <cschoen@berkeley.edu> * Unpin Flask version. Prevent usage bad release. Flask 0.12.3 is a broken release. This removes the hotfix of pinning the Flask version and prevents usage of the dirty version 0.12.3 Ref: pallets/flask#2728 Signed-off-by: Colin Schoen <cschoen@berkeley.edu> * Standardize version numbers. Signed-off-by: Colin Schoen <cschoen@berkeley.edu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When i try createdb i get this below error:
Just wondering if anyone came across this before.
I am trying install OK server on Ubuntu 16.04:
./manage.py createdb
Traceback (most recent call last):
File "./manage.py", line 124, in
manager.run()
File "/home/username/ok/env/lib/python3.5/site-packages/flask_script/init.py", line 412, in run
result = self.handle(sys.argv[0], sys.argv[1:])
File "/home/username/ok/env/lib/python3.5/site-packages/flask_script/init.py", line 383, in handle
res = handle(*args, **config)
File "/home/username/ok/env/lib/python3.5/site-packages/flask_script/commands.py", line 215, in call
with app.test_request_context():
File "/home/username/ok/env/lib/python3.5/site-packages/flask/ctx.py", line 390, in enter
self.push()
File "/home/username/ok/env/lib/python3.5/site-packages/flask/ctx.py", line 332, in push
self.session = self.app.open_session(self.request)
File "/home/username/ok/env/lib/python3.5/site-packages/flask/app.py", line 912, in open_session
return self.session_interface.open_session(self, request)
File "/home/username/ok/env/lib/python3.5/site-packages/flask/sessions.py", line 324, in open_session
s = self.get_signing_serializer(app)
File "/home/username/ok/env/lib/python3.5/site-packages/flask/sessions.py", line 321, in get_signing_serializer
signer_kwargs=signer_kwargs)
File "/home/username/ok/env/lib/python3.5/site-packages/itsdangerous.py", line 519, in init
self.is_text_serializer = is_text_serializer(serializer)
File "/home/username/ok/env/lib/python3.5/site-packages/itsdangerous.py", line 69, in is_text_serializer
return isinstance(serializer.dumps({}), text_type)
File "/home/username/ok/env/lib/python3.5/site-packages/flask/sessions.py", line 85, in dumps
return json.dumps(_tag(value), separators=(',', ':'))
File "/home/username/ok/env/lib/python3.5/site-packages/flask/json/init.py", line 177, in dumps
_dump_arg_defaults(kwargs)
File "/home/username/ok/env/lib/python3.5/site-packages/flask/json/init.py", line 98, in _dump_arg_defaults
bp.json_encoder if bp and bp.json_encoder
AttributeError: 'Blueprint' object has no attribute 'json_encoder'
Any help will be much appreciated. Thanks In advance.
Regards,
Ash
The text was updated successfully, but these errors were encountered: