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

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. Go to '.Data ..'
   2. Click on '.Databases...'
   3. Scroll down to '....'  Trying to list database
   4. See error
   perset_app            | 81.220.237.14 - - [08/Jun/2022:20:04:52 +0000] "GET 
/static/assets/images/filter-results.svg HTTP/1.1" 404 0 
"https://superset.kdinh.fr/databaseview/list/?pageIndex=0&sortColumn=expose_in_sqllab&sortOrder=desc";
 "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 
Firefox/101.0"
   superset_app            | 81.220.237.14 - - [08/Jun/2022:20:04:54 +0000] 
"GET 
/api/v1/database/?q=(order_column:expose_in_sqllab,order_direction:asc,page:0,page_size:25)
 HTTP/1.1" 200 529 
"https://superset.kdinh.fr/databaseview/list/?pageIndex=0&sortColumn=expose_in_sqllab&sortOrder=asc";
 "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 
Firefox/101.0"
   superset_app            | HTTPException
   superset_app            | Traceback (most recent call last):
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/flask/app.py", line 1516, in 
full_dispatch_request
   superset_app            |     rv = self.dispatch_request()
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/flask/app.py", line 1502, in 
dispatch_request
   superset_app            |     return 
self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/flask/app.py", line 515, in <lambda>
   superset_app            |     view_func=lambda **kw: 
self_ref().send_static_file(**kw),  # type: ignore # noqa: B950
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/flask/scaffold.py", line 332, in 
send_static_file
   superset_app            |     return send_from_directory(
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/flask/helpers.py", line 700, in 
send_from_directory
   superset_app            |     return werkzeug.utils.send_from_directory(  # 
type: ignore
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/werkzeug/utils.py", line 847, in 
send_from_directory
   superset_app            |     raise NotFound()
   superset_app            | 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.
   superset_app            | 2022-06-08 
20:04:54,173:WARNING:superset.views.base:HTTPException
   superset_app            | Traceback (most recent call last):
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/flask/app.py", line 1516, in 
full_dispatch_request
   superset_app            |     rv = self.dispatch_request()
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/flask/app.py", line 1502, in 
dispatch_request
   superset_app            |     return 
self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/flask/app.py", line 515, in <lambda>
   superset_app            |     view_func=lambda **kw: 
self_ref().send_static_file(**kw),  # type: ignore # noqa: B950
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/flask/scaffold.py", line 332, in 
send_static_file
   superset_app            |     return send_from_directory(
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/flask/helpers.py", line 700, in 
send_from_directory
   superset_app            |     return werkzeug.utils.send_from_directory(  # 
type: ignore
   superset_app            |   File 
"/usr/local/lib/python3.8/site-packages/werkzeug/utils.py", line 847, in 
send_from_directory
   superset_app            |     raise NotFound()
   superset_app            | 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.
   
   ### Expected results
   
   what you expected to happen.
   It should list database defined
   ### Actual results
   
   no databases listed
   what actually happens.
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version:
   - superset version: `superset version`
   - python version: `python --version`
   - node.js version: `node -v`
   - any feature flags active:
   
   ### Checklist
   
   Make sure to follow these steps 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.
   - [ ] 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.
   
   ### 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