You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "lilotter45 (via GitHub)" <gi...@apache.org> on 2025/09/02 22:07:16 UTC

Re: [I] Dashboard download cuts off charts in exported PDF/PNG for large dashboards [superset]

lilotter45 commented on issue #31158:
URL: https://github.com/apache/superset/issues/31158#issuecomment-3246941523

   I've also run into this issue on Superset 4.1.2 and 5.0.0. It affects both manual dashboard downloads and scheduled/emailed reports and both pdf and png file types. When emailing reports I have tried it with `Ignore cache when generating report` enabled and disabled. This is more noticeable with the emailed reports because it seems that rather than loading only a portion of the report and screenshotting the loading icon for the remainder, only a blank image/pdf is sent.
   
   - For the 4.1.2 instance: Playwright is not enabled and the browser is chromium (for emailed reports). 
   - For the 5.0.0. instance: Playwright is enabled, chromium is installed as the headless browser, and `DASHBOARD_VIRTUALIZATION` has been tried both enabled and disabled without a difference.
   - When manually downloading the reports, only those charts currently on screen, or those slightly beyond, include their data, the remainder appear with the loading icon.
   - When emailing reports, a blank pdf or image is sent; there are not even placeholders for the charts.
   - It takes about 20 seconds for the dashboard I tested this with to load when manually opened; when the scheduled report runs, it also takes about 20 seconds to execute (21 seconds, to be exact; based on the logs), so it seems to be waiting long enough to load the dashboard.
   - I have attempted to discern if opening the dashboard impacts the emailed reports and this doesn't appear to be the case, unless the cache is not ignored.
   - On the same instances displaying this behavior, if you email a smaller report, e.g. a single chart, the pdf/image are generated as expected.
   
   PS - I looked at all of the issues listed in https://github.com/apache/superset/issues/31158#issuecomment-2957568579 and it seems all are reporting a similar issue, but this seems to be the most recently active.


-- 
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-unsubscribe@superset.apache.org

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


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