superset-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
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:
URL: https://github.com/apache/incubator-superset/issues/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/slack_util.py, line
`from slack import WebClient`)
   * TypeError: __init__() got an unexpected keyword argument 'min_inclusive' (in /app/superset/charts/schemas.py,
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          | ERROR:superset.app:Failed to create app
   superset_worker          | Traceback (most recent call last):
   superset_worker          |   File "/app/superset/app.py", line 62, in create_app
   superset_worker          |     app_initializer.init_app()
   superset_worker          |   File "/app/superset/app.py", line 500, in init_app
   superset_worker          |     self.init_app_in_ctx()
   superset_worker          |   File "/app/superset/app.py", line 471, in init_app_in_ctx
   superset_worker          |     self.configure_data_sources()
   superset_worker          |   File "/app/superset/app.py", line 516, in configure_data_sources
   superset_worker          |     ConnectorRegistry.register_sources(module_datasource_map)
   superset_worker          |   File "/app/superset/connectors/connector_registry.py", line
39, in register_sources
   superset_worker          |     module_obj = __import__(module_name, fromlist=class_names)
   superset_worker          |   File "/app/superset/connectors/sqla/__init__.py", line 17,
in <module>
   superset_worker          |     from . import models, views
   superset_worker          |   File "/app/superset/connectors/sqla/views.py", line 34, in
<module>
   superset_worker          |     from superset.connectors.base.views import DatasourceModelView
   superset_worker          |   File "/app/superset/connectors/base/views.py", line 21, in
<module>
   superset_worker          |     from superset.views.base import SupersetModelView
   superset_worker          |   File "/app/superset/views/__init__.py", line 17, in <module>
   superset_worker          |     from . import (
   superset_worker          |   File "/app/superset/views/alerts.py", line 28, in <module>
   superset_worker          |     from superset.tasks.schedules import schedule_alert_query
   superset_worker          |   File "/app/superset/tasks/schedules.py", line 65, in <module>
   superset_worker          |     from superset.tasks.slack_util import deliver_slack_msg
   superset_worker          |   File "/app/superset/tasks/slack_util.py", line 23, in <module>
   superset_worker          |     from slack import WebClient
   superset_worker          | ModuleNotFoundError: No module named 'slack'
   ```
   
   ```
   superset_app             | ERROR:superset.app:Failed to create app
   superset_app             | Traceback (most recent call last):
   superset_app             |   File "/app/superset/app.py", line 62, in create_app
   superset_app             |     app_initializer.init_app()
   superset_app             |   File "/app/superset/app.py", line 500, in init_app
   superset_app             |     self.init_app_in_ctx()
   superset_app             |   File "/app/superset/app.py", line 480, in init_app_in_ctx
   superset_app             |     self.init_views()
   superset_app             |   File "/app/superset/app.py", line 128, in init_views
   superset_app             |     from superset.charts.api import ChartRestApi
   superset_app             |   File "/app/superset/charts/api.py", line 45, in <module>
   superset_app             |     from superset.charts.schemas import (
   superset_app             |   File "/app/superset/charts/schemas.py", line 445, in <module>
   superset_app             |     class ChartDataProphetOptionsSchema(ChartDataPostProcessingOperationOptionsSchema):
   superset_app             |   File "/app/superset/charts/schemas.py", 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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Mime
View raw message