airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fokko Driesprong (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AIRFLOW-2384) Flask 0.12.3+ breaks Airflow webserver
Date Sat, 28 Apr 2018 18:28:00 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Fokko Driesprong resolved AIRFLOW-2384.
---------------------------------------
    Resolution: Fixed
      Assignee: Fokko Driesprong

> Flask 0.12.3+ breaks Airflow webserver
> --------------------------------------
>
>                 Key: AIRFLOW-2384
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2384
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webserver
>    Affects Versions: 1.10.0
>            Reporter: Kyle Hamlin
>            Assignee: Fokko Driesprong
>            Priority: Critical
>             Fix For: 1.10.0
>
>
> Flask 0.12.3 and 1.0.0 were released about an hour ago with breaking changes to Airflows
webserver
> {code:java}
> File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/sync.py", line 135, in
handle
> self.handle_request(listener, req, client, addr)
> File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/sync.py", line 176, in
handle_request
> respiter = self.wsgi(environ, resp.start_response)
> File "/usr/local/lib/python3.6/site-packages/werkzeug/wsgi.py", line 826, in __call__
> return app(environ, start_response)
> File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1997, in __call__
> return self.wsgi_app(environ, start_response)
> File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1978, in wsgi_app
> ctx.push()
> File "/usr/local/lib/python3.6/site-packages/flask/ctx.py", line 332, in push
> self.session = self.app.open_session(self.request)
> File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 912, in open_session
> return self.session_interface.open_session(self, request)
> File "/usr/local/lib/python3.6/site-packages/flask/sessions.py", line 324, in open_session
> s = self.get_signing_serializer(app)
> File "/usr/local/lib/python3.6/site-packages/flask/sessions.py", line 321, in get_signing_serializer
> signer_kwargs=signer_kwargs)
> File "/usr/local/lib/python3.6/site-packages/itsdangerous.py", line 519, in __init__
> self.is_text_serializer = is_text_serializer(serializer)
> File "/usr/local/lib/python3.6/site-packages/itsdangerous.py", line 69, in is_text_serializer
> return isinstance(serializer.dumps({}), text_type)
> File "/usr/local/lib/python3.6/site-packages/flask/sessions.py", line 85, in dumps
> return json.dumps(_tag(value), separators=(',', ':'))
> File "/usr/local/lib/python3.6/site-packages/flask/json/__init__.py", line 177, in dumps
> _dump_arg_defaults(kwargs)
> File "/usr/local/lib/python3.6/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'{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message