You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "lwandrebeck (via GitHub)" <gi...@apache.org> on 2024/09/09 08:08:57 UTC

Re: [PR] refactor(Dashboard): Fetch dashboard screenshot via dedicated endpoint [superset]

lwandrebeck commented on PR #29272:
URL: https://github.com/apache/superset/pull/29272#issuecomment-2337419342

   Hi there.
   Hitting #29719 too, I’ve updated to 4.1.0rc2. When exporting as PDF, I now get 
   ![image](https://github.com/user-attachments/assets/0693c2d4-abf3-49d1-920b-bd457a8bce54)
   (dis)appearing several times, but I never get the PDF output.
   
   Python 3.11.7 venv on Rocky Linux 9.4 x86_64, backend is PostgreSQL 16.4 through pgbouncer 1.23.1 (coming from PGDG repo) using `pool_mode=session`.
   I do lack logs, the only thing I have is:
   ```
   Sep 09 07:53:28 superset gunicorn[2297879]:     df = self.database.get_df(
   Sep 09 07:53:28 superset gunicorn[2297879]:          ^^^^^^^^^^^^^^^^^^^^^
   Sep 09 07:53:28 superset gunicorn[2297879]:   File "/home/ZZZ/superset_3.11/lib64/python3.11/site-packages/superset/models/core.py", line 677, in get_df
   Sep 09 07:53:28 superset gunicorn[2297879]:     self.db_engine_spec.execute(cursor, sql_, self)
   Sep 09 07:53:28 superset gunicorn[2297879]:   File "/home/ZZZ/superset_3.11/lib64/python3.11/site-packages/superset/db_engine_specs/base.py", line 1835, in execute
   Sep 09 07:53:28 superset gunicorn[2297879]:     raise cls.get_dbapi_mapped_exception(ex) from ex
   Sep 09 07:53:28 superset gunicorn[2297879]:   File "/home/ZZZ/superset_3.11/lib64/python3.11/site-packages/superset/db_engine_specs/base.py", line 1831, in execute
   Sep 09 07:53:28 superset gunicorn[2297879]:     cursor.execute(query)
   Sep 09 07:53:28 superset gunicorn[2297879]: psycopg2.errors.DivisionByZero: division by zero
   Sep 09 07:55:44 superset gunicorn[2297879]: 2024-09-09 07:55:44,224:INFO:superset.dashboards.api:Triggering screenshot ASYNC
   ```
   Trying to dig deeper and have proper logs. If anyone has a clue, I can give it a try.
   Thanks !


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