vladaman opened a new issue, #22044:
URL: https://github.com/apache/superset/issues/22044

   After clear installation of 2.0.1rc2 and running web interface we get 
numerous NotFound errors.
   
   curl http://localhost:8080/static/assets/images/favicon.png
   ```
   <!DOCTYPE html>
   <html>
     <body>
       <h1>Sorry, something went wrong</h1>
       <h3>500 - Internal Server Error</h3>
       <hr />
       <h2>Stacktrace</h2>
       <hr />
       <code>
         <pre>
           Traceback (most recent call last):
     File 
&#34;/home/ec2-user/venv/lib64/python3.8/site-packages/flask/app.py&#34;, line 
1820, in full_dispatch_request
       rv = self.dispatch_request()
     File 
&#34;/home/ec2-user/venv/lib64/python3.8/site-packages/flask/app.py&#34;, line 
1796, in dispatch_request
       return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
     File 
&#34;/home/ec2-user/venv/lib64/python3.8/site-packages/flask/app.py&#34;, line 
713, in &lt;lambda&gt;
       view_func=lambda **kw: self_ref().send_static_file(**kw),  # type: 
ignore # noqa: B950
     File 
&#34;/home/ec2-user/venv/lib64/python3.8/site-packages/flask/scaffold.py&#34;, 
line 331, in send_static_file
       return send_from_directory(
     File 
&#34;/home/ec2-user/venv/lib64/python3.8/site-packages/flask/helpers.py&#34;, 
line 590, in send_from_directory
       return werkzeug.utils.send_from_directory(  # type: ignore[return-value]
     File 
&#34;/home/ec2-user/venv/lib64/python3.8/site-packages/werkzeug/utils.py&#34;, 
line 586, in send_from_directory
       raise NotFound()
   werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found 
on the server. If you entered the URL manually please check your spelling and 
try again.
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File 
&#34;/home/ec2-user/venv/lib64/python3.8/site-packages/flask/app.py&#34;, line 
2525, in wsgi_app
       response = self.full_dispatch_request()
     File 
&#34;/home/ec2-user/venv/lib64/python3.8/site-packages/flask/app.py&#34;, line 
1822, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File 
&#34;/home/ec2-user/venv/lib64/python3.8/site-packages/flask/app.py&#34;, line 
1666, in handle_user_exception
       return self.handle_http_exception(e)
     File 
&#34;/home/ec2-user/venv/lib64/python3.8/site-packages/flask/app.py&#34;, line 
1606, in handle_http_exception
       return self.ensure_sync(handler)(e)
     File 
&#34;/home/ec2-user/venv/lib64/python3.8/site-packages/superset/views/base.py&#34;,
 line 431, in show_http_exception
       return send_file(path, cache_timeout=0), ex.code
   TypeError: send_file() got an unexpected keyword argument 
&#39;cache_timeout&#39;
   
   ```
   
   #### How to reproduce the bug
   
   1. Install superset 2.0.1rc2
   2. Open web interface
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version:
   - superset version: `2.0.1`
   - python version: `3.8.5`
   - node.js version: `command not found`
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [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
   
   Add any other context about the 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to