Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

result_backend config option doesn't work in .ini file #78

Open
ab5y opened this issue May 26, 2020 · 1 comment
Open

result_backend config option doesn't work in .ini file #78

ab5y opened this issue May 26, 2020 · 1 comment

Comments

@ab5y
Copy link

ab5y commented May 26, 2020

Pyramid 1.10.4
Celery 4.4.2
pyramid_celery 3.0.0
Python 3.6.9

I was trying to specify my celery result_backend using the .ini file. But it just wouldn't work. Kept getting results: disabled://.
Moving the config to celeryconfig.py with USE_CELERYCONFIG = True fixed the issue for me, but thought this might still be something to look into, as expected behaviour might be for it to work either way.

Thank you,

@jascoul
Copy link

jascoul commented Nov 9, 2023

Pyramid 2.0.2
Celery 5.3.4
pyramid_celery 4.0.0
Python 3.10.12

Specifying the result_backend option worked for me. Maybe this is fixed and the issue can be closed?

I was getting AttributeError: 'DisabledBackend' object has no attribute '_get_task_meta_for' from Celery, and solved it by adding result_backend = rpc://

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants