dosubot[bot] commented on issue #31906:
URL: https://github.com/apache/superset/issues/31906#issuecomment-2598554466

   <!-- Answer -->
   The issue you're experiencing with the 'Save as Image' or 'Save as PDF' 
functionality for dashboards might be related to a specific part of the 
Superset codebase that handles these operations. The frontend component 
responsible for this is the `DownloadScreenshot` function located in 
`superset-frontend/src/dashboard/components/menu/DownloadMenuItems/DownloadScreenshot.tsx`.
 On the backend, the `DashboardScreenshot` class in 
`superset/utils/screenshots.py` manages the screenshot capturing process 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/components/menu/DownloadMenuItems/DownloadScreenshot.tsx)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/superset/utils/screenshots.py)</sup>.
   
   Given that your configuration for Postgres is correct for other operations, 
it's possible that there might be a misconfiguration or a fallback mechanism 
specifically affecting the dashboard export feature. Unfortunately, I couldn't 
find specific documentation or comments in the codebase that mention known 
issues or special handling for database connections during image or PDF 
generation. It might be worth checking if there are any environment variables 
or specific configurations that could be affecting this feature.
   
   Additionally, there is a known issue related to database selection during 
dashboard export operations, described as "Volatile datasource ordering in 
dashboard export" 
<sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/CHANGELOG.md)</sup>.
 This might be related to your problem, so reviewing any recent changes or 
patches in the Superset codebase related to this functionality could provide 
further insights.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/b729fb6a-cba5-44f4-97a9-5ea40d0d8e84?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/b729fb6a-cba5-44f4-97a9-5ea40d0d8e84?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/b729fb6a-cba5-44f4-97a9-5ea40d0d8e84?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/b729fb6a-cba5-44f4-97a9-5ea40d0d8e84?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/b729fb6a-cba5-44f4-97a9-5ea40d0d8e84?feedback_type=hallucination)
 | 
[Other](https://app.dosu.dev/response-feedback/b729fb6a-cba5-44f4-97a9-5ea40d0d8e84?feedback_type=other)</sup>
   


-- 
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