Error while changing data source in chart
I am getting an error while changing data source in chart after selecting new data source
Expected results
Data source should get changed to chosen source.
Actual results
Message "An error occurred"
Screenshots


Environment
- superset version: 0.30.0
- python version: 3.6.9 `
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
- [ ] 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.
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.82. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Thank you for reporting, yet I'm not able to replicate the issue, please upgrade superset to a newer version and re-test
@dpgaspar: I will re-test it after upgrading it. I installed superset using "pip install superset" but now its changed to "apache-superset", so do I have first uninstall old version? and after upgrading If I am right I have to run "superset db upgrade" then will I loose all my current dashboards? Currently I am using postgres as superset metadata storage (by setting postgres uri in config.py).
@dpgaspar : I tried upgrading using command "pip3 install apache-superset==0.35.1" but after successful installation, I got an error while running "superset version" or "superset db upgrade":
Traceback (most recent call last):
File "/usr/local/bin/superset", line 21, in
Then I tried to install version 0.34 using command "pip3 install apache-superset==0.34.0 and did "db upgrade" but it is still showing version as 0.30.0
Update: Finally I was able to upgrade it to 0.35.1 and ran "db upgrade" and "init" command. 'Logging_configurator' error was due to pip3, only pip should be use to install. But I am still facing the issue of changing data source in chart and this issue is coming only on production server not in staging. Only difference between two setup is that on production we are using "nginx" reverse proxy and "gunicorn" for superset and using "postgres" to store superset metadata instead of default sqllite. Is it due to postgres database?
@betodealmeida @dpgaspar : Any suggestions for this?
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.
I am also facing the same issue. And also I cannot see any logs in the superset. Superset version - 0.35.2
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.
Update: Finally I was able to upgrade it to 0.35.1 and ran "db upgrade" and "init" command. 'Logging_configurator' error was due to pip3, only pip should be use to install. But I am still facing the issue of changing data source in chart and this issue is coming only on production server not in staging. Only difference between two setup is that on production we are using "nginx" reverse proxy and "gunicorn" for superset and using "postgres" to store superset metadata instead of default sqllite. Is it due to postgres database?
Did you find any solution to it? I am still facing the issue in superset 0.36.0
@sedhha : No, I am still facing this issue and haven't find any solution to this.
It is working for me but not all times. I tried with mysql and postgres as metadata store for superset and it is working. This functionality is not working in our production superset server but works in our staging server.
Environment : Server - AWS EC2 - t3.small Docker - amancevice/superset:0.36.0
@TheRum : Were you able to find the cause?
@hemantaggarwal Nope. I tried reproducing but no luck. Also cannot see anything in logs as well.
Also experiencing this consistently - would love a fix!
@Jclevinson on what version of Superset are you on? Have you tried this on master branch?
@villebro I am experiencing this on superset version 0.36.0. Machine: GCP Ubuntu 18.04 LTS
Thanks @sedhha . This seems to be fixed on master branch, so all the more reason to release 0.37.0 as quickly as possible. I will try to push through the last blockers today so we can get the release vote started.
Thanks @sedhha . This seems to be fixed on master branch, so all the more reason to release
0.37.0as quickly as possible. I will try to push through the last blockers today so we can get the release vote started.
Hi @villebro alright awesome! When's it going to release? Are you on that slack channel as well?
The minimum time that the vote will take is 6 days (3 days community vote, 3 days Incubator PMC vote), assuming no problems come up during testing/voting. I'm on that Slack channel, too (#apache-releases), I will post an update there as things progress.