You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/05/02 18:47:50 UTC
[GitHub] [incubator-superset] aspedrosa opened a new issue #9718: Problems with mapbox
aspedrosa opened a new issue #9718:
URL: https://github.com/apache/incubator-superset/issues/9718
I wanted to check if it was all ok with the Mapbox chart so I created a simple query on SQL Lab
```
SELECT to_date('20170103','YYYYMMDD') as ddtm, CAST(38.7377 as float) as lat, CAST(-9.1722 as float) as lon
UNION
SELECT to_date('20170103','YYYYMMDD') as ddtm, CAST(40.6419 as float), CAST(-8.6519 as float)
```
Ran the query, clicked "Explore" to move to the new chart view. Filled the necessary fields and then clicked "Run Query" and then the entire tab froze.
### Expected results
The Mapbox is displayed
### Actual results
The entire tab freezes
#### Screenshots
The errors that were logged after filling the required values of the chart controls and then clicking on the "Run Query" button.
![Screenshot_20200502_143354](https://user-images.githubusercontent.com/23409890/80869867-b2276580-8c9a-11ea-81a7-96fdf39eac71.png)
![Screenshot_20200502_143409](https://user-images.githubusercontent.com/23409890/80869869-b5225600-8c9a-11ea-9a66-9d284fff1a2d.png)
Also a lot of "componentWillMount has been renamed ..." warnings were logged.
#### How to reproduce the bug
1. Create a datasource/query that contains latitude, longitude and datetime values
2. Create a new MapBox chart
3. Fill the"longitude" and "latitude" fields under the query section
4. Press "Run Query"
### Environment
Running on docker
- superset version: 0.36.0
- python version: 3.6.9
- node.js version: 10.20.1
- npm version: 6.14.4
### Checklist
- [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
Below is my docker setup.
```
.
|-- docker
| `-- superset
| |-- Dockerfile
| |-- docker-init.sh (copy of the original docker-init.sh)
| `-- pythonpath_docker
| `-- superset_config_docker.py (currently only has PUBLIC_ROLE_LIKE_GAMMA = True)
`-- superset (clone of the superset repo on tag 0.36)
```
The Dockerfile that I'm using was based on the original provided on the repository root. The only changes that I made was to:
- install the requirements-extra.txt on the superset-py target
- remove the dev target
Section of the docker-compose.yml related to superset:
```
x-superset-app-build: &superset-app-build
context: ../superset
dockerfile: ../docker/superset/Dockerfile
target: lean
x-superset-depends-on: &superset-depends-on
- postgres
- redis
x-superset-volumes: &superset-volumes
- ../superset/docker/docker-init.sh:/app/docker-init.sh
- ./superset/pythonpath_docker:/app/pythonpath_docker
- superset_home:/app/superset_home
x-superset-environment: &superset-environment
DATABASE_DIALECT: postgresql
DATABASE_HOST: postgres
DATABASE_PORT: 5432
DATABASE_USER: ${POSTGRES_SUPERSET_USER}
DATABASE_PASSWORD: ${POSTGRES_SUPERSET_PASSWORD}
DATABASE_DB: ${POSTGRES_SUPERSET_DB}
REDIS_HOST: redis
REDIS_PORT: 6379
SUPERSET_ENV: production
MAPBOX_API_KEY: ${SUPERSET_MAPBOX_API_KEY}
PYTHONPATH: /app/pythonpath:/app/pythonpath_docker
version: "3.7"
services:
superset:
build: *superset-app-build
restart: unless-stopped
environment: *superset-environment
depends_on: *superset-depends-on
volumes: *superset-volumes
ports:
- 8088:8080
networks:
- all
superset-init:
build: *superset-app-build
command: ["/app/docker-init.sh"]
environment: *superset-environment
depends_on: *superset-depends-on
volumes: *superset-volumes
networks:
- all
superset-worker:
build: *superset-app-build
command: ["celery", "worker", "--app=superset.tasks.celery_app:app", "-Ofair"]
restart: unless-stopped
environment: *superset-environment
depends_on: *superset-depends-on
volumes: *superset-volumes
networks:
- all
```
----------------------------------------------------------------
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
[GitHub] [incubator-superset] tiagosousac commented on issue #9718: Problems with mapbox
Posted by GitBox <gi...@apache.org>.
tiagosousac commented on issue #9718:
URL: https://github.com/apache/incubator-superset/issues/9718#issuecomment-625459207
I'm having the exact same problem, although i'm not running on Docker.
I'm running the latest version as well
python version: 3.6.9
node.js version: 12.16.2
npm version: 6.14.4
----------------------------------------------------------------
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
[GitHub] [incubator-superset] vdovychenko commented on issue #9718: Problems with mapbox
Posted by GitBox <gi...@apache.org>.
vdovychenko commented on issue #9718:
URL: https://github.com/apache/incubator-superset/issues/9718#issuecomment-646023490
The same here, works fine with 0.35.2. But fails on 0.36.0
----------------------------------------------------------------
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
[GitHub] [incubator-superset] stale[bot] commented on issue #9718: Problems with mapbox
Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #9718:
URL: https://github.com/apache/incubator-superset/issues/9718#issuecomment-678677936
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the 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.
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
[GitHub] [incubator-superset] robson-gilli commented on issue #9718: Problems with mapbox
Posted by GitBox <gi...@apache.org>.
robson-gilli commented on issue #9718:
URL: https://github.com/apache/incubator-superset/issues/9718#issuecomment-641245483
Same here using docker
----------------------------------------------------------------
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
[GitHub] [incubator-superset] vdovychenko edited a comment on issue #9718: Problems with mapbox
Posted by GitBox <gi...@apache.org>.
vdovychenko edited a comment on issue #9718:
URL: https://github.com/apache/incubator-superset/issues/9718#issuecomment-646023490
The same here, works fine with 0.35.2. But fails on 0.36.0
It freezes in Chart edit mode, but I can view "old" Mapbox charts in Dashboard.
----------------------------------------------------------------
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
[GitHub] [incubator-superset] aspedrosa closed issue #9718: Problems with mapbox
Posted by GitBox <gi...@apache.org>.
aspedrosa closed issue #9718:
URL: https://github.com/apache/incubator-superset/issues/9718
----------------------------------------------------------------
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
[GitHub] [incubator-superset] tiagosousac edited a comment on issue #9718: Problems with mapbox
Posted by GitBox <gi...@apache.org>.
tiagosousac edited a comment on issue #9718:
URL: https://github.com/apache/incubator-superset/issues/9718#issuecomment-625459207
I'm having the exact same problem, although i'm not running on Docker.
I'm running the latest version as well
python version: 3.6.9
node.js version: 12.16.2
npm version: 6.14.4
I can't add or edit mapbox charts, but my previously-created charts that are in some of my dashboards work fine.
----------------------------------------------------------------
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
[GitHub] [incubator-superset] aspedrosa commented on issue #9718: Problems with mapbox
Posted by GitBox <gi...@apache.org>.
aspedrosa commented on issue #9718:
URL: https://github.com/apache/incubator-superset/issues/9718#issuecomment-678795744
After some tests, this seems to be solved in 0.37
----------------------------------------------------------------
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