Incubator-superset: Error when using docker-compose up: "ModuleNotFoundError: No module named 'superset.app'"

Created on 30 Jun 2020  路  3Comments  路  Source: apache/incubator-superset

When attempting to run "docker-compose up", I'm getting an error in superset_1 "ModuleNotFoundError: No module named 'superset.app'". When navigating to localhost:8088. I get the error "flask.cli.NoAppException: Could not import "superset.app"'

Expected results

After running docker-compose up, I expect a functioning app at localhost:8088

Actual results

Error when navigating to localhost:8088

Screenshots

If applicable, add screenshots to help explain your problem.
image

image

How to reproduce the bug

  1. Clone repo, and checkout tag 0.36.0 (latest release as of 2020/06/30).
  2. cd in to incubator-superset
  3. Run docker-compose up

Environment

  • superset version: 0.36.0
  • docker engine version: 19.03.8
  • docker compose version: 1.26.0

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [x] I have reproduced the issue with at least the latest released version of superset.
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

#bug

Most helpful comment

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.67. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 3 comments

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.67. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Please attempt rebuilding from scratch as described here: https://github.com/apache/incubator-superset/issues/10149#issuecomment-671067844

Please re-open if that does not resolve your issue.

I have the exact same issue.

Tried the nuke method in the linked comment, however nothing changed.

I also tried to check out different branches - as in previous versions to no avail.

Here's the system info:
OS: centos 7.7
Superset version: 0.37.2 (latest) [also tested 0.36]
Docker version: 1.13.1
Docker-compose version: 1.27.4

I figured it was a better option to comment on this issue rather than opening a new one.

I can provide further Log files if needed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ylkjick532428 picture ylkjick532428  路  3Comments

vylc picture vylc  路  3Comments

josephtyler picture josephtyler  路  3Comments

kalimuthu123 picture kalimuthu123  路  3Comments

XiaodiKong picture XiaodiKong  路  3Comments