superset icon indicating copy to clipboard operation
superset copied to clipboard

Export Dashboard doesn't work

Open ponomar opened this issue 9 years ago • 8 comments

Version 0.20.4 (the latest) It's just reloading the page and nothing happens after.

Hot fix

# superset/views/core.py

- '/dashboardmodelview/export_dashboards_form?{}'
+ '/dashboardmodelview/export_dashboards_form?action=go&{}'

ponomar avatar Oct 12 '17 07:10 ponomar

Hello ponomar,

i encountered this issue and changed core.py like you suggested. But the problem persists, when exporting a dashboard with a slice that's a map, or a table for example, the webpage just refreshes. Is it specific to the type of slice that I'm trying to export ? Is there an error log somewhere that is created ? Is this feature working on your end ?

If this feature isn't currently working, could you tell me what is the difficulty of implementing it ? The superset version that i have is 0.20.4,

Thank you very much for your help and your time ! Nam

nam147 avatar Oct 25 '17 14:10 nam147

A page is intercepted by the browser ,you can use the Edge of win10,then you can download the dashboard file,and its suffix name is .pickle

liuzn4ever avatar Nov 18 '17 04:11 liuzn4ever

ponomar's hotfix worked for me. the problem still exsits in the current superset version. @ponomar any plan's to create a pull request for that?

patrick-michelberger avatar Dec 08 '17 10:12 patrick-michelberger

Turn off your popup blockers

mistercrunch avatar Dec 08 '17 17:12 mistercrunch

you can follow this steps https://www.asus.com/us/support/FAQ/1007483/ to turn off your pop up blockers, and in the meanwhile, you should set your config.py

# Add endpoints that need to be exempt from CSRF protection
WTF_CSRF_EXEMPT_LIST = ['http://localhost:8080']

yamyamyuo avatar Mar 05 '18 09:03 yamyamyuo

Enabling the popup solved this issue.

But exporting a table as a csv works without enabling the popups. Exporting dashboards should also work this way.

Jujubre avatar Jul 10 '18 15:07 Jujubre

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Apr 10 '19 18:04 stale[bot]

Enabling the popup solved this issue.

But exporting a table as a csv works without enabling the popups. Exporting dashboards should also work this way.

Same, it doesn't work

DungLai avatar Jan 22 '20 05:01 DungLai