-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Download(pdf and image) superset dashboard #30866
Comments
@rusackas can you please check on this |
It looks like you're encountering a 404 error when trying to download the Superset dashboard as a PDF or image. This issue often arises because the image is not ready yet when the system attempts to fetch it. The function Common reasons for a screenshot not being ready include the page not being fully loaded, chart containers not rendered, or unexpected errors on the page. Ensuring the page is fully loaded and adjusting wait times for elements to render can help mitigate these issues [2]. In an EC2 environment, make sure you have the necessary configurations and dependencies set up, such as enabling the Since you've already reached out to @rusackas, it might be helpful for them to take a look at this issue as well. |
@rusackas can you please help me on this. I am able to download the charts but when i am downloading the dashboard its not downloading |
@dosu can you please assign some one for the same |
@rusackas can you please help me on this |
Not sure why you're calling me out personally on this one so often... I have no idea, and there's certainly not enough info on this ticket to say if it's a reproducible bug, rather than a config issue. You don't say how you installed Superset, what steps you followed, or where docs fell short. I would join slack and try the |
@rusackas Whenever i ask for help from a maintainer the dosu bot throws your id.. So tagged you here. I have installed superset on EC2 machine and when i am trying to download the dashboard this error is showing in the logs: |
@michael-s-molina can you please help me on this. |
Hi @krishanthvs. Given that this seems like a configuration issue, I can point you to some resources that might help:
|
Hi @michael-s-molina I changed the feature flags true still its showing the same error |
2024-12-06 16:29:49,351:INFO:superset.dashboards.api:Triggering screenshot ASYNC |
@michael-s-molina Its doing download in async. How to do it in sync. |
👆🏼 |
The feature flags should be FALSE not true |
@michael-s-molina I have set this to false. Still getting the same error |
@krishanthvs If the above line is in your logs, it means that there's something wrong with your configuration and the feature flag is not being applied. |
@krishanthvs |
@dosu I have changed the feature flag as suggested by the maintainer. Still getting the same error |
If you're still encountering issues with the feature flags not being applied correctly, here are a few things to check:
If these steps don't resolve the issue, it might be helpful to review the logs for any errors or exceptions that could indicate why the feature flags are not being applied. A maintainer has already been looped in. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@michael-s-molina this the superset_config.py at my end. Is there any error in this setup "DASHBOARD_RBAC": True, DISPLAY_MAX_ROW = 50000 CELERY_TASK_EAGER_PROPAGATES = True |
@michael-s-molina any updates on this |
@sundar68 Reinstall superset with latest pull of git. Its working for me now |
Hi @krishanthvs I experienced a similar issue. Do you have a scrollable table in your dashboard? try removing it and see if it works |
Bug description
2024-11-07 18:31:29,234:INFO:superset.utils.screenshots:Attempting to get from cache: e82a8cd667ff78eb64d379e72b7b77e0
2024-11-07 18:31:29,234:INFO:superset.utils.screenshots:Failed at getting from cache: e82a8cd667ff78eb64d379e72b7b77e0
2024-11-07 18:31:29,241:DEBUG:superset.stats_logger:[stats_logger] (incr) DashboardRestApi.screenshot.warning
2024-11-07 18:31:29,242:DEBUG:superset.stats_logger:[stats_logger] (timing) DashboardRestApi.screenshot.time | 9.657113812863827
2024-11-07 18:31:29,242:INFO:werkzeug:106.51.85.80 - - [07/Nov/2024 18:31:29] "GET /api/v1/dashboard/1/screenshot/e82a8cd667ff78eb64d379e72b7b77e0/?download_format=pdf HTTP/1.1" 404 -
I have installed superset in ec2 machine. I am getting this error in the logs.
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.11
Node version
I don't know
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: