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

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. Go to Dashboards.
   2. Click on Export in front of any dashboard
   3. See error
   
   ### Expected results
   
   A file dialog box should open allowing to select the path where to save the 
exported zip file.
   
   ### Actual results
   
   The file dialog box is not show. Rather a busy cursor animation in form of 
superset logo keeps showing in middle of screen as shown in screen shot
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   
![image](https://user-images.githubusercontent.com/127753287/224710866-88386f10-1fbb-4679-8702-6febaac72549.png)
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Google Chrome Version 110.0.5481.178 (Official 
Build) (64-bit)
   - superset version: Superset 2.0.1
   - python version: Python 3.10.6
   - node.js version: v16.19.1
   - any feature flags active:   "ALERT_REPORTS": True,
                                              "VERSIONED_EXPORT": True
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ Y ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
       
   2023-03-13 18:01:51,088:ERROR:root:send_file() got an unexpected keyword 
argument 'attachment_filename'
   Traceback (most recent call last):
     File 
"/home/addo/superset/lib/python3.8/site-packages/flask_appbuilder/api/__init__.py",
 line 109, in wraps
       return f(self, *args, **kwargs)
     File 
"/home/addo/superset/lib/python3.8/site-packages/superset/views/base_api.py", 
line 113, in wraps
       raise ex
     File 
"/home/addo/superset/lib/python3.8/site-packages/superset/views/base_api.py", 
line 110, in wraps
       duration, response = time_function(f, self, *args, **kwargs)
     File 
"/home/addo/superset/lib/python3.8/site-packages/superset/utils/core.py", line 
1524, in time_function
       response = func(*args, **kwargs)
     File 
"/home/addo/superset/lib/python3.8/site-packages/flask_appbuilder/api/__init__.py",
 line 181, in wraps
       return f(self, *args, **kwargs)
     File 
"/home/addo/superset/lib/python3.8/site-packages/superset/utils/log.py", line 
245, in wrapper
       value = f(*args, **kwargs)
     File 
"/home/addo/superset/lib/python3.8/site-packages/superset/dashboards/api.py", 
line 783, in export
       response = send_file(
   TypeError: send_file() got an unexpected keyword argument 
'attachment_filename'
   2023-03-13 18:01:51,106:INFO:werkzeug:192.168.1.120 - - [13/Mar/2023 
18:01:51] "GET /api/v1/dashboard/export/?q=!(17)&token=QKK3jmi-C HTTP/1.1" 500 -
   
   
   
   - [Y ] I have reproduced the issue with at least the latest released version 
of superset.
   - 
   - [Y ] 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: notifications-unsubscr...@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to