celery / kombu

Messaging library for Python.
http://kombu.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
2.81k stars 920 forks source link

ValueError('not enough values to unpack (expected 3, got 1)') #2023

Open jonathan-anyword opened 3 weeks ago

jonathan-anyword commented 3 weeks ago

Hi, Recently I started getting the error. I'm not familiar with kombu's data structure and I'm not sure how we getting into this situation. Can someone direct me what I can check or test?

kombu/transport/virtual/exchange.py in at line 67

  def lookup(self, table, exchange, routing_key, default):
        return {
            queue for rkey, _, queue in table
            if rkey == routing_key
        }

Vars values:

default | None
exchange | "reply.celery.pidbox"
routing_key | "766541f1-fa51-3699-9303-50e4fa087f6e"
self | <kombu.transport.virtual.exchange.DirectExchange object at 0x7fa00c4b27f0>
table | [["766541f1-fa51-3699-9303-50e4fa087f6e\x06\x16\x06\x16766541f1-fa51-3699-9303-50e4fa087f6e.reply.celery.pidbox"]]

kombu 5.3.7 celery 5.4.0

Thanks