question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Creating documentation for redis transport module fails

See original GitHub issue

Following 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:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
andrescodascommented, Nov 18, 2021

I just had an error like this. I didnt have redis installed. pip install redis resolved

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found