Skip to content

Conversation

@mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Aug 5, 2024

closes #29708

related error in docker-compose:

superset_worker       | The full contents of the message headers:
superset_worker       | {'lang': 'py', 'task': 'reports.scheduler', 'id': 'b150a39b-57bb-4a58-9556-cc7d1a47132a', 'shadow': None, 'eta': None, 'expires': None, 'group': None, 'group_index': None, 'retries': 0, 'tim
elimit': [None, None], 'root_id': 'b150a39b-57bb-4a58-9556-cc7d1a47132a', 'parent_id': None, 'argsrepr': '()', 'kwargsrepr': '{}', 'origin': 'gen8@daf2692c865a', 'ignore_result': False, 'replaced_task_nesting': 0,
'stamped_headers': None, 'stamps': {}}
superset_worker       |
superset_worker       | The delivery info for this task is:
superset_worker       | {'exchange': '', 'routing_key': 'celery'}
superset_worker       | Traceback (most recent call last):
superset_worker       |   File "/usr/local/lib/python3.10/site-packages/celery/worker/consumer/consumer.py", line 659, in on_task_received
superset_worker       |     strategy = strategies[type_]
superset_worker       | KeyError: 'reports.scheduler'

I confirmed that this issue is gone after applying this fix and re-running docker-compose up

closes #29708

About the change in `superset/utils/json.py`, I was somehow getting a pre-commit hook to trigger
@pull-request-size pull-request-size bot added size/S and removed size/XS labels Aug 5, 2024
@mistercrunch mistercrunch merged commit 9fed576 into master Aug 5, 2024
@mistercrunch mistercrunch deleted the fix_29708 branch August 5, 2024 22:46
@sadpandajoe
Copy link
Member

@supersetbot label 4.1

@github-actions github-actions bot added the v4.1 Label added by the release manager to track PRs to be included in the 4.1 branch label Aug 5, 2024
WanjohiWanjohi pushed a commit to IDinsight/surveystream_superset_source that referenced this pull request Aug 6, 2024
sadpandajoe pushed a commit that referenced this pull request Aug 13, 2024
@github-actions github-actions bot added 🍒 4.1.0 Cherry-picked to 4.1.0 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels labels Nov 14, 2024
@mistercrunch mistercrunch added the 🍒 4.1.1 Cherry-picked to 4.1.1 label Nov 27, 2024
@github-actions github-actions bot added the 🍒 4.1.2 Cherry-picked to 4.1.2 label Apr 1, 2025
@mistercrunch mistercrunch added 🍒 4.1.3 Cherry-picked to 4.1.3 🚢 5.0.0 First shipped in 5.0.0 labels Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels change:backend Requires changing the backend closes-issue preset-io size/S v4.1 Label added by the release manager to track PRs to be included in the 4.1 branch 🍒 4.1.0 Cherry-picked to 4.1.0 🍒 4.1.1 Cherry-picked to 4.1.1 🍒 4.1.2 Cherry-picked to 4.1.2 🍒 4.1.3 Cherry-picked to 4.1.3 🍒 4.1.4 🚢 5.0.0 First shipped in 5.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4.1.0rc1 celery issue - Received unregistered task of type 'reports.scheduler'.

3 participants