superset-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-superset] Zverik opened a new issue #10767: Docker Compose fails to start because of slack issue and TypeError
Date Wed, 02 Sep 2020 16:11:25 GMT

Zverik opened a new issue #10767:

   I run `docker-compose up` and get many error, from which the most prominent is "ModuleNotFoundError:
No module named 'slack'".
   ### Expected results
   Docker image successfully built and run.
   ### Actual results
   I get these errors:
   * ModuleNotFoundError: No module named 'slack' (in /app/superset/tasks/, line
`from slack import WebClient`)
   * TypeError: __init__() got an unexpected keyword argument 'min_inclusive' (in /app/superset/charts/,
line `error=_("`confidence_interval` must be between 0 and 1 (exclusive)"),`)
   When I open the UI, I get the last one printed.
   ### Environment
   Everything from the docker files, I did no modifications. Superset cloned from commit 807bd656c6c727d1cd4d75f65e11922b9df2c475.
Before that I was using a June build of Superset, and it worked fine.
   ### Additional context
   Full stack traces:
   superset_worker          | to create app
   superset_worker          | Traceback (most recent call last):
   superset_worker          |   File "/app/superset/", line 62, in create_app
   superset_worker          |     app_initializer.init_app()
   superset_worker          |   File "/app/superset/", line 500, in init_app
   superset_worker          |     self.init_app_in_ctx()
   superset_worker          |   File "/app/superset/", line 471, in init_app_in_ctx
   superset_worker          |     self.configure_data_sources()
   superset_worker          |   File "/app/superset/", line 516, in configure_data_sources
   superset_worker          |     ConnectorRegistry.register_sources(module_datasource_map)
   superset_worker          |   File "/app/superset/connectors/", line
39, in register_sources
   superset_worker          |     module_obj = __import__(module_name, fromlist=class_names)
   superset_worker          |   File "/app/superset/connectors/sqla/", line 17,
in <module>
   superset_worker          |     from . import models, views
   superset_worker          |   File "/app/superset/connectors/sqla/", line 34, in
   superset_worker          |     from superset.connectors.base.views import DatasourceModelView
   superset_worker          |   File "/app/superset/connectors/base/", line 21, in
   superset_worker          |     from superset.views.base import SupersetModelView
   superset_worker          |   File "/app/superset/views/", line 17, in <module>
   superset_worker          |     from . import (
   superset_worker          |   File "/app/superset/views/", line 28, in <module>
   superset_worker          |     from superset.tasks.schedules import schedule_alert_query
   superset_worker          |   File "/app/superset/tasks/", line 65, in <module>
   superset_worker          |     from superset.tasks.slack_util import deliver_slack_msg
   superset_worker          |   File "/app/superset/tasks/", line 23, in <module>
   superset_worker          |     from slack import WebClient
   superset_worker          | ModuleNotFoundError: No module named 'slack'
   superset_app             | to create app
   superset_app             | Traceback (most recent call last):
   superset_app             |   File "/app/superset/", line 62, in create_app
   superset_app             |     app_initializer.init_app()
   superset_app             |   File "/app/superset/", line 500, in init_app
   superset_app             |     self.init_app_in_ctx()
   superset_app             |   File "/app/superset/", line 480, in init_app_in_ctx
   superset_app             |     self.init_views()
   superset_app             |   File "/app/superset/", line 128, in init_views
   superset_app             |     from superset.charts.api import ChartRestApi
   superset_app             |   File "/app/superset/charts/", line 45, in <module>
   superset_app             |     from superset.charts.schemas import (
   superset_app             |   File "/app/superset/charts/", line 445, in <module>
   superset_app             |     class ChartDataProphetOptionsSchema(ChartDataPostProcessingOperationOptionsSchema):
   superset_app             |   File "/app/superset/charts/", line 472, in ChartDataProphetOptionsSchema
   superset_app             |     error=_("`confidence_interval` must be between 0 and 1 (exclusive)"),
   superset_app             | TypeError: __init__() got an unexpected keyword argument 'min_inclusive'

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message