GitHub user dosubot[bot] added a comment to the discussion: Error export a PDF in the GUI
<!-- Answer --> There are a couple of relevant threads and solutions that might help you with the PDF export error in Apache Superset: 1. A similar issue was resolved by addressing a problem with the `dom-to-pdf` module. The fix involved un-bumping the `dom-to-pdf` dependency to resolve missing file warnings, which could be related to the error you're encountering. Updating your Apache Superset to include this fix may resolve the issue <sup>[[1]](https://github.com/apache/superset/blob/master/CHANGELOG/4.0.0.md)</sup>. 2. Regarding the 'Connection refused' error with Celery and Redis, common causes include using SQLite as the database, which has concurrency limitations. Migrating to PostgreSQL is recommended. Additionally, ensure that the `/superset/__init__.py` file includes the necessary configuration for Celery: ```python from celery import app as celery_app __all__ = ['celery_app'] ``` These steps are crucial for proper Celery functionality in Apache Superset <sup>[[2]](https://github.com/apache/superset/discussions/31931)</sup>. For testing the correct configuration of Celery and Redis, ensure that your Redis server is running and accessible, and verify that the Celery configuration in your Superset setup is correct. If the error persists, it might be worth checking the network settings and firewall rules that could be blocking the connection. <!-- 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/fb373716-cac9-49e1-98b5-4ced1b1b1b66?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/fb373716-cac9-49e1-98b5-4ced1b1b1b66?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/fb373716-cac9-49e1-98b5-4ced1b1b1b66?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/fb373716-cac9-49e1-98b5-4ced1b1b1b66?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/fb373716-cac9-49e1-98b5-4ced1b1b1b66?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/fb373716-cac9-49e1-98b5-4ced1b1b1b66?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/fb373716-cac9-49e1-98b5-4ced1b1b1b66?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/32918#discussioncomment-12679406 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
