Creating documentation for redis transport module fails
See original GitHub issueFollowing page is empty: https://docs.celeryproject.org/projects/kombu/en/master/reference/kombu.transport.redis.html
Should contain documentation of redis transport. Creation of this page fails with following error:
WARNING: autodoc: failed to import module 'redis' from module 'kombu.transport'; the following exception was raised:
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/kombu/envs/latest/lib/python3.7/site-packages/sphinx/ext/autodoc/importer.py", line 70, in import_module
return importlib.import_module(modname)
File "/home/docs/checkouts/readthedocs.org/user_builds/kombu/envs/latest/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/docs/checkouts/readthedocs.org/user_builds/kombu/checkouts/latest/docs/../kombu/transport/redis.py", line 267, in <module>
class PrefixedStrictRedis(GlobalKeyPrefixMixin, redis.Redis):
AttributeError: 'NoneType' object has no attribute 'Redis'
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Redis Transport - Kombu 5.2.4 documentation - Celery
Make sure each queue has an equal opportunity to be consumed from. sorted ( sorted_cycle ). Consume from queues in alphabetical order. If...
Read more >Replica Of Repeatedly Fails | Redis Documentation Center
Diagnostic: A log entry in the Redis log of the source database shows repeated failures and restarts. Cause: The Redis “client-output-buffer- ...
Read more >django - Celery unable to use redis - Stack Overflow
Trying to start Celery first time but issues error as below, i have installed redis and its starting fine , but still somehow...
Read more >Source code for kombu.transport.redis - Celery
"""Redis transport module for Kombu. ... messages to fanout-bound # queues manually. def get_redis_error_classes(): """Return tuple of redis error classes.
Read more >Redis modules API
Redis modules make it possible to extend Redis functionality using external modules, rapidly implementing new Redis commands with features similar to what can ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just had an error like this. I didnt have redis installed.
pip install redis
resolvedI wouldn’t do this silently:
https://github.com/celery/kombu/blob/b183f484de677ad0235758ff3bfdeef9fc7aff52/kombu/transport/redis.py#L78-L81