andrekef opened a new issue, #26997:
URL: https://github.com/apache/superset/issues/26997

   ### Bug description
   
   Working on a 2023 Macbook Air M2
   
   I followed the steps per wiki here 
[https://superset.apache.org/docs/installation/installing-superset-using-docker-compose/](url)
 (which I believe needs updating) and I am unable to have stable build for many 
containers under the main superset container.
   
   - Cannot reach `http://localhost:8088/`. Page is blank. 
   - Error I am getting below.
   
   `
   Skipping local overrides
   Starting web app (using development server)...
   Skipping local overrides
   Starting web app (using development server)...
   Skipping local overrides
   Starting web app (using development server)...
   <jemalloc>: MADV_DONTNEED does not work (memset will be used instead)
   <jemalloc>: (This is the expected behaviour if you are running under QEMU)
   Usage: flask run [OPTIONS]
   Try 'flask run --help' for help.
   
   Error: While importing 'superset.app', an ImportError was raised:
   
   Traceback (most recent call last):
     File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 218, in 
locate_app
       __import__(module_name)
     File "/app/superset/__init__.py", line 21, in <module>
       from superset.app import create_app
     File "/app/superset/app.py", line 24, in <module>
       from superset.initialization import SupersetAppInitializer
     File "/app/superset/initialization/__init__.py", line 35, in <module>
       from superset.extensions import (
     File "/app/superset/extensions/__init__.py", line 30, in <module>
       from superset.async_events.async_query_manager import AsyncQueryManager
     File "/app/superset/async_events/async_query_manager.py", line 26, in 
<module>
       from superset.utils.core import get_user_id
     File "/app/superset/utils/core.py", line 90, in <module>
       from superset.sql_parse import sanitize_clause
     File "/app/superset/sql_parse.py", line 29, in <module>
       from sqlglot import exp, parse, parse_one
   ModuleNotFoundError: No module named 'sqlglot'`
   This error above is looping endlessly 
   
   
   ### How to reproduce the bug
   
   1. git clone https://github.com/apache/superset.git
   2. cd superset
   3. `open docker-compose.yml` 
   4. paste `platform: linux/x86_64/v8` under each superset container - Please 
include in your wiki for arm64 users, as this will save folks a lot of time.
   
   Eg
   `superset:
       platform: linux/x86_64/v8
       ...
     superset-websocket:
       platform: linux/amd64
       ...
     superset-init:
       platform: linux/x86_64/v8
       ...
      superset-node:
       platform: linux/x86_64/v8
       ...
      superset-worker:
       platform: linux/x86_64/v8
       ...
     superset-worker-beat:
       platform: linux/x86_64/v8
       ...
     superset-tests-worker:
       platform: linux/x86_64/v8`
   6. run `docker compose up --build -d`
   7. Notice the `ModuleNotFoundError`
   
   ### Screenshots/recordings
   
   <img width="901" alt="Screenshot 2024-02-02 at 1 15 27 PM" 
src="https://github.com/apache/superset/assets/23481484/21db46dc-ee7e-432c-bff4-f71437294227";>
   
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to