New chart save fails
See original GitHub issueI’m evaluating Superset using the docker-compose quickstart on Linux, cloned from Git. I am unable to create new charts. However, opening an existing chart and saving it (with or without modifications) under a new name does work.
Expected results
Saving a new chart works.
Actual results
The save modal closes silently, but reopening shows the message “Failed to save slice”. No new chart is created. A 500 error appears in the log, but no stack trace is available and the PostgreSQL container’s /var/log/postgres is empty as logging does not seem to be configured.
superset_app | 172.20.0.1 - - [09/Jun/2020 15:05:57] "POST /superset/explore/?action=saveas&slice_name&add_to_dash=noSave&goto_dash=false HTTP/1.1" 500 -
superset_app | INFO:werkzeug:172.20.0.1 - - [09/Jun/2020 15:05:57] "POST /superset/explore/?action=saveas&slice_name&add_to_dash=noSave&goto_dash=false HTTP/1.1" 500 -
Screenshots
How to reproduce the bug
- Create a new chart from the birth names sample set (I’ve seen the problem with both tables and big number/trendlines). In the screenshot below I adjusted the time range and group by and ran the query to validate, but those don’t appear strictly necessary.
- Save the chart, entering a name. The modal closes but nothing else happens.
- Reopen the save modal to see the error message.
Checklist
- I have checked the superset logs for python stacktraces and included it here as text if there are any.
- I have reproduced the issue with at least the latest released version of superset.
- I have checked the issue tracker for the same issue and I haven’t found one similar.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:14
- Comments:6
Top Results From Across the Web
New chart save fails · Issue #10023 · apache/superset - GitHub
The save modal closes silently, but reopening shows the message "Failed to save slice". No new chart is created. A 500 error appears...
Read more >Error when trying to save after inserting a chart template that has
Using Excel 2010 on Windows 7 Enterprise (32 bit), I have created and saved my own chart template that contains two types of...
Read more >Issue in saving chart in Android Studio - Stack Overflow
I have solved the problem by adding a button to my layout which saves the graph when clicked. This makes sure that the...
Read more >Failed to Save Presentation with Charts Containing ...
Currently our only workaround for this error is to not use the charts or the unsupported formular. Which defeats the point of using...
Read more >Chart Installer - Download Fails During the Installation
Restart or reload the download. Close out of the Chart Installer completely and then launch the Chart Installer again from the desktop icon...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue-Label Bot is automatically applying the label
#bug
to this issue, with a confidence of 0.86. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
same this only I had another bug
when we overwrite the slice name the duplicates are created.
I want to stop this duplication.