Skip to content

Instantly share code, notes, and snippets.

@xxott
Created November 28, 2018 20:51
Show Gist options
  • Save xxott/cc6152f82b0fbf501af396b8ad812e91 to your computer and use it in GitHub Desktop.
Save xxott/cc6152f82b0fbf501af396b8ad812e91 to your computer and use it in GitHub Desktop.
tasks]
. UploadExpert.celery.debug_task
. VideoPublish.tasks.GetTitles
[2018-11-28 20:44:18,423: INFO/MainProcess] Connected to redis://localhost:6379//
[2018-11-28 20:44:18,439: INFO/MainProcess] mingle: searching for neighbors
[2018-11-28 20:44:19,447: INFO/MainProcess] mingle: all alone
[2018-11-28 20:44:19,463: WARNING/MainProcess] /Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/celery/fixups/django.py:265: UserWarning: Using settings.DEBUG leads to a memory leak, never use this setting in production environments!
warnings.warn('Using settings.DEBUG leads to a memory leak, never '
[2018-11-28 20:44:19,463: WARNING/MainProcess] celery@jobdone ready.
[2018-11-28 20:47:06,711: ERROR/MainProcess] Unrecoverable error: AttributeError("'str' object has no attribute 'items'",)
Traceback (most recent call last):
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/celery/worker/__init__.py", line 206, in start
self.blueprint.start(self)
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/celery/bootsteps.py", line 123, in start
step.start(parent)
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/celery/bootsteps.py", line 374, in start
return self.obj.start()
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/celery/worker/consumer.py", line 278, in start
blueprint.start(self)
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/celery/bootsteps.py", line 123, in start
step.start(parent)
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/celery/worker/consumer.py", line 821, in start
c.loop(*c.loop_args())
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/celery/worker/loops.py", line 70, in asynloop
next(loop)
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/kombu/async/hub.py", line 340, in create_loop
cb(*cbargs)
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/kombu/transport/redis.py", line 1019, in on_readable
self._callbacks[queue](message)
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/kombu/transport/virtual/__init__.py", line 534, in _callback
self.qos.append(message, message.delivery_tag)
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/kombu/transport/redis.py", line 146, in append
pipe.zadd(self.unacked_index_key, delivery_tag, time()) \
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/redis/client.py", line 2263, in zadd
for pair in iteritems(mapping):
File "/Users/admin/.virtualenvs/pyhton3/lib/python3.6/site-packages/redis/_compat.py", line 123, in iteritems
return iter(x.items())
AttributeError: 'str' object has no attribute 'items'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment