You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "andrekef (via GitHub)" <gi...@apache.org> on 2024/02/02 18:22:45 UTC
[I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
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-unsubscribe@superset.apache.org.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "SbstnErhrdt (via GitHub)" <gi...@apache.org>.
SbstnErhrdt commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1933766882
@yashagv @andrekef @vikramwalia
my system is
```
Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-92-generic x86_64)
```
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "akshayjain3450 (via GitHub)" <gi...@apache.org>.
akshayjain3450 commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1943395113
> https://github.com/apache/superset/blob/master/requirements/base.txt#L345
Did we have this dependency in the last stable release 3.1.0 @mistercrunch? Because, after I checkout to that branch I face error building the image. So we have a use there but this dependency I could not find in branch 3.1.0. Can you tell me what I am missing here? How is the public docker image released working and not our custom images without any change?
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "akshayjain3450 (via GitHub)" <gi...@apache.org>.
akshayjain3450 commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1933503337
Are we looking for any update soon on this.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "akshayjain3450 (via GitHub)" <gi...@apache.org>.
akshayjain3450 commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1933815888
> Thanks @akshayjain3450
>
> Resolved 'sqlglot' error after adding sqlglot==20.8.0.
>
>
>
> All containers are up, but "http://localhost:8088/superset/welcome/" is continuously loading.
>
> When I did port forwarding, it shows me favicon icon. http://localhost:8089/static/assets/images/favicon.png
>
> Also not able to connect 5432 database.
>
>
>
> Are you able to run, Can you suggest something?
I found one more error with postgres container where it is looking for a test table which does not exist.
What I did is added CREATE DATABASE test command in ./docker/examples-init.sh. And tried again.
I am still in the process to confirm if the UI opens up or not.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "ogr-git (via GitHub)" <gi...@apache.org>.
ogr-git commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1928161540
same issue on Amazon x86-64 EC2 instance with Ubuntu
```
Virtualization: amazon
Operating System: Ubuntu 22.04.3 LTS
Kernel: Linux 6.2.0-1018-aws
Architecture: x86-64
Hardware Vendor: Amazon EC2
Hardware Model: t3.large
```
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "louisenguyen2203 (via GitHub)" <gi...@apache.org>.
louisenguyen2203 commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1925420685
+ 1 also having the same problem
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1957212807
Interesting question @sfirke - might be a good listserv or town hall question. As a contributor, I prefer to run "dev mode" so the default is sensible. You might be right that a "stable" version is the more sensible default for docker compose, but I'm not certain of it... the current behavior probably helps us find bugs on master a lot faster ;)
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1961646240
It sounds like both of those require git and target the master branch/latest commit. Yes we need to meet developer needs there.
But IMO to make it as easy as possible to deploy Superset this way for new users, there should be a docker compose workflow that does not require cloning the repo and points at a stable release. That is how [Airflow instructs people to deploy with docker compose](https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html), their steps are:
- curl a docker-compose.yml file that points to the latest stable release
- set a few local configs
- run docker compose up
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "rajdeepUWE (via GitHub)" <gi...@apache.org>.
rajdeepUWE commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1937428432
is this the same solution for windows 10 user?
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "geido (via GitHub)" <gi...@apache.org>.
geido commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1981479756
Thanks everybody. Closing this one for now as we continue validating ways to improve our docker compose setup.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1957753505
> the current behavior probably helps us find bugs on master a lot faster ;)
Quite true! You can tell when master breaks as people come flooding into Slack reporting the same problem. But I don't think using new users as test subjects is probably good for the long-term health of the project. I expect for every person who reports a GitHub issue about broken master branch, many more give up silently and say Superset is not ready for production.
I will put it on the town hall list, good idea.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1960327503
My expectation (and I think the common use) would be for docker-compose to build off the current branch using the local docker file while mounting the local files so that development can be done. Changing the python files in the repo should change the app, and it assumes youre running 'npm run dev' to build the JS assets.
Now for the other "non-dev"use case you'd build the actual files, no mounts, respecting the current dockerfile.
So all of this respecting the local branch/dockerfile, no divergence from previous layers allowed as it is the case now.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1960343654

Something like this but with composition on a docker file that say targets the dev layer and mounts the local folder for the main docker-compose.yml and maybe taegeting "lean" layer for non-dev (?)
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1944333075
I don't see any reference of `sqlglot` when I checkout `3.1.0`
```
$ git checkout 3.1.0
HEAD is now at 0cd2431989 bringin latest from master Dockerfile to allow for multi-platform builds
$ git grep -i sqlglot
```
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "rajdeepUWE (via GitHub)" <gi...@apache.org>.
rajdeepUWE commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1940603801
the only error I am facing is mysqlglot error in a loop.
________________________________
From: Maxime Beauchemin ***@***.***>
Sent: 13 February 2024 02:29
To: apache/superset ***@***.***>
Cc: Rajdeep Sarkar ***@***.***>; Comment ***@***.***>
Subject: Re: [apache/superset] ModuleNotFoundError: No module named 'sqlglot' error across many containers (Issue #26997)
Screenshot.2024-02-12.at.6.21.56.PM.png (view on web)<https://github.com/apache/superset/assets/487433/21c8b8bb-80e9-4ae2-b0fe-40ad0de2383c>
Can't recreate, can someone who had the issue confirmed it's fixed by now?
I tried:
docker-compose pull
docker-compose up
Also
docker compose -f docker-compose-non-dev.yml pull
docker compose -f docker-compose-non-dev.yml up
And also
git checkout 3.0.0
TAG=3.0.0 docker compose -f docker-compose-non-dev.yml pull
TAG=3.0.0 docker compose -f docker-compose-non-dev.yml up
All seemed to work on a recent Macbook M2. I hit localhost:8088 and things were snappy
—
Reply to this email directly, view it on GitHub<https://github.com/apache/superset/issues/26997#issuecomment-1940296342>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A7QFMXN3L2TXL5FZWQ3VQJTYTLFY5AVCNFSM6AAAAABCXDMIUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBQGI4TMMZUGI>.
You are receiving this because you commented.Message ID: ***@***.***>
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1956816278
I see several people here are running the command `docker compose up` -- my understanding is that if no compose file is specified in this command, Docker defaults to using a compose file called `docker-compose.yml` if one is present. On the Superset project this point to a potentially-unstable `master` branch release that should be used for development, not production.
In the [install docs](https://superset.apache.org/docs/installation/installing-superset-using-docker-compose/) we tell people to run `docker compose -f docker-compose-non-dev.yml up` so that they get a stable / official release image, not the cutting-edge master branch build.
I wonder if we renamed the two files like this:
- `docker-compose.yml` -> `docker-compose-dev.yml`
- `docker-compose-non-dev.yml` -> `docker-compose.yml`
Would it result in a better experience for new users, because then the default is a stable image? `non-dev` always sounded clunky to me anyway.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "Sajawalgujjar381 (via GitHub)" <gi...@apache.org>.
Sajawalgujjar381 commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1963129736
> I faced the same issue while running docker compose up -d So instead I did docker compose -f docker-compose-non-dev.yml up -d and it worked for me.
Yes, I tried your method and it really worked for me also.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1934560898
I think @mistercrunch has the most relevant docker-fu here.
Regarding Scarf (Gateway), if that's what you mean, it's just a proxy, moreso than a mirror. It just passes the request through directly to dockerhub and clicks a counter along the way ;)
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "rajdeepUWE (via GitHub)" <gi...@apache.org>.
rajdeepUWE commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1942056002
> @rajdeepUWE follow the answer from @akshayjain3450 about creating a requirements-local with the sqlglot.
I tried this. Let me get it, i need to make a .txt file name it requirements-local and write sqlglot==20.8.0 and save it in .docker/ or in the Docker directory inside superset (superset/Docker/)? I tried both, I am facing the same issue
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1942479587
mmmh, wondering why I can't recreate here on my local... Are you all on latest `master`?
sqlglot is properly referenced here -> https://github.com/apache/superset/blob/master/requirements/base.txt#L345
and this file is mounted/referenced in the Dockerfile -> https://github.com/apache/superset/blob/master/Dockerfile#L84-L86
There's a bit of a jumparoo here where requirements files point to one another, the chaing goes requirements/local.txt -> requirements/development.txt -> requirements/base.txt (where sqlglot is referenced)
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "stefanamaral (via GitHub)" <gi...@apache.org>.
stefanamaral commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1940745662
@rajdeepUWE follow the answer from @akshayjain3450 about creating a requirements-local with the sqlglot.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "Sajawalgujjar381 (via GitHub)" <gi...@apache.org>.
Sajawalgujjar381 commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1948473036
Thank you so much.
That also worked for me.
Thank you.
On Fri, Feb 16, 2024 at 5:48 AM Shivangini-G ***@***.***>
wrote:
> I faced the same issue while running docker compose up -d
> So instead I did docker compose -f docker-compose-non-dev.yml up -d
> and it worked for me.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/superset/issues/26997#issuecomment-1947796412>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BDCEJ7YXOWHH2RGJ4FQRPNLYT3XJXAVCNFSM6AAAAABCXDMIUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBXG44TMNBRGI>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "andrekef (via GitHub)" <gi...@apache.org>.
andrekef commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1946829554
UPDATE:
I am still unable to get this to build in docker nice and clean for M2 machines. 2 other co-workers replicated my issue, also with M1 and M2 machines.
What worked for me and spinned up superset again is creating a `venv` and using these steps here: [https://superset.apache.org/docs/installation/installing-superset-from-scratch/](url), which by the way, could use some extra clarification for new developers on things such as:
- Running `export SUPERSET_CONFIG_PATH=/Users/myuser/venv/lib/python3.9/site-packages/superset/superset_config.py
` so that `config.py` can locate the override file
- Where to find the superset repo after I create a `venv`. I had to manually create a new folder, rename etc and run `export SUPERSET_HOME=/path/to/superset_home_directory` to avoid weird errors
- Also, I had to manually allow mysql connectivity since these:
1. `# SQLALCHEMY_DATABASE_URI = 'mysql://myapp@localhost/myapp'`
2. `# SQLALCHEMY_DATABASE_URI = 'postgresql://root:password@localhost/myapp'`
were commented out in config.py by default, which I don't understand why
- Also, there is no instruction on how to restart superset after changes to the config files so the app can pick it up and reflect the changes. Running the
- `PREVENT_UNSAFE_DB_CONNECTIONS = False` to possibly be the default configuration in the `config.py` file? So many users had this questions in this and their forums and they had to tweak this and restart the app to establish any sqlalchemy connection.
- There also seems to be a bug trying to save mysql tables into datasets. I will probably open a new issue here.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "Sajawalgujjar381 (via GitHub)" <gi...@apache.org>.
Sajawalgujjar381 commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1946597339
I am getting the same error. Does anyone resolve the error?
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "geido (via GitHub)" <gi...@apache.org>.
geido closed issue #26997: ModuleNotFoundError: No module named 'sqlglot' error across many containers
URL: https://github.com/apache/superset/issues/26997
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1961762696
> But IMO to make it as easy as possible to deploy Superset this way for new users, there should be a docker compose workflow that does not require cloning the repo and points at a stable release.
From my understanding docker-compose shouldn't be used to productionize applications like Superset and exists to support developer workflows primarily. Helm is the tech that would provide more of the guarantees needed there. Helm should absolutely point to `latest`-type images by default, but it feels like docker-compose need to build deterministically off the current branch. I guess we could have a `docker-compose-latest.yml` that points to that image, but then it wouldn't mount anything or be related to the current branch in any other way than that file itself.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "ricokali96 (via GitHub)" <gi...@apache.org>.
ricokali96 commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1932578991
Same problem here
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1984120245
Quick note that we met with the devx sub-team and I said I'd pick up doing a set of improvements for the docker-compose workflows addressing the core issues here. Main idea is referencing the branch's Dockerfile as opposed to a baked image like we do now.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1942488190
Wondering if docker caching could be an issue here, where say base.txt changed, but the layer is cached because doesn't think the file has changed. But from my understanding of how docker cache works, if any of the mounted file changed, it's part of the cache key and will invalidate the cache.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1930610949
Pinging @betodealmeida and @john-bodley since it sounds related to their recent consolidation efforts.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "SbstnErhrdt (via GitHub)" <gi...@apache.org>.
SbstnErhrdt commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1931639709
I resolved the issues by checking out the latest stable release
```shell
git clone https://github.com/apache/superset.git
git checkout tags/3.1.0
docker compose up
```
If all runs smoothly
```shell
docker compose up -d
```
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "betodealmeida (via GitHub)" <gi...@apache.org>.
betodealmeida commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1934537632
I'm not familiar with how we're building the Docker images, nor with Snarf — does it just mirror an image from Dockerhub?
I was able to repro, and the solution proposed by @akshayjain3450 worked for me, so that seems like an easy workaround for now.
@rusackas do you know how to build and publish a new docker image?
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "andrekef (via GitHub)" <gi...@apache.org>.
andrekef commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1932368080
@SbstnErhrdt Thanks for your reply.
You did not specify what machine you are using.
- Even if this is the case, did you had to specify `platform: linux/x86_64/v8` in the docker file of each container?
- What are your logs for superset-websocket now?
- I also had to create asuperset_config.py file and export its path to my superset dir so that the app reads it and overried the secret key that is weak by default.
- If I follow the tag_3.1.0 I get a new log error for superset-websocket that says its looking for a config.json file when its clearly using config.py for confusguration
> superset-websocket@0.0.1 start
> node dist/index.js start
config.json file not found
{"date":"Wed Feb 07 2024 16:00:22 GMT+0000 (Coordinated Universal Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: Please provide a JWT secret at least 32 bytes long\nError: Please provide a JWT secret at least 32 bytes long\n at Object.<anonymous> (/home/superset-websocket/dist/index.js:76:11)\n at Module._compile (node:internal/modules/cjs/loader:1198:14)\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)\n at Module.load (node:internal/modules/cjs/loader:1076:32)\n at Function.Module._load (node:internal/modules/cjs/loader:911:12)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)\n at node:internal/main/run_main_module:22:47","os":{"loadavg":[29.07,19.59,13.16],"uptime":87469.63},"process":{"argv":["/usr/local/bin/node","/home/superset-websocket/dist/index.js","start"],"cwd":"/home/superset-websocket","execPath":"/usr/local/bin/node","gid":1000,"memoryUsage":{"a
rrayBuffers":74962,"external":948746,"heapTotal":18386944,"heapUsed":15244176,"rss":0},"pid":22,"uid":1000,"version":"v16.20.2"},"stack":"Error: Please provide a JWT secret at least 32 bytes long\n at Object.<anonymous> (/home/superset-websocket/dist/index.js:76:11)\n at Module._compile (node:internal/modules/cjs/loader:1198:14)\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)\n at Module.load (node:internal/modules/cjs/loader:1076:32)\n at Function.Module._load (node:internal/modules/cjs/loader:911:12)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)\n at node:internal/main/run_main_module:22:47","trace":[{"column":11,"file":"/home/superset-websocket/dist/index.js","function":null,"line":76,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1198,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cj
s/loader","function":"Module._extensions..js","line":1252,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1076,"method":"load","native":false},{"column":12,"file":"node:internal/modules/cjs/loader","function":"Module._load","line":911,"method":"_load","native":false},{"column":12,"file":"node:internal/modules/run_main","function":"Function.executeUserEntryPoint [as runMain]","line":81,"method":"executeUserEntryPoint [as runMain]","native":false},{"column":47,"file":"node:internal/main/run_main_module","function":null,"line":22,"method":null,"native":false}]}
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1940296342
<img width="839" alt="Screenshot 2024-02-12 at 6 21 56 PM" src="https://github.com/apache/superset/assets/487433/21c8b8bb-80e9-4ae2-b0fe-40ad0de2383c">
Can't recreate, can someone who had the issue confirmed it's fixed by now?
I tried:
```
docker-compose pull
docker-compose up
```
Also
```
docker compose -f docker-compose-non-dev.yml pull
docker compose -f docker-compose-non-dev.yml up
```
And also
```
git checkout 3.0.0
TAG=3.0.0 docker compose -f docker-compose-non-dev.yml pull
TAG=3.0.0 docker compose -f docker-compose-non-dev.yml up
```
All seemed to work on a recent Macbook M2. I hit localhost:8088 and things were snappy
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "vikramwalia (via GitHub)" <gi...@apache.org>.
vikramwalia commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1925352357
+1 having the same exact issue.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "BigDanTheOne (via GitHub)" <gi...@apache.org>.
BigDanTheOne commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1925550155
Same
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "MariaJSanchezD (via GitHub)" <gi...@apache.org>.
MariaJSanchezD commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1927108800
I have the exact same issue after trying everything to solve the compatibility error with M1
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "andrekef (via GitHub)" <gi...@apache.org>.
andrekef commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1925793254
@michael-s-molina is there any version you would recommend back rolling superset so that arm64 machines are able to build superset fully in docker? FWIW, we are all building superset in development and not production
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "yashagv (via GitHub)" <gi...@apache.org>.
yashagv commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1933808771
Thanks @akshayjain3450
Resolved 'sqlglot' error after adding sqlglot==20.8.0.
All containers are up, but "http://localhost:8088/superset/welcome/" is continuously loading.
When I did port forwarding, it shows me favicon icon. http://localhost:8089/static/assets/images/favicon.png
Also not able to connect 5432 database.
Are you able to run, Can you suggest something?
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "yashagv (via GitHub)" <gi...@apache.org>.
yashagv commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1933756298
Still Issue Persist. Superset team really need to sort it out, as everyone clone's from master only.
@SbstnErhrdt tags/3.1.0 didn't work for me.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "vikramwalia (via GitHub)" <gi...@apache.org>.
vikramwalia commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1940351310
Still running into issues, it is not even getting to a point where the containers are created. I am following documentation for a 2 min setup. I am going to test this out by creating an .env file at the location below and testing.
docker compose up
WARN[0000] The "SCARF_ANALYTICS" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYPRESS_CONFIG" variable is not set. Defaulting to a blank string.
WARN[0000] The "CYPRESS_CONFIG" variable is not set. Defaulting to a blank string.
env file /home/superset/docker/.env not found: stat /home/superset/docker/.env: no such file or directory
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "vikramwalia (via GitHub)" <gi...@apache.org>.
vikramwalia commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1932977903
not resolved yet ! what [SbstnErhrdt] said does not work for me.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "xiaoshan1213 (via GitHub)" <gi...@apache.org>.
xiaoshan1213 commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1930820823
+1, is there any rollback branch or commit we can use for now?
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "stefanamaral (via GitHub)" <gi...@apache.org>.
stefanamaral commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1926553359
Same goes for me and I have done exactly the same steps. Trying to push this in my company but is hard when the local thing just doesn't works ...
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1934931366
This should help at least with the confusion around having to change image targets for local arm64 development work on newer Apple silicon -> https://github.com/apache/superset/pull/27055
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "akshayjain3450 (via GitHub)" <gi...@apache.org>.
akshayjain3450 commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1933769661
The config.json file issue with WebSocket is in the master also. It's not just related to tags/3.1.0.
The solution for ModuleNotFoundError, for now, is to create a requirements-local.txt in `./docker path` and put this sqlglot==20.8.0. Then if you run docker-compose again, you will not find this error.
@yashagv @vikramwalia @ricokali96 @andrekef
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "Shivangini-G (via GitHub)" <gi...@apache.org>.
Shivangini-G commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1947796412
I faced the same issue while running docker compose up -d
So instead I did docker compose -f docker-compose-non-dev.yml up -d
and it worked for me.
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "butuzov (via GitHub)" <gi...@apache.org>.
butuzov commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1948411095
Hi, You might want to install it yourself (by edding to `.superset/docker/requirements-local.txt`).
This dependency was cherry picked and added to master, how ever you all still using outdated images. (For example me who use based on 3.1.0 multiplatform docker image.)
```diff
+sqlglot==20.8.0
```
Cheers
--
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-unsubscribe@superset.apache.org
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
Re: [I] ModuleNotFoundError: No module named 'sqlglot' error across many containers [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #26997:
URL: https://github.com/apache/superset/issues/26997#issuecomment-1951707610
Digging a bit into this, I understand some things, but I'm not 100% clear on how this is setting or exactly how things are supposed to work here. But few things I know
docker-compose.yml has this ->
```
x-superset-image: &superset-image apachesuperset.docker.scarf.sh/apache/superset:${TAG:-latest-dev}
```
Which points to `latest-dev` which right now is `3.1.0` which does not have `sqlglot`. So if you `git checkout 3.1.0` you can `docker-compose up` and things line up.
Pointing to `master-dev` seems more appropriate and much more likely to work, but if you're on arm we don't build that particular variation on these days.
With this PR -> https://github.com/apache/superset/pull/27146 we'll be having multi-platform build for master, so that would make things work better.
Though I'm not sure what's a normal setup for docker-compose here and how the repo is supposed to line up with the images. My best bet is recent master should work on top of a recent build off of master (as in master-dev), but that seems fragile, there's no guarantee that any particular SHA should match - I guess if you have a fresh rebase and we have a fresh image, things should line up.
--
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-unsubscribe@superset.apache.org
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