tonny-skynet opened a new issue, #31579: URL: https://github.com/apache/superset/issues/31579
### Bug description We have a need to export to PDF with map visualizations of the deck.gl Polygon type. Unfortunately, this feature does not work if there is a chart of the deck.gl Polygon type. But for chart types other than deck.gl Polygon, exporting to PDF works. Does Superset not support rendering WebGL-based elements into static formats like PDF? **How to reproduce the bug** 1. Go to dashboard with map visualizations of the deck.gl Polygon type, 2. Select Download > Export to PDF 3. Chart data should be exported to PDF file. ### Screenshots/recordings https://github.com/user-attachments/assets/cf9d211d-50b3-4eb7-a66f-735e632eebbc log superset: ``` Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: HTTPException Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: Traceback (most recent call last): Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: File "/home/superset/venv/lib64/python3.9/site-packages/flask/app.py", line 1484, in full_dispatch_request Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: rv = self.dispatch_request() Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: File "/home/superset/venv/lib64/python3.9/site-packages/flask/app.py", line 1458, in dispatch_request Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: self.raise_routing_exception(req) Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: File "/home/superset/venv/lib64/python3.9/site-packages/flask/app.py", line 1440, in raise_routing_exception Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: raise request.routing_exception # type: ignore Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: File "/home/superset/venv/lib64/python3.9/site-packages/flask/ctx.py", line 353, in match_request Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: result = self.url_adapter.match(return_rule=True) # type: ignore Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: File "/home/superset/venv/lib64/python3.9/site-packages/werkzeug/routing/map.py", line 629, in match Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: raise NotFound() from None Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: HTTPException Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: Traceback (most recent call last): Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: File "/home/superset/venv/lib64/python3.9/site-packages/flask/app.py", line 1484, in full_dispatch_request Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: rv = self.dispatch_request() Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: File "/home/superset/venv/lib64/python3.9/site-packages/flask/app.py", line 1458, in dispatch_request Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: self.raise_routing_exception(req) Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: File "/home/superset/venv/lib64/python3.9/site-packages/flask/app.py", line 1440, in raise_routing_exception Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: raise request.routing_exception # type: ignore Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: File "/home/superset/venv/lib64/python3.9/site-packages/flask/ctx.py", line 353, in match_request Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: result = self.url_adapter.match(return_rule=True) # type: ignore Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: File "/home/superset/venv/lib64/python3.9/site-packages/werkzeug/routing/map.py", line 629, in match Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: raise NotFound() from None Dec 20 14:32:17 ahu-bi-e01.ahu.go.id superset.sh[800977]: werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. ``` ### Superset version 4.0.2 ### Python version 3.9 ### Node version Not applicable ### Browser Chrome ### Additional context _No response_ ### Checklist - [X] I have searched Superset docs and Slack and didn't find a solution to my problem. - [X] I have searched the GitHub issue tracker and didn't find a similar bug report. - [X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- 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]
