Skip to content
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

Unable to launch the compose script #29

Open
Desislav-Petrov opened this issue Apr 22, 2020 · 3 comments
Open

Unable to launch the compose script #29

Desislav-Petrov opened this issue Apr 22, 2020 · 3 comments

Comments

@Desislav-Petrov
Copy link

I follow the instructions but after the docoker-compose up the service doesnt' come up.

Upon querying the logs I get the following:

webserver_1 | Traceback (most recent call last):
webserver_1 | File "/usr/local/bin/airflow", line 22, in
webserver_1 | from airflow.bin.cli import CLIFactory
webserver_1 | File "/usr/local/lib/python3.6/site-packages/airflow/bin/cli.py", line 68, in
webserver_1 | from airflow.www_rbac.app import cached_app as cached_app_rbac
webserver_1 | File "/usr/local/lib/python3.6/site-packages/airflow/www_rbac/app.py", line 25, in
webserver_1 | from flask_appbuilder import AppBuilder, SQLA
webserver_1 | File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/init.py", line 5, in
webserver_1 | from .base import AppBuilder
webserver_1 | File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/base.py", line 3, in
webserver_1 | from .views import IndexView, UtilView
webserver_1 | File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/views.py", line 8, in
webserver_1 | from .baseviews import BaseView, BaseCRUDView, BaseFormView, expose, expose_api
webserver_1 | File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", line 7, in
webserver_1 | from .forms import GeneralModelConverter
webserver_1 | File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/forms.py", line 9, in
webserver_1 | from .fieldwidgets import (BS3TextAreaFieldWidget,
webserver_1 | File "/usr/local/lib/python3.6/site-packages/flask_appbuilder/fieldwidgets.py", line 1, in
webserver_1 | from wtforms.widgets import HTMLString, html_params
webserver_1 | ImportError: cannot import name 'HTMLString'

Looks like an env issue to me - can u please advise?

Thanks

@boschmateo
Copy link

Same issue here. Been trying to fix it all day long.

@boschmateo
Copy link

There is a new Issue opened in docker-airflow .

@resdevd
Copy link

resdevd commented Apr 24, 2020

Or you can use this Docker compose boilerplate updated with official Airflow Docker images

https://github.com/resdevd/docker-compose-airflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants