<p dir="auto">I'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.</p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">Saving a new chart works.</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">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.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="superset_app             | 172.20.0.1 - - [09/Jun/2020 15:05:57] &quot;POST /superset/explore/?action=saveas&amp;slice_name&amp;add_to_dash=noSave&amp;goto_dash=false HTTP/1.1&quot; 500 -
superset_app             | INFO:werkzeug:172.20.0.1 - - [09/Jun/2020 15:05:57] &quot;POST /superset/explore/?action=saveas&amp;slice_name&amp;add_to_dash=noSave&amp;goto_dash=false HTTP/1.1&quot; 500 -"><pre class="notranslate"><code class="notranslate">superset_app             | 172.20.0.1 - - [09/Jun/2020 15:05:57] "POST /superset/explore/?action=saveas&amp;slice_name&amp;add_to_dash=noSave&amp;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&amp;slice_name&amp;add_to_dash=noSave&amp;goto_dash=false HTTP/1.1" 500 -
</code></pre></div>
<h4 dir="auto">Screenshots</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3075455/84163665-be43d700-aa3f-11ea-8f90-d404929c8214.png"><img src="https://user-images.githubusercontent.com/3075455/84163665-be43d700-aa3f-11ea-8f90-d404929c8214.png" alt="1591714567" style="max-width: 100%;"></a></p>
<h4 dir="auto">How to reproduce the bug</h4>
<ol dir="auto">
<li>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.</li>
<li>Save the chart, entering a name. The modal closes but nothing else happens.</li>
<li>Reopen the save modal to see the error message.</li>
</ol>
<h3 dir="auto">Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the superset logs for python stacktraces and included it here as text if there are any.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have reproduced the issue with at least the latest released version of superset.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar.</li>
</ul>
<p dir="auto">Currently, we can only create a chart from scratch, instead of modifying it based on an existing chart。</p>